diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index d33ae6666569..05bc9dc9ec2a 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -46,6 +46,16 @@ const ( AuthorizationTypeRBAC AuthorizationType = original.AuthorizationTypeRBAC ) +type AvroCompressionCodec = original.AvroCompressionCodec + +const ( + Bzip2 AvroCompressionCodec = original.Bzip2 + Deflate AvroCompressionCodec = original.Deflate + None AvroCompressionCodec = original.None + Snappy AvroCompressionCodec = original.Snappy + Xz AvroCompressionCodec = original.Xz +) + type AzureFunctionActivityMethod = original.AzureFunctionActivityMethod const ( @@ -140,6 +150,16 @@ const ( OnPremisesWithIfd DynamicsDeploymentType = original.OnPremisesWithIfd ) +type EventSubscriptionStatus = original.EventSubscriptionStatus + +const ( + Deprovisioning EventSubscriptionStatus = original.Deprovisioning + Disabled EventSubscriptionStatus = original.Disabled + Enabled EventSubscriptionStatus = original.Enabled + Provisioning EventSubscriptionStatus = original.Provisioning + Unknown EventSubscriptionStatus = original.Unknown +) + type FtpAuthenticationType = original.FtpAuthenticationType const ( @@ -171,9 +191,9 @@ const ( type HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOption const ( - Always HDInsightActivityDebugInfoOption = original.Always - Failure HDInsightActivityDebugInfoOption = original.Failure - None HDInsightActivityDebugInfoOption = original.None + HDInsightActivityDebugInfoOptionAlways HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOptionAlways + HDInsightActivityDebugInfoOptionFailure HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOptionFailure + HDInsightActivityDebugInfoOptionNone HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOptionNone ) type HTTPAuthenticationType = original.HTTPAuthenticationType @@ -301,6 +321,13 @@ const ( IntegrationRuntimeUpdateResultSucceed IntegrationRuntimeUpdateResult = original.IntegrationRuntimeUpdateResultSucceed ) +type JSONWriteFilePattern = original.JSONWriteFilePattern + +const ( + ArrayOfObjects JSONWriteFilePattern = original.ArrayOfObjects + SetOfObjects JSONWriteFilePattern = original.SetOfObjects +) + type ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatus const ( @@ -603,9 +630,9 @@ const ( type TriggerRuntimeState = original.TriggerRuntimeState const ( - Disabled TriggerRuntimeState = original.Disabled - Started TriggerRuntimeState = original.Started - Stopped TriggerRuntimeState = original.Stopped + TriggerRuntimeStateDisabled TriggerRuntimeState = original.TriggerRuntimeStateDisabled + TriggerRuntimeStateStarted TriggerRuntimeState = original.TriggerRuntimeStateStarted + TriggerRuntimeStateStopped TriggerRuntimeState = original.TriggerRuntimeStateStopped ) type TumblingWindowFrequency = original.TumblingWindowFrequency @@ -665,9 +692,11 @@ const ( type TypeBasicCopySink = original.TypeBasicCopySink const ( + TypeAvroSink TypeBasicCopySink = original.TypeAvroSink TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink + TypeAzureMySQLSink TypeBasicCopySink = original.TypeAzureMySQLSink TypeAzurePostgreSQLSink TypeBasicCopySink = original.TypeAzurePostgreSQLSink TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink @@ -684,6 +713,7 @@ const ( TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink TypeInformixSink TypeBasicCopySink = original.TypeInformixSink + TypeJSONSink TypeBasicCopySink = original.TypeJSONSink TypeMicrosoftAccessSink TypeBasicCopySink = original.TypeMicrosoftAccessSink TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink TypeOracleSink TypeBasicCopySink = original.TypeOracleSink @@ -702,9 +732,11 @@ type TypeBasicCopySource = original.TypeBasicCopySource const ( TypeAmazonMWSSource TypeBasicCopySource = original.TypeAmazonMWSSource TypeAmazonRedshiftSource TypeBasicCopySource = original.TypeAmazonRedshiftSource + TypeAvroSource TypeBasicCopySource = original.TypeAvroSource TypeAzureBlobFSSource TypeBasicCopySource = original.TypeAzureBlobFSSource TypeAzureDataExplorerSource TypeBasicCopySource = original.TypeAzureDataExplorerSource TypeAzureDataLakeStoreSource TypeBasicCopySource = original.TypeAzureDataLakeStoreSource + TypeAzureMariaDBSource TypeBasicCopySource = original.TypeAzureMariaDBSource TypeAzureMySQLSource TypeBasicCopySource = original.TypeAzureMySQLSource TypeAzurePostgreSQLSource TypeBasicCopySource = original.TypeAzurePostgreSQLSource TypeAzureSQLSource TypeBasicCopySource = original.TypeAzureSQLSource @@ -737,6 +769,7 @@ const ( TypeImpalaSource TypeBasicCopySource = original.TypeImpalaSource TypeInformixSource TypeBasicCopySource = original.TypeInformixSource TypeJiraSource TypeBasicCopySource = original.TypeJiraSource + TypeJSONSource TypeBasicCopySource = original.TypeJSONSource TypeMagentoSource TypeBasicCopySource = original.TypeMagentoSource TypeMariaDBSource TypeBasicCopySource = original.TypeMariaDBSource TypeMarketoSource TypeBasicCopySource = original.TypeMarketoSource @@ -762,6 +795,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 @@ -776,6 +810,7 @@ const ( TypeSQLSource TypeBasicCopySource = original.TypeSQLSource TypeSquareSource TypeBasicCopySource = original.TypeSquareSource TypeSybaseSource TypeBasicCopySource = original.TypeSybaseSource + TypeTabularSource TypeBasicCopySource = original.TypeTabularSource TypeTeradataSource TypeBasicCopySource = original.TypeTeradataSource TypeVerticaSource TypeBasicCopySource = original.TypeVerticaSource TypeWebSource TypeBasicCopySource = original.TypeWebSource @@ -787,11 +822,14 @@ type TypeBasicDataset = original.TypeBasicDataset const ( TypeAmazonMWSObject TypeBasicDataset = original.TypeAmazonMWSObject + TypeAmazonRedshiftTable TypeBasicDataset = original.TypeAmazonRedshiftTable TypeAmazonS3Object TypeBasicDataset = original.TypeAmazonS3Object + TypeAvro TypeBasicDataset = original.TypeAvro TypeAzureBlob TypeBasicDataset = original.TypeAzureBlob TypeAzureBlobFSFile TypeBasicDataset = original.TypeAzureBlobFSFile TypeAzureDataExplorerTable TypeBasicDataset = original.TypeAzureDataExplorerTable TypeAzureDataLakeStoreFile TypeBasicDataset = original.TypeAzureDataLakeStoreFile + TypeAzureMariaDBTable TypeBasicDataset = original.TypeAzureMariaDBTable TypeAzureMySQLTable TypeBasicDataset = original.TypeAzureMySQLTable TypeAzurePostgreSQLTable TypeBasicDataset = original.TypeAzurePostgreSQLTable TypeAzureSearchIndex TypeBasicDataset = original.TypeAzureSearchIndex @@ -807,6 +845,7 @@ const ( TypeCouchbaseTable TypeBasicDataset = original.TypeCouchbaseTable TypeCustomDataset TypeBasicDataset = original.TypeCustomDataset TypeDataset TypeBasicDataset = original.TypeDataset + TypeDb2Table TypeBasicDataset = original.TypeDb2Table TypeDelimitedText TypeBasicDataset = original.TypeDelimitedText TypeDocumentDbCollection TypeBasicDataset = original.TypeDocumentDbCollection TypeDrillTable TypeBasicDataset = original.TypeDrillTable @@ -825,6 +864,7 @@ const ( TypeImpalaObject TypeBasicDataset = original.TypeImpalaObject TypeInformixTable TypeBasicDataset = original.TypeInformixTable TypeJiraObject TypeBasicDataset = original.TypeJiraObject + TypeJSON TypeBasicDataset = original.TypeJSON TypeMagentoObject TypeBasicDataset = original.TypeMagentoObject TypeMariaDBTable TypeBasicDataset = original.TypeMariaDBTable TypeMarketoObject TypeBasicDataset = original.TypeMarketoObject @@ -850,6 +890,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 +901,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 @@ -936,6 +978,7 @@ const ( TypeAzureDataLakeStore TypeBasicLinkedService = original.TypeAzureDataLakeStore TypeAzureFunction TypeBasicLinkedService = original.TypeAzureFunction TypeAzureKeyVault TypeBasicLinkedService = original.TypeAzureKeyVault + TypeAzureMariaDB TypeBasicLinkedService = original.TypeAzureMariaDB TypeAzureML TypeBasicLinkedService = original.TypeAzureML TypeAzureMySQL TypeBasicLinkedService = original.TypeAzureMySQL TypeAzurePostgreSQL TypeBasicLinkedService = original.TypeAzurePostgreSQL @@ -1027,6 +1070,16 @@ const ( TypeSsisObjectMetadata TypeBasicSsisObjectMetadata = original.TypeSsisObjectMetadata ) +type TypeBasicStoreWriteSettings = original.TypeBasicStoreWriteSettings + +const ( + TypeAzureBlobFSWriteSettings TypeBasicStoreWriteSettings = original.TypeAzureBlobFSWriteSettings + TypeAzureBlobStorageWriteSettings TypeBasicStoreWriteSettings = original.TypeAzureBlobStorageWriteSettings + TypeAzureDataLakeStoreWriteSettings TypeBasicStoreWriteSettings = original.TypeAzureDataLakeStoreWriteSettings + TypeFileServerWriteSettings TypeBasicStoreWriteSettings = original.TypeFileServerWriteSettings + TypeStoreWriteSettings TypeBasicStoreWriteSettings = original.TypeStoreWriteSettings +) + type TypeBasicTrigger = original.TypeBasicTrigger const ( @@ -1076,6 +1129,8 @@ type AmazonMWSSource = original.AmazonMWSSource type AmazonRedshiftLinkedService = original.AmazonRedshiftLinkedService type AmazonRedshiftLinkedServiceTypeProperties = original.AmazonRedshiftLinkedServiceTypeProperties type AmazonRedshiftSource = original.AmazonRedshiftSource +type AmazonRedshiftTableDataset = original.AmazonRedshiftTableDataset +type AmazonRedshiftTableDatasetTypeProperties = original.AmazonRedshiftTableDatasetTypeProperties type AmazonS3Dataset = original.AmazonS3Dataset type AmazonS3DatasetTypeProperties = original.AmazonS3DatasetTypeProperties type AmazonS3LinkedService = original.AmazonS3LinkedService @@ -1084,7 +1139,12 @@ type AmazonS3Location = original.AmazonS3Location type AmazonS3ReadSettings = original.AmazonS3ReadSettings type AppendVariableActivity = original.AppendVariableActivity type AppendVariableActivityTypeProperties = original.AppendVariableActivityTypeProperties +type AvroDataset = original.AvroDataset +type AvroDatasetTypeProperties = original.AvroDatasetTypeProperties type AvroFormat = original.AvroFormat +type AvroSink = original.AvroSink +type AvroSource = original.AvroSource +type AvroWriteSettings = original.AvroWriteSettings type AzureBatchLinkedService = original.AzureBatchLinkedService type AzureBatchLinkedServiceTypeProperties = original.AzureBatchLinkedServiceTypeProperties type AzureBlobDataset = original.AzureBlobDataset @@ -1138,8 +1198,13 @@ type AzureMLLinkedServiceTypeProperties = original.AzureMLLinkedServiceTypePrope type AzureMLUpdateResourceActivity = original.AzureMLUpdateResourceActivity type AzureMLUpdateResourceActivityTypeProperties = original.AzureMLUpdateResourceActivityTypeProperties type AzureMLWebServiceFile = original.AzureMLWebServiceFile +type AzureMariaDBLinkedService = original.AzureMariaDBLinkedService +type AzureMariaDBLinkedServiceTypeProperties = original.AzureMariaDBLinkedServiceTypeProperties +type AzureMariaDBSource = original.AzureMariaDBSource +type AzureMariaDBTableDataset = original.AzureMariaDBTableDataset type AzureMySQLLinkedService = original.AzureMySQLLinkedService type AzureMySQLLinkedServiceTypeProperties = original.AzureMySQLLinkedServiceTypeProperties +type AzureMySQLSink = original.AzureMySQLSink type AzureMySQLSource = original.AzureMySQLSource type AzureMySQLTableDataset = original.AzureMySQLTableDataset type AzureMySQLTableDatasetTypeProperties = original.AzureMySQLTableDatasetTypeProperties @@ -1194,6 +1259,8 @@ type BasicLinkedService = original.BasicLinkedService type BasicMultiplePipelineTrigger = original.BasicMultiplePipelineTrigger type BasicSecretBase = original.BasicSecretBase type BasicSsisObjectMetadata = original.BasicSsisObjectMetadata +type BasicStoreWriteSettings = original.BasicStoreWriteSettings +type BasicTabularSource = original.BasicTabularSource type BasicTrigger = original.BasicTrigger type BasicTriggerDependencyReference = original.BasicTriggerDependencyReference type BasicWebLinkedServiceTypeProperties = original.BasicWebLinkedServiceTypeProperties @@ -1274,6 +1341,8 @@ type DatasetsClient = original.DatasetsClient type Db2LinkedService = original.Db2LinkedService type Db2LinkedServiceTypeProperties = original.Db2LinkedServiceTypeProperties type Db2Source = original.Db2Source +type Db2TableDataset = original.Db2TableDataset +type Db2TableDatasetTypeProperties = original.Db2TableDatasetTypeProperties type DeleteActivity = original.DeleteActivity type DeleteActivityTypeProperties = original.DeleteActivityTypeProperties type DelimitedTextDataset = original.DelimitedTextDataset @@ -1288,6 +1357,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 +1434,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 +1474,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 +1485,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 @@ -1449,7 +1523,12 @@ type IntegrationRuntimeVNetProperties = original.IntegrationRuntimeVNetPropertie type IntegrationRuntimesClient = original.IntegrationRuntimesClient type IntegrationRuntimesStartFuture = original.IntegrationRuntimesStartFuture type IntegrationRuntimesStopFuture = original.IntegrationRuntimesStopFuture +type JSONDataset = original.JSONDataset +type JSONDatasetTypeProperties = original.JSONDatasetTypeProperties type JSONFormat = original.JSONFormat +type JSONSink = original.JSONSink +type JSONSource = original.JSONSource +type JSONWriteSettings = original.JSONWriteSettings type JiraLinkedService = original.JiraLinkedService type JiraLinkedServiceTypeProperties = original.JiraLinkedServiceTypeProperties type JiraObjectDataset = original.JiraObjectDataset @@ -1516,6 +1595,7 @@ type NetezzaLinkedServiceTypeProperties = original.NetezzaLinkedServiceTypePrope type NetezzaPartitionSettings = original.NetezzaPartitionSettings type NetezzaSource = original.NetezzaSource type NetezzaTableDataset = original.NetezzaTableDataset +type NetezzaTableDatasetTypeProperties = original.NetezzaTableDatasetTypeProperties type ODataLinkedService = original.ODataLinkedService type ODataLinkedServiceTypeProperties = original.ODataLinkedServiceTypeProperties type ODataResourceDataset = original.ODataResourceDataset @@ -1566,6 +1646,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 +1669,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 @@ -1668,6 +1750,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 @@ -1721,6 +1805,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 @@ -1747,6 +1832,9 @@ 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 TabularSource = original.TabularSource type TeradataLinkedService = original.TeradataLinkedService type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties type TeradataPartitionSettings = original.TeradataPartitionSettings @@ -1765,9 +1853,12 @@ type TriggerResource = original.TriggerResource type TriggerRun = original.TriggerRun type TriggerRunsClient = original.TriggerRunsClient type TriggerRunsQueryResponse = original.TriggerRunsQueryResponse +type TriggerSubscriptionOperationStatus = original.TriggerSubscriptionOperationStatus type TriggersClient = original.TriggersClient type TriggersStartFuture = original.TriggersStartFuture type TriggersStopFuture = original.TriggersStopFuture +type TriggersSubscribeToEventsFuture = original.TriggersSubscribeToEventsFuture +type TriggersUnsubscribeFromEventsFuture = original.TriggersUnsubscribeFromEventsFuture type TumblingWindowTrigger = original.TumblingWindowTrigger type TumblingWindowTriggerDependencyReference = original.TumblingWindowTriggerDependencyReference type TumblingWindowTriggerTypeProperties = original.TumblingWindowTriggerTypeProperties @@ -1780,6 +1871,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 @@ -1952,6 +2044,9 @@ func PossibleAuthenticationTypeValues() []AuthenticationType { func PossibleAuthorizationTypeValues() []AuthorizationType { return original.PossibleAuthorizationTypeValues() } +func PossibleAvroCompressionCodecValues() []AvroCompressionCodec { + return original.PossibleAvroCompressionCodecValues() +} func PossibleAzureFunctionActivityMethodValues() []AzureFunctionActivityMethod { return original.PossibleAzureFunctionActivityMethodValues() } @@ -1982,6 +2077,9 @@ func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType { func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType { return original.PossibleDynamicsDeploymentTypeValues() } +func PossibleEventSubscriptionStatusValues() []EventSubscriptionStatus { + return original.PossibleEventSubscriptionStatusValues() +} func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { return original.PossibleFtpAuthenticationTypeValues() } @@ -2042,6 +2140,9 @@ func PossibleIntegrationRuntimeTypeValues() []IntegrationRuntimeType { func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateResult { return original.PossibleIntegrationRuntimeUpdateResultValues() } +func PossibleJSONWriteFilePatternValues() []JSONWriteFilePattern { + return original.PossibleJSONWriteFilePatternValues() +} func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus { return original.PossibleManagedIntegrationRuntimeNodeStatusValues() } @@ -2186,6 +2287,9 @@ func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService { func PossibleTypeBasicSsisObjectMetadataValues() []TypeBasicSsisObjectMetadata { return original.PossibleTypeBasicSsisObjectMetadataValues() } +func PossibleTypeBasicStoreWriteSettingsValues() []TypeBasicStoreWriteSettings { + return original.PossibleTypeBasicStoreWriteSettingsValues() +} func PossibleTypeBasicTriggerValues() []TypeBasicTrigger { return original.PossibleTypeBasicTriggerValues() } diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 753d632f3246..5739ce745d51 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -46,6 +46,16 @@ const ( AuthorizationTypeRBAC AuthorizationType = original.AuthorizationTypeRBAC ) +type AvroCompressionCodec = original.AvroCompressionCodec + +const ( + Bzip2 AvroCompressionCodec = original.Bzip2 + Deflate AvroCompressionCodec = original.Deflate + None AvroCompressionCodec = original.None + Snappy AvroCompressionCodec = original.Snappy + Xz AvroCompressionCodec = original.Xz +) + type AzureFunctionActivityMethod = original.AzureFunctionActivityMethod const ( @@ -140,6 +150,16 @@ const ( OnPremisesWithIfd DynamicsDeploymentType = original.OnPremisesWithIfd ) +type EventSubscriptionStatus = original.EventSubscriptionStatus + +const ( + Deprovisioning EventSubscriptionStatus = original.Deprovisioning + Disabled EventSubscriptionStatus = original.Disabled + Enabled EventSubscriptionStatus = original.Enabled + Provisioning EventSubscriptionStatus = original.Provisioning + Unknown EventSubscriptionStatus = original.Unknown +) + type FtpAuthenticationType = original.FtpAuthenticationType const ( @@ -171,9 +191,9 @@ const ( type HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOption const ( - Always HDInsightActivityDebugInfoOption = original.Always - Failure HDInsightActivityDebugInfoOption = original.Failure - None HDInsightActivityDebugInfoOption = original.None + HDInsightActivityDebugInfoOptionAlways HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOptionAlways + HDInsightActivityDebugInfoOptionFailure HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOptionFailure + HDInsightActivityDebugInfoOptionNone HDInsightActivityDebugInfoOption = original.HDInsightActivityDebugInfoOptionNone ) type HTTPAuthenticationType = original.HTTPAuthenticationType @@ -301,6 +321,13 @@ const ( IntegrationRuntimeUpdateResultSucceed IntegrationRuntimeUpdateResult = original.IntegrationRuntimeUpdateResultSucceed ) +type JSONWriteFilePattern = original.JSONWriteFilePattern + +const ( + ArrayOfObjects JSONWriteFilePattern = original.ArrayOfObjects + SetOfObjects JSONWriteFilePattern = original.SetOfObjects +) + type ManagedIntegrationRuntimeNodeStatus = original.ManagedIntegrationRuntimeNodeStatus const ( @@ -603,9 +630,9 @@ const ( type TriggerRuntimeState = original.TriggerRuntimeState const ( - Disabled TriggerRuntimeState = original.Disabled - Started TriggerRuntimeState = original.Started - Stopped TriggerRuntimeState = original.Stopped + TriggerRuntimeStateDisabled TriggerRuntimeState = original.TriggerRuntimeStateDisabled + TriggerRuntimeStateStarted TriggerRuntimeState = original.TriggerRuntimeStateStarted + TriggerRuntimeStateStopped TriggerRuntimeState = original.TriggerRuntimeStateStopped ) type TumblingWindowFrequency = original.TumblingWindowFrequency @@ -665,9 +692,11 @@ const ( type TypeBasicCopySink = original.TypeBasicCopySink const ( + TypeAvroSink TypeBasicCopySink = original.TypeAvroSink TypeAzureBlobFSSink TypeBasicCopySink = original.TypeAzureBlobFSSink TypeAzureDataExplorerSink TypeBasicCopySink = original.TypeAzureDataExplorerSink TypeAzureDataLakeStoreSink TypeBasicCopySink = original.TypeAzureDataLakeStoreSink + TypeAzureMySQLSink TypeBasicCopySink = original.TypeAzureMySQLSink TypeAzurePostgreSQLSink TypeBasicCopySink = original.TypeAzurePostgreSQLSink TypeAzureQueueSink TypeBasicCopySink = original.TypeAzureQueueSink TypeAzureSearchIndexSink TypeBasicCopySink = original.TypeAzureSearchIndexSink @@ -684,6 +713,7 @@ const ( TypeDynamicsSink TypeBasicCopySink = original.TypeDynamicsSink TypeFileSystemSink TypeBasicCopySink = original.TypeFileSystemSink TypeInformixSink TypeBasicCopySink = original.TypeInformixSink + TypeJSONSink TypeBasicCopySink = original.TypeJSONSink TypeMicrosoftAccessSink TypeBasicCopySink = original.TypeMicrosoftAccessSink TypeOdbcSink TypeBasicCopySink = original.TypeOdbcSink TypeOracleSink TypeBasicCopySink = original.TypeOracleSink @@ -702,9 +732,11 @@ type TypeBasicCopySource = original.TypeBasicCopySource const ( TypeAmazonMWSSource TypeBasicCopySource = original.TypeAmazonMWSSource TypeAmazonRedshiftSource TypeBasicCopySource = original.TypeAmazonRedshiftSource + TypeAvroSource TypeBasicCopySource = original.TypeAvroSource TypeAzureBlobFSSource TypeBasicCopySource = original.TypeAzureBlobFSSource TypeAzureDataExplorerSource TypeBasicCopySource = original.TypeAzureDataExplorerSource TypeAzureDataLakeStoreSource TypeBasicCopySource = original.TypeAzureDataLakeStoreSource + TypeAzureMariaDBSource TypeBasicCopySource = original.TypeAzureMariaDBSource TypeAzureMySQLSource TypeBasicCopySource = original.TypeAzureMySQLSource TypeAzurePostgreSQLSource TypeBasicCopySource = original.TypeAzurePostgreSQLSource TypeAzureSQLSource TypeBasicCopySource = original.TypeAzureSQLSource @@ -737,6 +769,7 @@ const ( TypeImpalaSource TypeBasicCopySource = original.TypeImpalaSource TypeInformixSource TypeBasicCopySource = original.TypeInformixSource TypeJiraSource TypeBasicCopySource = original.TypeJiraSource + TypeJSONSource TypeBasicCopySource = original.TypeJSONSource TypeMagentoSource TypeBasicCopySource = original.TypeMagentoSource TypeMariaDBSource TypeBasicCopySource = original.TypeMariaDBSource TypeMarketoSource TypeBasicCopySource = original.TypeMarketoSource @@ -762,6 +795,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 @@ -776,6 +810,7 @@ const ( TypeSQLSource TypeBasicCopySource = original.TypeSQLSource TypeSquareSource TypeBasicCopySource = original.TypeSquareSource TypeSybaseSource TypeBasicCopySource = original.TypeSybaseSource + TypeTabularSource TypeBasicCopySource = original.TypeTabularSource TypeTeradataSource TypeBasicCopySource = original.TypeTeradataSource TypeVerticaSource TypeBasicCopySource = original.TypeVerticaSource TypeWebSource TypeBasicCopySource = original.TypeWebSource @@ -787,11 +822,14 @@ type TypeBasicDataset = original.TypeBasicDataset const ( TypeAmazonMWSObject TypeBasicDataset = original.TypeAmazonMWSObject + TypeAmazonRedshiftTable TypeBasicDataset = original.TypeAmazonRedshiftTable TypeAmazonS3Object TypeBasicDataset = original.TypeAmazonS3Object + TypeAvro TypeBasicDataset = original.TypeAvro TypeAzureBlob TypeBasicDataset = original.TypeAzureBlob TypeAzureBlobFSFile TypeBasicDataset = original.TypeAzureBlobFSFile TypeAzureDataExplorerTable TypeBasicDataset = original.TypeAzureDataExplorerTable TypeAzureDataLakeStoreFile TypeBasicDataset = original.TypeAzureDataLakeStoreFile + TypeAzureMariaDBTable TypeBasicDataset = original.TypeAzureMariaDBTable TypeAzureMySQLTable TypeBasicDataset = original.TypeAzureMySQLTable TypeAzurePostgreSQLTable TypeBasicDataset = original.TypeAzurePostgreSQLTable TypeAzureSearchIndex TypeBasicDataset = original.TypeAzureSearchIndex @@ -807,6 +845,7 @@ const ( TypeCouchbaseTable TypeBasicDataset = original.TypeCouchbaseTable TypeCustomDataset TypeBasicDataset = original.TypeCustomDataset TypeDataset TypeBasicDataset = original.TypeDataset + TypeDb2Table TypeBasicDataset = original.TypeDb2Table TypeDelimitedText TypeBasicDataset = original.TypeDelimitedText TypeDocumentDbCollection TypeBasicDataset = original.TypeDocumentDbCollection TypeDrillTable TypeBasicDataset = original.TypeDrillTable @@ -825,6 +864,7 @@ const ( TypeImpalaObject TypeBasicDataset = original.TypeImpalaObject TypeInformixTable TypeBasicDataset = original.TypeInformixTable TypeJiraObject TypeBasicDataset = original.TypeJiraObject + TypeJSON TypeBasicDataset = original.TypeJSON TypeMagentoObject TypeBasicDataset = original.TypeMagentoObject TypeMariaDBTable TypeBasicDataset = original.TypeMariaDBTable TypeMarketoObject TypeBasicDataset = original.TypeMarketoObject @@ -850,6 +890,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 +901,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 @@ -936,6 +978,7 @@ const ( TypeAzureDataLakeStore TypeBasicLinkedService = original.TypeAzureDataLakeStore TypeAzureFunction TypeBasicLinkedService = original.TypeAzureFunction TypeAzureKeyVault TypeBasicLinkedService = original.TypeAzureKeyVault + TypeAzureMariaDB TypeBasicLinkedService = original.TypeAzureMariaDB TypeAzureML TypeBasicLinkedService = original.TypeAzureML TypeAzureMySQL TypeBasicLinkedService = original.TypeAzureMySQL TypeAzurePostgreSQL TypeBasicLinkedService = original.TypeAzurePostgreSQL @@ -1027,6 +1070,16 @@ const ( TypeSsisObjectMetadata TypeBasicSsisObjectMetadata = original.TypeSsisObjectMetadata ) +type TypeBasicStoreWriteSettings = original.TypeBasicStoreWriteSettings + +const ( + TypeAzureBlobFSWriteSettings TypeBasicStoreWriteSettings = original.TypeAzureBlobFSWriteSettings + TypeAzureBlobStorageWriteSettings TypeBasicStoreWriteSettings = original.TypeAzureBlobStorageWriteSettings + TypeAzureDataLakeStoreWriteSettings TypeBasicStoreWriteSettings = original.TypeAzureDataLakeStoreWriteSettings + TypeFileServerWriteSettings TypeBasicStoreWriteSettings = original.TypeFileServerWriteSettings + TypeStoreWriteSettings TypeBasicStoreWriteSettings = original.TypeStoreWriteSettings +) + type TypeBasicTrigger = original.TypeBasicTrigger const ( @@ -1076,6 +1129,8 @@ type AmazonMWSSource = original.AmazonMWSSource type AmazonRedshiftLinkedService = original.AmazonRedshiftLinkedService type AmazonRedshiftLinkedServiceTypeProperties = original.AmazonRedshiftLinkedServiceTypeProperties type AmazonRedshiftSource = original.AmazonRedshiftSource +type AmazonRedshiftTableDataset = original.AmazonRedshiftTableDataset +type AmazonRedshiftTableDatasetTypeProperties = original.AmazonRedshiftTableDatasetTypeProperties type AmazonS3Dataset = original.AmazonS3Dataset type AmazonS3DatasetTypeProperties = original.AmazonS3DatasetTypeProperties type AmazonS3LinkedService = original.AmazonS3LinkedService @@ -1084,7 +1139,12 @@ type AmazonS3Location = original.AmazonS3Location type AmazonS3ReadSettings = original.AmazonS3ReadSettings type AppendVariableActivity = original.AppendVariableActivity type AppendVariableActivityTypeProperties = original.AppendVariableActivityTypeProperties +type AvroDataset = original.AvroDataset +type AvroDatasetTypeProperties = original.AvroDatasetTypeProperties type AvroFormat = original.AvroFormat +type AvroSink = original.AvroSink +type AvroSource = original.AvroSource +type AvroWriteSettings = original.AvroWriteSettings type AzureBatchLinkedService = original.AzureBatchLinkedService type AzureBatchLinkedServiceTypeProperties = original.AzureBatchLinkedServiceTypeProperties type AzureBlobDataset = original.AzureBlobDataset @@ -1138,8 +1198,13 @@ type AzureMLLinkedServiceTypeProperties = original.AzureMLLinkedServiceTypePrope type AzureMLUpdateResourceActivity = original.AzureMLUpdateResourceActivity type AzureMLUpdateResourceActivityTypeProperties = original.AzureMLUpdateResourceActivityTypeProperties type AzureMLWebServiceFile = original.AzureMLWebServiceFile +type AzureMariaDBLinkedService = original.AzureMariaDBLinkedService +type AzureMariaDBLinkedServiceTypeProperties = original.AzureMariaDBLinkedServiceTypeProperties +type AzureMariaDBSource = original.AzureMariaDBSource +type AzureMariaDBTableDataset = original.AzureMariaDBTableDataset type AzureMySQLLinkedService = original.AzureMySQLLinkedService type AzureMySQLLinkedServiceTypeProperties = original.AzureMySQLLinkedServiceTypeProperties +type AzureMySQLSink = original.AzureMySQLSink type AzureMySQLSource = original.AzureMySQLSource type AzureMySQLTableDataset = original.AzureMySQLTableDataset type AzureMySQLTableDatasetTypeProperties = original.AzureMySQLTableDatasetTypeProperties @@ -1194,6 +1259,8 @@ type BasicLinkedService = original.BasicLinkedService type BasicMultiplePipelineTrigger = original.BasicMultiplePipelineTrigger type BasicSecretBase = original.BasicSecretBase type BasicSsisObjectMetadata = original.BasicSsisObjectMetadata +type BasicStoreWriteSettings = original.BasicStoreWriteSettings +type BasicTabularSource = original.BasicTabularSource type BasicTrigger = original.BasicTrigger type BasicTriggerDependencyReference = original.BasicTriggerDependencyReference type BasicWebLinkedServiceTypeProperties = original.BasicWebLinkedServiceTypeProperties @@ -1274,6 +1341,8 @@ type DatasetsClient = original.DatasetsClient type Db2LinkedService = original.Db2LinkedService type Db2LinkedServiceTypeProperties = original.Db2LinkedServiceTypeProperties type Db2Source = original.Db2Source +type Db2TableDataset = original.Db2TableDataset +type Db2TableDatasetTypeProperties = original.Db2TableDatasetTypeProperties type DeleteActivity = original.DeleteActivity type DeleteActivityTypeProperties = original.DeleteActivityTypeProperties type DelimitedTextDataset = original.DelimitedTextDataset @@ -1288,6 +1357,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 +1434,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 +1474,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 +1485,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 @@ -1449,7 +1523,12 @@ type IntegrationRuntimeVNetProperties = original.IntegrationRuntimeVNetPropertie type IntegrationRuntimesClient = original.IntegrationRuntimesClient type IntegrationRuntimesStartFuture = original.IntegrationRuntimesStartFuture type IntegrationRuntimesStopFuture = original.IntegrationRuntimesStopFuture +type JSONDataset = original.JSONDataset +type JSONDatasetTypeProperties = original.JSONDatasetTypeProperties type JSONFormat = original.JSONFormat +type JSONSink = original.JSONSink +type JSONSource = original.JSONSource +type JSONWriteSettings = original.JSONWriteSettings type JiraLinkedService = original.JiraLinkedService type JiraLinkedServiceTypeProperties = original.JiraLinkedServiceTypeProperties type JiraObjectDataset = original.JiraObjectDataset @@ -1516,6 +1595,7 @@ type NetezzaLinkedServiceTypeProperties = original.NetezzaLinkedServiceTypePrope type NetezzaPartitionSettings = original.NetezzaPartitionSettings type NetezzaSource = original.NetezzaSource type NetezzaTableDataset = original.NetezzaTableDataset +type NetezzaTableDatasetTypeProperties = original.NetezzaTableDatasetTypeProperties type ODataLinkedService = original.ODataLinkedService type ODataLinkedServiceTypeProperties = original.ODataLinkedServiceTypeProperties type ODataResourceDataset = original.ODataResourceDataset @@ -1566,6 +1646,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 +1669,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 @@ -1668,6 +1750,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 @@ -1721,6 +1805,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 @@ -1747,6 +1832,9 @@ 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 TabularSource = original.TabularSource type TeradataLinkedService = original.TeradataLinkedService type TeradataLinkedServiceTypeProperties = original.TeradataLinkedServiceTypeProperties type TeradataPartitionSettings = original.TeradataPartitionSettings @@ -1765,9 +1853,12 @@ type TriggerResource = original.TriggerResource type TriggerRun = original.TriggerRun type TriggerRunsClient = original.TriggerRunsClient type TriggerRunsQueryResponse = original.TriggerRunsQueryResponse +type TriggerSubscriptionOperationStatus = original.TriggerSubscriptionOperationStatus type TriggersClient = original.TriggersClient type TriggersStartFuture = original.TriggersStartFuture type TriggersStopFuture = original.TriggersStopFuture +type TriggersSubscribeToEventsFuture = original.TriggersSubscribeToEventsFuture +type TriggersUnsubscribeFromEventsFuture = original.TriggersUnsubscribeFromEventsFuture type TumblingWindowTrigger = original.TumblingWindowTrigger type TumblingWindowTriggerDependencyReference = original.TumblingWindowTriggerDependencyReference type TumblingWindowTriggerTypeProperties = original.TumblingWindowTriggerTypeProperties @@ -1780,6 +1871,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 @@ -1952,6 +2044,9 @@ func PossibleAuthenticationTypeValues() []AuthenticationType { func PossibleAuthorizationTypeValues() []AuthorizationType { return original.PossibleAuthorizationTypeValues() } +func PossibleAvroCompressionCodecValues() []AvroCompressionCodec { + return original.PossibleAvroCompressionCodecValues() +} func PossibleAzureFunctionActivityMethodValues() []AzureFunctionActivityMethod { return original.PossibleAzureFunctionActivityMethodValues() } @@ -1982,6 +2077,9 @@ func PossibleDynamicsAuthenticationTypeValues() []DynamicsAuthenticationType { func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType { return original.PossibleDynamicsDeploymentTypeValues() } +func PossibleEventSubscriptionStatusValues() []EventSubscriptionStatus { + return original.PossibleEventSubscriptionStatusValues() +} func PossibleFtpAuthenticationTypeValues() []FtpAuthenticationType { return original.PossibleFtpAuthenticationTypeValues() } @@ -2042,6 +2140,9 @@ func PossibleIntegrationRuntimeTypeValues() []IntegrationRuntimeType { func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateResult { return original.PossibleIntegrationRuntimeUpdateResultValues() } +func PossibleJSONWriteFilePatternValues() []JSONWriteFilePattern { + return original.PossibleJSONWriteFilePatternValues() +} func PossibleManagedIntegrationRuntimeNodeStatusValues() []ManagedIntegrationRuntimeNodeStatus { return original.PossibleManagedIntegrationRuntimeNodeStatusValues() } @@ -2186,6 +2287,9 @@ func PossibleTypeBasicLinkedServiceValues() []TypeBasicLinkedService { func PossibleTypeBasicSsisObjectMetadataValues() []TypeBasicSsisObjectMetadata { return original.PossibleTypeBasicSsisObjectMetadataValues() } +func PossibleTypeBasicStoreWriteSettingsValues() []TypeBasicStoreWriteSettings { + return original.PossibleTypeBasicStoreWriteSettingsValues() +} func PossibleTypeBasicTriggerValues() []TypeBasicTrigger { return original.PossibleTypeBasicTriggerValues() } diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/datafactoryapi/interfaces.go b/services/datafactory/mgmt/2018-06-01/datafactory/datafactoryapi/interfaces.go index bde967eebfef..547619423f12 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/datafactoryapi/interfaces.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/datafactoryapi/interfaces.go @@ -145,13 +145,24 @@ type TriggersClientAPI interface { CreateOrUpdate(ctx context.Context, resourceGroupName string, factoryName string, triggerName string, trigger datafactory.TriggerResource, ifMatch string) (result datafactory.TriggerResource, err error) Delete(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result autorest.Response, err error) Get(ctx context.Context, resourceGroupName string, factoryName string, triggerName string, ifNoneMatch string) (result datafactory.TriggerResource, err error) + GetEventSubscriptionStatus(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result datafactory.TriggerSubscriptionOperationStatus, err error) ListByFactory(ctx context.Context, resourceGroupName string, factoryName string) (result datafactory.TriggerListResponsePage, err error) Start(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result datafactory.TriggersStartFuture, err error) Stop(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result datafactory.TriggersStopFuture, err error) + SubscribeToEvents(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result datafactory.TriggersSubscribeToEventsFuture, err error) + UnsubscribeFromEvents(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result datafactory.TriggersUnsubscribeFromEventsFuture, err error) } var _ TriggersClientAPI = (*datafactory.TriggersClient)(nil) +// TriggerRunsClientAPI contains the set of methods on the TriggerRunsClient type. +type TriggerRunsClientAPI interface { + QueryByFactory(ctx context.Context, resourceGroupName string, factoryName string, filterParameters datafactory.RunFilterParameters) (result datafactory.TriggerRunsQueryResponse, err error) + Rerun(ctx context.Context, resourceGroupName string, factoryName string, triggerName string, runID string) (result autorest.Response, err error) +} + +var _ TriggerRunsClientAPI = (*datafactory.TriggerRunsClient)(nil) + // RerunTriggersClientAPI contains the set of methods on the RerunTriggersClient type. type RerunTriggersClientAPI interface { Cancel(ctx context.Context, resourceGroupName string, factoryName string, triggerName string, rerunTriggerName string) (result datafactory.RerunTriggersCancelFuture, err error) @@ -162,10 +173,3 @@ type RerunTriggersClientAPI interface { } var _ RerunTriggersClientAPI = (*datafactory.RerunTriggersClient)(nil) - -// TriggerRunsClientAPI contains the set of methods on the TriggerRunsClient type. -type TriggerRunsClientAPI interface { - QueryByFactory(ctx context.Context, resourceGroupName string, factoryName string, filterParameters datafactory.RunFilterParameters) (result datafactory.TriggerRunsQueryResponse, err error) -} - -var _ TriggerRunsClientAPI = (*datafactory.TriggerRunsClient)(nil) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index 59b25301eaed..77f170161e13 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -68,6 +68,27 @@ func PossibleAuthorizationTypeValues() []AuthorizationType { return []AuthorizationType{AuthorizationTypeKey, AuthorizationTypeLinkedIntegrationRuntimeType, AuthorizationTypeRBAC} } +// AvroCompressionCodec enumerates the values for avro compression codec. +type AvroCompressionCodec string + +const ( + // Bzip2 ... + Bzip2 AvroCompressionCodec = "bzip2" + // Deflate ... + Deflate AvroCompressionCodec = "deflate" + // None ... + None AvroCompressionCodec = "none" + // Snappy ... + Snappy AvroCompressionCodec = "snappy" + // Xz ... + Xz AvroCompressionCodec = "xz" +) + +// PossibleAvroCompressionCodecValues returns an array of possible values for the AvroCompressionCodec const type. +func PossibleAvroCompressionCodecValues() []AvroCompressionCodec { + return []AvroCompressionCodec{Bzip2, Deflate, None, Snappy, Xz} +} + // AzureFunctionActivityMethod enumerates the values for azure function activity method. type AzureFunctionActivityMethod string @@ -266,6 +287,27 @@ func PossibleDynamicsDeploymentTypeValues() []DynamicsDeploymentType { return []DynamicsDeploymentType{Online, OnPremisesWithIfd} } +// EventSubscriptionStatus enumerates the values for event subscription status. +type EventSubscriptionStatus string + +const ( + // Deprovisioning ... + Deprovisioning EventSubscriptionStatus = "Deprovisioning" + // Disabled ... + Disabled EventSubscriptionStatus = "Disabled" + // Enabled ... + Enabled EventSubscriptionStatus = "Enabled" + // Provisioning ... + Provisioning EventSubscriptionStatus = "Provisioning" + // Unknown ... + Unknown EventSubscriptionStatus = "Unknown" +) + +// PossibleEventSubscriptionStatusValues returns an array of possible values for the EventSubscriptionStatus const type. +func PossibleEventSubscriptionStatusValues() []EventSubscriptionStatus { + return []EventSubscriptionStatus{Deprovisioning, Disabled, Enabled, Provisioning, Unknown} +} + // FtpAuthenticationType enumerates the values for ftp authentication type. type FtpAuthenticationType string @@ -330,17 +372,17 @@ func PossibleHBaseAuthenticationTypeValues() []HBaseAuthenticationType { type HDInsightActivityDebugInfoOption string const ( - // Always ... - Always HDInsightActivityDebugInfoOption = "Always" - // Failure ... - Failure HDInsightActivityDebugInfoOption = "Failure" - // None ... - None HDInsightActivityDebugInfoOption = "None" + // HDInsightActivityDebugInfoOptionAlways ... + HDInsightActivityDebugInfoOptionAlways HDInsightActivityDebugInfoOption = "Always" + // HDInsightActivityDebugInfoOptionFailure ... + HDInsightActivityDebugInfoOptionFailure HDInsightActivityDebugInfoOption = "Failure" + // HDInsightActivityDebugInfoOptionNone ... + HDInsightActivityDebugInfoOptionNone HDInsightActivityDebugInfoOption = "None" ) // PossibleHDInsightActivityDebugInfoOptionValues returns an array of possible values for the HDInsightActivityDebugInfoOption const type. func PossibleHDInsightActivityDebugInfoOptionValues() []HDInsightActivityDebugInfoOption { - return []HDInsightActivityDebugInfoOption{Always, Failure, None} + return []HDInsightActivityDebugInfoOption{HDInsightActivityDebugInfoOptionAlways, HDInsightActivityDebugInfoOptionFailure, HDInsightActivityDebugInfoOptionNone} } // HiveAuthenticationType enumerates the values for hive authentication type. @@ -610,6 +652,21 @@ func PossibleIntegrationRuntimeUpdateResultValues() []IntegrationRuntimeUpdateRe return []IntegrationRuntimeUpdateResult{IntegrationRuntimeUpdateResultFail, IntegrationRuntimeUpdateResultNone, IntegrationRuntimeUpdateResultSucceed} } +// JSONWriteFilePattern enumerates the values for json write file pattern. +type JSONWriteFilePattern string + +const ( + // ArrayOfObjects ... + ArrayOfObjects JSONWriteFilePattern = "arrayOfObjects" + // SetOfObjects ... + SetOfObjects JSONWriteFilePattern = "setOfObjects" +) + +// PossibleJSONWriteFilePatternValues returns an array of possible values for the JSONWriteFilePattern const type. +func PossibleJSONWriteFilePatternValues() []JSONWriteFilePattern { + return []JSONWriteFilePattern{ArrayOfObjects, SetOfObjects} +} + // ManagedIntegrationRuntimeNodeStatus enumerates the values for managed integration runtime node status. type ManagedIntegrationRuntimeNodeStatus string @@ -1248,17 +1305,17 @@ func PossibleTriggerRunStatusValues() []TriggerRunStatus { type TriggerRuntimeState string const ( - // Disabled ... - Disabled TriggerRuntimeState = "Disabled" - // Started ... - Started TriggerRuntimeState = "Started" - // Stopped ... - Stopped TriggerRuntimeState = "Stopped" + // TriggerRuntimeStateDisabled ... + TriggerRuntimeStateDisabled TriggerRuntimeState = "Disabled" + // TriggerRuntimeStateStarted ... + TriggerRuntimeStateStarted TriggerRuntimeState = "Started" + // TriggerRuntimeStateStopped ... + TriggerRuntimeStateStopped TriggerRuntimeState = "Stopped" ) // PossibleTriggerRuntimeStateValues returns an array of possible values for the TriggerRuntimeState const type. func PossibleTriggerRuntimeStateValues() []TriggerRuntimeState { - return []TriggerRuntimeState{Disabled, Started, Stopped} + return []TriggerRuntimeState{TriggerRuntimeStateDisabled, TriggerRuntimeStateStarted, TriggerRuntimeStateStopped} } // TumblingWindowFrequency enumerates the values for tumbling window frequency. @@ -1376,12 +1433,16 @@ func PossibleTypeBasicActivityValues() []TypeBasicActivity { type TypeBasicCopySink string const ( + // TypeAvroSink ... + TypeAvroSink TypeBasicCopySink = "AvroSink" // TypeAzureBlobFSSink ... TypeAzureBlobFSSink TypeBasicCopySink = "AzureBlobFSSink" // TypeAzureDataExplorerSink ... TypeAzureDataExplorerSink TypeBasicCopySink = "AzureDataExplorerSink" // TypeAzureDataLakeStoreSink ... TypeAzureDataLakeStoreSink TypeBasicCopySink = "AzureDataLakeStoreSink" + // TypeAzureMySQLSink ... + TypeAzureMySQLSink TypeBasicCopySink = "AzureMySqlSink" // TypeAzurePostgreSQLSink ... TypeAzurePostgreSQLSink TypeBasicCopySink = "AzurePostgreSqlSink" // TypeAzureQueueSink ... @@ -1414,6 +1475,8 @@ const ( TypeFileSystemSink TypeBasicCopySink = "FileSystemSink" // TypeInformixSink ... TypeInformixSink TypeBasicCopySink = "InformixSink" + // TypeJSONSink ... + TypeJSONSink TypeBasicCopySink = "JsonSink" // TypeMicrosoftAccessSink ... TypeMicrosoftAccessSink TypeBasicCopySink = "MicrosoftAccessSink" // TypeOdbcSink ... @@ -1440,7 +1503,7 @@ const ( // PossibleTypeBasicCopySinkValues returns an array of possible values for the TypeBasicCopySink const type. func PossibleTypeBasicCopySinkValues() []TypeBasicCopySink { - 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} + return []TypeBasicCopySink{TypeAvroSink, TypeAzureBlobFSSink, TypeAzureDataExplorerSink, TypeAzureDataLakeStoreSink, TypeAzureMySQLSink, TypeAzurePostgreSQLSink, TypeAzureQueueSink, TypeAzureSearchIndexSink, TypeAzureSQLSink, TypeAzureTableSink, TypeBinarySink, TypeBlobSink, TypeCommonDataServiceForAppsSink, TypeCopySink, TypeCosmosDbMongoDbAPISink, TypeDelimitedTextSink, TypeDocumentDbCollectionSink, TypeDynamicsCrmSink, TypeDynamicsSink, TypeFileSystemSink, TypeInformixSink, TypeJSONSink, TypeMicrosoftAccessSink, TypeOdbcSink, TypeOracleSink, TypeParquetSink, TypeSalesforceServiceCloudSink, TypeSalesforceSink, TypeSapCloudForCustomerSink, TypeSQLDWSink, TypeSQLMISink, TypeSQLServerSink, TypeSQLSink} } // TypeBasicCopySource enumerates the values for type basic copy source. @@ -1451,12 +1514,16 @@ const ( TypeAmazonMWSSource TypeBasicCopySource = "AmazonMWSSource" // TypeAmazonRedshiftSource ... TypeAmazonRedshiftSource TypeBasicCopySource = "AmazonRedshiftSource" + // TypeAvroSource ... + TypeAvroSource TypeBasicCopySource = "AvroSource" // TypeAzureBlobFSSource ... TypeAzureBlobFSSource TypeBasicCopySource = "AzureBlobFSSource" // TypeAzureDataExplorerSource ... TypeAzureDataExplorerSource TypeBasicCopySource = "AzureDataExplorerSource" // TypeAzureDataLakeStoreSource ... TypeAzureDataLakeStoreSource TypeBasicCopySource = "AzureDataLakeStoreSource" + // TypeAzureMariaDBSource ... + TypeAzureMariaDBSource TypeBasicCopySource = "AzureMariaDBSource" // TypeAzureMySQLSource ... TypeAzureMySQLSource TypeBasicCopySource = "AzureMySqlSource" // TypeAzurePostgreSQLSource ... @@ -1521,6 +1588,8 @@ const ( TypeInformixSource TypeBasicCopySource = "InformixSource" // TypeJiraSource ... TypeJiraSource TypeBasicCopySource = "JiraSource" + // TypeJSONSource ... + TypeJSONSource TypeBasicCopySource = "JsonSource" // TypeMagentoSource ... TypeMagentoSource TypeBasicCopySource = "MagentoSource" // TypeMariaDBSource ... @@ -1571,6 +1640,8 @@ const ( TypeSalesforceServiceCloudSource TypeBasicCopySource = "SalesforceServiceCloudSource" // TypeSalesforceSource ... TypeSalesforceSource TypeBasicCopySource = "SalesforceSource" + // TypeSapBwSource ... + TypeSapBwSource TypeBasicCopySource = "SapBwSource" // TypeSapCloudForCustomerSource ... TypeSapCloudForCustomerSource TypeBasicCopySource = "SapCloudForCustomerSource" // TypeSapEccSource ... @@ -1599,6 +1670,8 @@ const ( TypeSquareSource TypeBasicCopySource = "SquareSource" // TypeSybaseSource ... TypeSybaseSource TypeBasicCopySource = "SybaseSource" + // TypeTabularSource ... + TypeTabularSource TypeBasicCopySource = "TabularSource" // TypeTeradataSource ... TypeTeradataSource TypeBasicCopySource = "TeradataSource" // TypeVerticaSource ... @@ -1613,7 +1686,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, TypeAvroSource, TypeAzureBlobFSSource, TypeAzureDataExplorerSource, TypeAzureDataLakeStoreSource, TypeAzureMariaDBSource, 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, TypeJSONSource, 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, TypeTabularSource, TypeTeradataSource, TypeVerticaSource, TypeWebSource, TypeXeroSource, TypeZohoSource} } // TypeBasicDataset enumerates the values for type basic dataset. @@ -1622,8 +1695,12 @@ type TypeBasicDataset string const ( // TypeAmazonMWSObject ... TypeAmazonMWSObject TypeBasicDataset = "AmazonMWSObject" + // TypeAmazonRedshiftTable ... + TypeAmazonRedshiftTable TypeBasicDataset = "AmazonRedshiftTable" // TypeAmazonS3Object ... TypeAmazonS3Object TypeBasicDataset = "AmazonS3Object" + // TypeAvro ... + TypeAvro TypeBasicDataset = "Avro" // TypeAzureBlob ... TypeAzureBlob TypeBasicDataset = "AzureBlob" // TypeAzureBlobFSFile ... @@ -1632,6 +1709,8 @@ const ( TypeAzureDataExplorerTable TypeBasicDataset = "AzureDataExplorerTable" // TypeAzureDataLakeStoreFile ... TypeAzureDataLakeStoreFile TypeBasicDataset = "AzureDataLakeStoreFile" + // TypeAzureMariaDBTable ... + TypeAzureMariaDBTable TypeBasicDataset = "AzureMariaDBTable" // TypeAzureMySQLTable ... TypeAzureMySQLTable TypeBasicDataset = "AzureMySqlTable" // TypeAzurePostgreSQLTable ... @@ -1662,6 +1741,8 @@ const ( TypeCustomDataset TypeBasicDataset = "CustomDataset" // TypeDataset ... TypeDataset TypeBasicDataset = "Dataset" + // TypeDb2Table ... + TypeDb2Table TypeBasicDataset = "Db2Table" // TypeDelimitedText ... TypeDelimitedText TypeBasicDataset = "DelimitedText" // TypeDocumentDbCollection ... @@ -1698,6 +1779,8 @@ const ( TypeInformixTable TypeBasicDataset = "InformixTable" // TypeJiraObject ... TypeJiraObject TypeBasicDataset = "JiraObject" + // TypeJSON ... + TypeJSON TypeBasicDataset = "Json" // TypeMagentoObject ... TypeMagentoObject TypeBasicDataset = "MagentoObject" // TypeMariaDBTable ... @@ -1748,6 +1831,8 @@ const ( TypeSalesforceObject TypeBasicDataset = "SalesforceObject" // TypeSalesforceServiceCloudObject ... TypeSalesforceServiceCloudObject TypeBasicDataset = "SalesforceServiceCloudObject" + // TypeSapBwCube ... + TypeSapBwCube TypeBasicDataset = "SapBwCube" // TypeSapCloudForCustomerResource ... TypeSapCloudForCustomerResource TypeBasicDataset = "SapCloudForCustomerResource" // TypeSapEccResource ... @@ -1768,6 +1853,8 @@ const ( TypeSQLServerTable TypeBasicDataset = "SqlServerTable" // TypeSquareObject ... TypeSquareObject TypeBasicDataset = "SquareObject" + // TypeSybaseTable ... + TypeSybaseTable TypeBasicDataset = "SybaseTable" // TypeTeradataTable ... TypeTeradataTable TypeBasicDataset = "TeradataTable" // TypeVerticaTable ... @@ -1782,7 +1869,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, TypeAmazonRedshiftTable, TypeAmazonS3Object, TypeAvro, TypeAzureBlob, TypeAzureBlobFSFile, TypeAzureDataExplorerTable, TypeAzureDataLakeStoreFile, TypeAzureMariaDBTable, TypeAzureMySQLTable, TypeAzurePostgreSQLTable, TypeAzureSearchIndex, TypeAzureSQLDWTable, TypeAzureSQLMITable, TypeAzureSQLTable, TypeAzureTable, TypeBinary, TypeCassandraTable, TypeCommonDataServiceForAppsEntity, TypeConcurObject, TypeCosmosDbMongoDbAPICollection, TypeCouchbaseTable, TypeCustomDataset, TypeDataset, TypeDb2Table, TypeDelimitedText, TypeDocumentDbCollection, TypeDrillTable, TypeDynamicsAXResource, TypeDynamicsCrmEntity, TypeDynamicsEntity, TypeEloquaObject, TypeFileShare, TypeGoogleAdWordsObject, TypeGoogleBigQueryObject, TypeGreenplumTable, TypeHBaseObject, TypeHiveObject, TypeHTTPFile, TypeHubspotObject, TypeImpalaObject, TypeInformixTable, TypeJiraObject, TypeJSON, 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. @@ -1927,6 +2014,8 @@ const ( TypeAzureFunction TypeBasicLinkedService = "AzureFunction" // TypeAzureKeyVault ... TypeAzureKeyVault TypeBasicLinkedService = "AzureKeyVault" + // TypeAzureMariaDB ... + TypeAzureMariaDB TypeBasicLinkedService = "AzureMariaDB" // TypeAzureML ... TypeAzureML TypeBasicLinkedService = "AzureML" // TypeAzureMySQL ... @@ -2089,7 +2178,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, 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} + return []TypeBasicLinkedService{TypeAmazonMWS, TypeAmazonRedshift, TypeAmazonS3, TypeAzureBatch, TypeAzureBlobFS, TypeAzureBlobStorage, TypeAzureDatabricks, TypeAzureDataExplorer, TypeAzureDataLakeAnalytics, TypeAzureDataLakeStore, TypeAzureFunction, TypeAzureKeyVault, TypeAzureMariaDB, 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. @@ -2113,6 +2202,27 @@ func PossibleTypeBasicSsisObjectMetadataValues() []TypeBasicSsisObjectMetadata { return []TypeBasicSsisObjectMetadata{TypeEnvironment, TypeFolder, TypePackage, TypeProject, TypeSsisObjectMetadata} } +// TypeBasicStoreWriteSettings enumerates the values for type basic store write settings. +type TypeBasicStoreWriteSettings string + +const ( + // TypeAzureBlobFSWriteSettings ... + TypeAzureBlobFSWriteSettings TypeBasicStoreWriteSettings = "AzureBlobFSWriteSettings" + // TypeAzureBlobStorageWriteSettings ... + TypeAzureBlobStorageWriteSettings TypeBasicStoreWriteSettings = "AzureBlobStorageWriteSettings" + // TypeAzureDataLakeStoreWriteSettings ... + TypeAzureDataLakeStoreWriteSettings TypeBasicStoreWriteSettings = "AzureDataLakeStoreWriteSettings" + // TypeFileServerWriteSettings ... + TypeFileServerWriteSettings TypeBasicStoreWriteSettings = "FileServerWriteSettings" + // TypeStoreWriteSettings ... + TypeStoreWriteSettings TypeBasicStoreWriteSettings = "StoreWriteSettings" +) + +// PossibleTypeBasicStoreWriteSettingsValues returns an array of possible values for the TypeBasicStoreWriteSettings const type. +func PossibleTypeBasicStoreWriteSettingsValues() []TypeBasicStoreWriteSettings { + return []TypeBasicStoreWriteSettings{TypeAzureBlobFSWriteSettings, TypeAzureBlobStorageWriteSettings, TypeAzureDataLakeStoreWriteSettings, TypeFileServerWriteSettings, TypeStoreWriteSettings} +} + // TypeBasicTrigger enumerates the values for type basic trigger. type TypeBasicTrigger string @@ -3091,7 +3201,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -3243,6 +3353,11 @@ func (amls AmazonMWSLinkedService) AsMarketoLinkedService() (*MarketoLinkedServi return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -3811,7 +3926,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -3947,6 +4062,11 @@ func (amod AmazonMWSObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDatas return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -4072,6 +4192,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 @@ -4112,6 +4242,16 @@ func (amod AmazonMWSObjectDataset) AsRelationalTableDataset() (*RelationalTableD return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -4227,6 +4367,11 @@ func (amod AmazonMWSObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -4237,6 +4382,11 @@ func (amod AmazonMWSObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -4364,6 +4514,8 @@ func (amod *AmazonMWSObjectDataset) UnmarshalJSON(body []byte) error { type AmazonMWSSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -4372,7 +4524,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -4383,6 +4535,9 @@ func (ams AmazonMWSSource) MarshalJSON() ([]byte, error) { if ams.Query != nil { objectMap["query"] = ams.Query } + if ams.QueryTimeout != nil { + objectMap["queryTimeout"] = ams.QueryTimeout + } if ams.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ams.SourceRetryCount } @@ -4401,6 +4556,116 @@ func (ams AmazonMWSSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -4496,6 +4761,11 @@ func (ams AmazonMWSSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -4571,81 +4841,21 @@ func (ams AmazonMWSSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return &ams, true } -// AsHTTPSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AmazonMWSSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -4671,11 +4881,6 @@ func (ams AmazonMWSSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -4701,18 +4906,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -4741,53 +4941,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ams, true } -// AsAzureTableSource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for AmazonMWSSource. -func (ams AmazonMWSSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -4801,6 +4981,11 @@ func (ams AmazonMWSSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -4829,6 +5014,15 @@ func (ams *AmazonMWSSource) UnmarshalJSON(body []byte) error { } ams.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ams.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -4897,7 +5091,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -5049,6 +5243,11 @@ func (arls AmazonRedshiftLinkedService) AsMarketoLinkedService() (*MarketoLinked return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -5560,6 +5759,8 @@ type AmazonRedshiftSource struct { Query interface{} `json:"query,omitempty"` // 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. RedshiftUnloadSettings *RedshiftUnloadSettings `json:"redshiftUnloadSettings,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"` // 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). @@ -5568,7 +5769,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -5582,6 +5783,9 @@ func (ars AmazonRedshiftSource) MarshalJSON() ([]byte, error) { if ars.RedshiftUnloadSettings != nil { objectMap["redshiftUnloadSettings"] = ars.RedshiftUnloadSettings } + if ars.QueryTimeout != nil { + objectMap["queryTimeout"] = ars.QueryTimeout + } if ars.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ars.SourceRetryCount } @@ -5600,176 +5804,6 @@ func (ars AmazonRedshiftSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return &ars, true -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSquareSource() (*SquareSource, bool) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// AsServiceNowSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false -} - -// AsPhoenixSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false -} - -// AsPaypalSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsHiveSource() (*HiveSource, bool) { - return nil, false -} - -// AsHBaseSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false -} - -// AsGreenplumSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} - -// AsCouchbaseSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - // AsHTTPSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -5805,21 +5839,11 @@ func (ars AmazonRedshiftSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false -} - // AsWebSource is the BasicCopySource implementation for AmazonRedshiftSource. 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 @@ -5830,11 +5854,6 @@ func (ars AmazonRedshiftSource) AsAzureDataExplorerSource() (*AzureDataExplorerS return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false -} - // AsHdfsSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false @@ -5845,111 +5864,26 @@ func (ars AmazonRedshiftSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for AmazonRedshiftSource. -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 -} - -// AsSQLServerSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false -} - -// AsSQLSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - // AsRestSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false -} - -// AsSapOpenHubSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false -} - -// AsSapHanaSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AmazonRedshiftSource. -func (ars AmazonRedshiftSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - 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 @@ -5980,16 +5914,311 @@ func (ars AmazonRedshiftSource) AsBlobSource() (*BlobSource, bool) { return nil, false } +// AsAmazonRedshiftSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return &ars, true +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for AmazonRedshiftSource. +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 +} + +// AsSQLServerSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + // AsAzureTableSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } +// AsTabularSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ars, true +} + // AsBinarySource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsBinarySource() (*BinarySource, bool) { return nil, false } +// AsJSONSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + // AsDelimitedTextSource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false @@ -6000,6 +6229,11 @@ func (ars AmazonRedshiftSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for AmazonRedshiftSource. +func (ars AmazonRedshiftSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for AmazonRedshiftSource. func (ars AmazonRedshiftSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -6037,6 +6271,15 @@ func (ars *AmazonRedshiftSource) UnmarshalJSON(body []byte) error { } ars.RedshiftUnloadSettings = &redshiftUnloadSettings } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ars.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -6091,6 +6334,620 @@ func (ars *AmazonRedshiftSource) UnmarshalJSON(body []byte) error { return nil } +// AmazonRedshiftTableDataset the Amazon Redshift table dataset. +type AmazonRedshiftTableDataset struct { + // AmazonRedshiftTableDatasetTypeProperties - Amazon Redshift table dataset properties. + *AmazonRedshiftTableDatasetTypeProperties `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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) MarshalJSON() ([]byte, error) { + artd.Type = TypeAmazonRedshiftTable + objectMap := make(map[string]interface{}) + if artd.AmazonRedshiftTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = artd.AmazonRedshiftTableDatasetTypeProperties + } + if artd.Description != nil { + objectMap["description"] = artd.Description + } + if artd.Structure != nil { + objectMap["structure"] = artd.Structure + } + if artd.Schema != nil { + objectMap["schema"] = artd.Schema + } + if artd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = artd.LinkedServiceName + } + if artd.Parameters != nil { + objectMap["parameters"] = artd.Parameters + } + if artd.Annotations != nil { + objectMap["annotations"] = artd.Annotations + } + if artd.Folder != nil { + objectMap["folder"] = artd.Folder + } + if artd.Type != "" { + objectMap["type"] = artd.Type + } + for k, v := range artd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsDb2TableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return &artd, true +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AmazonRedshiftTableDataset. +func (artd AmazonRedshiftTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &artd, true +} + +// UnmarshalJSON is the custom unmarshaler for AmazonRedshiftTableDataset struct. +func (artd *AmazonRedshiftTableDataset) 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 amazonRedshiftTableDatasetTypeProperties AmazonRedshiftTableDatasetTypeProperties + err = json.Unmarshal(*v, &amazonRedshiftTableDatasetTypeProperties) + if err != nil { + return err + } + artd.AmazonRedshiftTableDatasetTypeProperties = &amazonRedshiftTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if artd.AdditionalProperties == nil { + artd.AdditionalProperties = make(map[string]interface{}) + } + artd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + artd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + artd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + artd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + artd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + artd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + artd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + artd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + artd.Type = typeVar + } + } + } + + return nil +} + +// AmazonRedshiftTableDatasetTypeProperties amazon Redshift table dataset properties. +type AmazonRedshiftTableDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Table - The Amazon Redshift table name. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The Amazon Redshift schema name. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // AmazonS3Dataset a single Amazon Simple Storage Service (S3) object or a set of S3 objects. type AmazonS3Dataset struct { // AmazonS3DatasetTypeProperties - Amazon S3 dataset properties. @@ -6111,7 +6968,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -6247,6 +7104,11 @@ func (asd AmazonS3Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -6372,6 +7234,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 @@ -6412,6 +7284,16 @@ func (asd AmazonS3Dataset) AsRelationalTableDataset() (*RelationalTableDataset, return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -6527,6 +7409,11 @@ func (asd AmazonS3Dataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -6537,6 +7424,11 @@ func (asd AmazonS3Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return &asd, true @@ -6779,7 +7671,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -6931,6 +7823,11 @@ func (asls AmazonS3LinkedService) AsMarketoLinkedService() (*MarketoLinkedServic return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -8014,6 +8911,619 @@ type AppendVariableActivityTypeProperties struct { Value interface{} `json:"value,omitempty"` } +// AvroDataset avro dataset. +type AvroDataset struct { + // AvroDatasetTypeProperties - Avro dataset properties. + *AvroDatasetTypeProperties `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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AvroDataset. +func (ad AvroDataset) MarshalJSON() ([]byte, error) { + ad.Type = TypeAvro + objectMap := make(map[string]interface{}) + if ad.AvroDatasetTypeProperties != nil { + objectMap["typeProperties"] = ad.AvroDatasetTypeProperties + } + if ad.Description != nil { + objectMap["description"] = ad.Description + } + if ad.Structure != nil { + objectMap["structure"] = ad.Structure + } + if ad.Schema != nil { + objectMap["schema"] = ad.Schema + } + if ad.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ad.LinkedServiceName + } + if ad.Parameters != nil { + objectMap["parameters"] = ad.Parameters + } + if ad.Annotations != nil { + objectMap["annotations"] = ad.Annotations + } + if ad.Folder != nil { + objectMap["folder"] = ad.Folder + } + if ad.Type != "" { + objectMap["type"] = ad.Type + } + for k, v := range ad.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return nil, false +} + +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false +} + +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false +} + +// AsResponsysObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false +} + +// AsVerticaTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// AsSquareObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false +} + +// AsSparkObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false +} + +// AsShopifyObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSapTableResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false +} + +// AsRestResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false +} + +// AsSapHanaTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSapBwCubeDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false +} + +// AsSybaseTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false +} + +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false +} + +// AsPostgreSQLTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false +} + +// AsMySQLTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false +} + +// AsOdbcTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { + return nil, false +} + +// AsInformixTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsDb2TableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsTeradataTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return nil, false +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAvroDataset() (*AvroDataset, bool) { + return &ad, true +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AvroDataset. +func (ad AvroDataset) AsBasicDataset() (BasicDataset, bool) { + return &ad, true +} + +// UnmarshalJSON is the custom unmarshaler for AvroDataset struct. +func (ad *AvroDataset) 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 avroDatasetTypeProperties AvroDatasetTypeProperties + err = json.Unmarshal(*v, &avroDatasetTypeProperties) + if err != nil { + return err + } + ad.AvroDatasetTypeProperties = &avroDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ad.AdditionalProperties == nil { + ad.AdditionalProperties = make(map[string]interface{}) + } + ad.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ad.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + ad.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + ad.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ad.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ad.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ad.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + ad.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ad.Type = typeVar + } + } + } + + return nil +} + +// AvroDatasetTypeProperties avro dataset properties. +type AvroDatasetTypeProperties struct { + // Location - The location of the avro storage. + Location *DatasetLocation `json:"location,omitempty"` + // AvroCompressionCodec - Possible values include: 'None', 'Deflate', 'Snappy', 'Xz', 'Bzip2' + AvroCompressionCodec AvroCompressionCodec `json:"avroCompressionCodec,omitempty"` + AvroCompressionLevel *int32 `json:"avroCompressionLevel,omitempty"` +} + // AvroFormat the data stored in Avro format. type AvroFormat struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -8134,6 +9644,965 @@ func (af *AvroFormat) UnmarshalJSON(body []byte) error { return nil } +// AvroSink a copy activity Avro sink. +type AvroSink struct { + // StoreSettings - Avro store settings. + StoreSettings BasicStoreWriteSettings `json:"storeSettings,omitempty"` + // FormatSettings - Avro format settings. + FormatSettings *AvroWriteSettings `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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AvroSink. +func (as AvroSink) MarshalJSON() ([]byte, error) { + as.Type = TypeAvroSink + objectMap := make(map[string]interface{}) + objectMap["storeSettings"] = as.StoreSettings + if as.FormatSettings != nil { + objectMap["formatSettings"] = as.FormatSettings + } + if as.WriteBatchSize != nil { + objectMap["writeBatchSize"] = as.WriteBatchSize + } + if as.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = as.WriteBatchTimeout + } + if as.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = as.SinkRetryCount + } + if as.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = as.SinkRetryWait + } + if as.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = as.MaxConcurrentConnections + } + if as.Type != "" { + objectMap["type"] = as.Type + } + for k, v := range as.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false +} + +// AsSalesforceSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSalesforceSink() (*SalesforceSink, bool) { + return nil, false +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { + return nil, false +} + +// AsDynamicsCrmSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false +} + +// AsDynamicsSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false +} + +// AsMicrosoftAccessSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { + return nil, false +} + +// AsInformixSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsInformixSink() (*InformixSink, bool) { + return nil, false +} + +// AsOdbcSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false +} + +// AsSQLMISink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSQLMISink() (*SQLMISink, bool) { + return nil, false +} + +// AsAzureSQLSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false +} + +// AsSQLServerSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsBinarySink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsBinarySink() (*BinarySink, bool) { + return nil, false +} + +// AsParquetSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false +} + +// AsAvroSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAvroSink() (*AvroSink, bool) { + return &as, true +} + +// AsAzureTableSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzureMySQLSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsJSONSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for AvroSink. +func (as AvroSink) AsBasicCopySink() (BasicCopySink, bool) { + return &as, true +} + +// UnmarshalJSON is the custom unmarshaler for AvroSink struct. +func (as *AvroSink) 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 { + storeSettings, err := unmarshalBasicStoreWriteSettings(*v) + if err != nil { + return err + } + as.StoreSettings = storeSettings + } + case "formatSettings": + if v != nil { + var formatSettings AvroWriteSettings + err = json.Unmarshal(*v, &formatSettings) + if err != nil { + return err + } + as.FormatSettings = &formatSettings + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if as.AdditionalProperties == nil { + as.AdditionalProperties = make(map[string]interface{}) + } + as.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + as.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + as.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + as.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + as.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + as.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + as.Type = typeVar + } + } + } + + return nil +} + +// AvroSource a copy activity Avro source. +type AvroSource struct { + // StoreSettings - Avro 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AvroSource. +func (as AvroSource) MarshalJSON() ([]byte, error) { + as.Type = TypeAvroSource + objectMap := make(map[string]interface{}) + if as.StoreSettings != nil { + objectMap["storeSettings"] = as.StoreSettings + } + if as.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = as.SourceRetryCount + } + if as.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = as.SourceRetryWait + } + if as.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = as.MaxConcurrentConnections + } + if as.Type != "" { + objectMap["type"] = as.Type + } + for k, v := range as.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsHTTPSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsSapBwSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSapBwSource() (*SapBwSource, bool) { + return nil, false +} + +// AsSybaseSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false +} + +// AsPostgreSQLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsAvroSource() (*AvroSource, bool) { + return &as, true +} + +// AsCopySource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for AvroSource. +func (as AvroSource) AsBasicCopySource() (BasicCopySource, bool) { + return &as, true +} + +// UnmarshalJSON is the custom unmarshaler for AvroSource struct. +func (as *AvroSource) 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 StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) + if err != nil { + return err + } + as.StoreSettings = &storeSettings + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if as.AdditionalProperties == nil { + as.AdditionalProperties = make(map[string]interface{}) + } + as.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + as.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + as.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + as.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + as.Type = typeVar + } + } + } + + return nil +} + +// AvroWriteSettings avro write settings. +type AvroWriteSettings struct { + // RecordName - Top level record name in write result, which is required in AVRO spec. + RecordName *string `json:"recordName,omitempty"` + // RecordNamespace - Record namespace in the write result. + RecordNamespace *string `json:"recordNamespace,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"` +} + +// MarshalJSON is the custom marshaler for AvroWriteSettings. +func (aws AvroWriteSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if aws.RecordName != nil { + objectMap["recordName"] = aws.RecordName + } + if aws.RecordNamespace != nil { + objectMap["recordNamespace"] = aws.RecordNamespace + } + if aws.Type != nil { + objectMap["type"] = aws.Type + } + for k, v := range aws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for AvroWriteSettings struct. +func (aws *AvroWriteSettings) 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 "recordName": + if v != nil { + var recordName string + err = json.Unmarshal(*v, &recordName) + if err != nil { + return err + } + aws.RecordName = &recordName + } + case "recordNamespace": + if v != nil { + var recordNamespace string + err = json.Unmarshal(*v, &recordNamespace) + if err != nil { + return err + } + aws.RecordNamespace = &recordNamespace + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if aws.AdditionalProperties == nil { + aws.AdditionalProperties = make(map[string]interface{}) + } + aws.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + aws.Type = &typeVar + } + } + } + + return nil +} + // AzureBatchLinkedService azure Batch linked service. type AzureBatchLinkedService struct { // AzureBatchLinkedServiceTypeProperties - Azure Batch linked service properties. @@ -8148,7 +10617,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -8300,6 +10769,11 @@ func (abls AzureBatchLinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -8825,7 +11299,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -8961,6 +11435,11 @@ func (abd AzureBlobDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, boo return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -9086,6 +11565,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 @@ -9126,6 +11615,16 @@ func (abd AzureBlobDataset) AsRelationalTableDataset() (*RelationalTableDataset, return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -9241,7 +11740,12 @@ func (abd AzureBlobDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobDataset. +// AsJSONDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } @@ -9251,6 +11755,11 @@ func (abd AzureBlobDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -9488,7 +11997,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -9624,6 +12133,11 @@ func (abfd AzureBlobFSDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -9749,6 +12263,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 @@ -9789,6 +12313,16 @@ func (abfd AzureBlobFSDataset) AsRelationalTableDataset() (*RelationalTableDatas return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -9904,6 +12438,11 @@ func (abfd AzureBlobFSDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -9914,6 +12453,11 @@ func (abfd AzureBlobFSDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for AzureBlobFSDataset. +func (abfd AzureBlobFSDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for AzureBlobFSDataset. func (abfd AzureBlobFSDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -10112,7 +12656,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -10264,6 +12808,11 @@ func (abfls AzureBlobFSLinkedService) AsMarketoLinkedService() (*MarketoLinkedSe return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. +func (abfls AzureBlobFSLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureBlobFSLinkedService. func (abfls AzureBlobFSLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -11037,7 +13586,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -11192,6 +13741,11 @@ func (abfs AzureBlobFSSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -11207,11 +13761,21 @@ func (abfs AzureBlobFSSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSin return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for AzureBlobFSSink. +func (abfs AzureBlobFSSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureBlobFSSink. func (abfs AzureBlobFSSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -11333,7 +13897,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -11368,6 +13932,116 @@ func (abfs AzureBlobFSSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return &abfs, true +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -11463,6 +14137,11 @@ func (abfs AzureBlobFSSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -11538,81 +14217,21 @@ func (abfs AzureBlobFSSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return &abfs, true -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzureBlobFSSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -11638,11 +14257,6 @@ func (abfs AzureBlobFSSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -11668,18 +14282,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -11708,53 +14317,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for AzureBlobFSSource. -func (abfs AzureBlobFSSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -11768,6 +14357,11 @@ func (abfs AzureBlobFSSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for AzureBlobFSSource. +func (abfs AzureBlobFSSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for AzureBlobFSSource. func (abfs AzureBlobFSSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -11870,21 +14464,24 @@ func (abfs *AzureBlobFSSource) UnmarshalJSON(body []byte) error { // AzureBlobFSWriteSettings azure blobFS write settings. type AzureBlobFSWriteSettings struct { + // BlockSizeInMB - Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). + BlockSizeInMB interface{} `json:"blockSizeInMB,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"` // 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"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` } // MarshalJSON is the custom marshaler for AzureBlobFSWriteSettings. func (abfws AzureBlobFSWriteSettings) MarshalJSON() ([]byte, error) { + abfws.Type = TypeAzureBlobFSWriteSettings objectMap := make(map[string]interface{}) - if abfws.Type != nil { - objectMap["type"] = abfws.Type + if abfws.BlockSizeInMB != nil { + objectMap["blockSizeInMB"] = abfws.BlockSizeInMB } if abfws.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = abfws.MaxConcurrentConnections @@ -11892,12 +14489,45 @@ func (abfws AzureBlobFSWriteSettings) MarshalJSON() ([]byte, error) { if abfws.CopyBehavior != nil { objectMap["copyBehavior"] = abfws.CopyBehavior } + if abfws.Type != "" { + objectMap["type"] = abfws.Type + } for k, v := range abfws.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobFSWriteSettings. +func (abfws AzureBlobFSWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { + return nil, false +} + +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobFSWriteSettings. +func (abfws AzureBlobFSWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { + return nil, false +} + +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobFSWriteSettings. +func (abfws AzureBlobFSWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { + return &abfws, true +} + +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobFSWriteSettings. +func (abfws AzureBlobFSWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { + return nil, false +} + +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobFSWriteSettings. +func (abfws AzureBlobFSWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { + return nil, false +} + +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobFSWriteSettings. +func (abfws AzureBlobFSWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &abfws, true +} + // UnmarshalJSON is the custom unmarshaler for AzureBlobFSWriteSettings struct. func (abfws *AzureBlobFSWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -11907,6 +14537,15 @@ func (abfws *AzureBlobFSWriteSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "blockSizeInMB": + if v != nil { + var blockSizeInMB interface{} + err = json.Unmarshal(*v, &blockSizeInMB) + if err != nil { + return err + } + abfws.BlockSizeInMB = blockSizeInMB + } default: if v != nil { var additionalProperties interface{} @@ -11919,15 +14558,6 @@ func (abfws *AzureBlobFSWriteSettings) UnmarshalJSON(body []byte) error { } abfws.AdditionalProperties[k] = additionalProperties } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - abfws.Type = &typeVar - } case "maxConcurrentConnections": if v != nil { var maxConcurrentConnections interface{} @@ -11946,6 +14576,15 @@ func (abfws *AzureBlobFSWriteSettings) UnmarshalJSON(body []byte) error { } abfws.CopyBehavior = copyBehavior } + case "type": + if v != nil { + var typeVar TypeBasicStoreWriteSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + abfws.Type = typeVar + } } } @@ -11966,7 +14605,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -12118,6 +14757,11 @@ func (absls AzureBlobStorageLinkedService) AsMarketoLinkedService() (*MarketoLin return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. +func (absls AzureBlobStorageLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureBlobStorageLinkedService. func (absls AzureBlobStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -12910,21 +15554,24 @@ func (absrs *AzureBlobStorageReadSettings) UnmarshalJSON(body []byte) error { // AzureBlobStorageWriteSettings azure blob write settings. type AzureBlobStorageWriteSettings struct { + // BlockSizeInMB - Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). + BlockSizeInMB interface{} `json:"blockSizeInMB,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"` // 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"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` } // MarshalJSON is the custom marshaler for AzureBlobStorageWriteSettings. func (absws AzureBlobStorageWriteSettings) MarshalJSON() ([]byte, error) { + absws.Type = TypeAzureBlobStorageWriteSettings objectMap := make(map[string]interface{}) - if absws.Type != nil { - objectMap["type"] = absws.Type + if absws.BlockSizeInMB != nil { + objectMap["blockSizeInMB"] = absws.BlockSizeInMB } if absws.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = absws.MaxConcurrentConnections @@ -12932,12 +15579,45 @@ func (absws AzureBlobStorageWriteSettings) MarshalJSON() ([]byte, error) { if absws.CopyBehavior != nil { objectMap["copyBehavior"] = absws.CopyBehavior } + if absws.Type != "" { + objectMap["type"] = absws.Type + } for k, v := range absws.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobStorageWriteSettings. +func (absws AzureBlobStorageWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { + return nil, false +} + +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobStorageWriteSettings. +func (absws AzureBlobStorageWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { + return nil, false +} + +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobStorageWriteSettings. +func (absws AzureBlobStorageWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { + return nil, false +} + +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobStorageWriteSettings. +func (absws AzureBlobStorageWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { + return &absws, true +} + +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobStorageWriteSettings. +func (absws AzureBlobStorageWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { + return nil, false +} + +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureBlobStorageWriteSettings. +func (absws AzureBlobStorageWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &absws, true +} + // UnmarshalJSON is the custom unmarshaler for AzureBlobStorageWriteSettings struct. func (absws *AzureBlobStorageWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -12947,6 +15627,15 @@ func (absws *AzureBlobStorageWriteSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "blockSizeInMB": + if v != nil { + var blockSizeInMB interface{} + err = json.Unmarshal(*v, &blockSizeInMB) + if err != nil { + return err + } + absws.BlockSizeInMB = blockSizeInMB + } default: if v != nil { var additionalProperties interface{} @@ -12959,15 +15648,6 @@ func (absws *AzureBlobStorageWriteSettings) UnmarshalJSON(body []byte) error { } absws.AdditionalProperties[k] = additionalProperties } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - absws.Type = &typeVar - } case "maxConcurrentConnections": if v != nil { var maxConcurrentConnections interface{} @@ -12986,6 +15666,15 @@ func (absws *AzureBlobStorageWriteSettings) UnmarshalJSON(body []byte) error { } absws.CopyBehavior = copyBehavior } + case "type": + if v != nil { + var typeVar TypeBasicStoreWriteSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + absws.Type = typeVar + } } } @@ -13006,7 +15695,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -13158,6 +15847,11 @@ func (adls AzureDatabricksLinkedService) AsMarketoLinkedService() (*MarketoLinke return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. func (adls AzureDatabricksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -14151,7 +16845,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -14303,6 +16997,11 @@ func (adels AzureDataExplorerLinkedService) AsMarketoLinkedService() (*MarketoLi return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. +func (adels AzureDataExplorerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataExplorerLinkedService. func (adels AzureDataExplorerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -14817,7 +17516,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -14978,6 +17677,11 @@ func (ades AzureDataExplorerSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -14993,11 +17697,21 @@ func (ades AzureDataExplorerSink) AsSapCloudForCustomerSink() (*SapCloudForCusto return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for AzureDataExplorerSink. +func (ades AzureDataExplorerSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureDataExplorerSink. func (ades AzureDataExplorerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -15137,7 +17851,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -15172,176 +17886,6 @@ func (ades AzureDataExplorerSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsSquareSource() (*SquareSource, bool) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// AsServiceNowSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false -} - -// AsPhoenixSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false -} - -// AsPaypalSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsHiveSource() (*HiveSource, bool) { - return nil, false -} - -// AsHBaseSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false -} - -// AsGreenplumSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} - -// AsCouchbaseSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - // AsHTTPSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false @@ -15377,21 +17921,11 @@ func (ades AzureDataExplorerSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false -} - // AsWebSource is the BasicCopySource implementation for AzureDataExplorerSource. 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 @@ -15402,11 +17936,6 @@ func (ades AzureDataExplorerSource) AsAzureDataExplorerSource() (*AzureDataExplo return &ades, true } -// AsAzureMySQLSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false -} - // AsHdfsSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false @@ -15417,6 +17946,246 @@ func (ades AzureDataExplorerSource) AsFileSystemSource() (*FileSystemSource, boo return nil, false } +// AsRestSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + // AsSQLDWSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -15442,11 +18211,6 @@ func (ades AzureDataExplorerSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -15472,18 +18236,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -15512,53 +18271,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsBlobSource() (*BlobSource, bool) { +// AsBinarySource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsBinarySource is the BasicCopySource implementation for AzureDataExplorerSource. -func (ades AzureDataExplorerSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -15572,6 +18311,11 @@ func (ades AzureDataExplorerSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for AzureDataExplorerSource. +func (ades AzureDataExplorerSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for AzureDataExplorerSource. func (ades AzureDataExplorerSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -15692,7 +18436,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -15828,6 +18572,11 @@ func (adetd AzureDataExplorerTableDataset) AsMarketoObjectDataset() (*MarketoObj return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -15953,6 +18702,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 @@ -15993,6 +18752,16 @@ func (adetd AzureDataExplorerTableDataset) AsRelationalTableDataset() (*Relation return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -16108,6 +18877,11 @@ func (adetd AzureDataExplorerTableDataset) AsBinaryDataset() (*BinaryDataset, bo return nil, false } +// AsJSONDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -16118,6 +18892,11 @@ func (adetd AzureDataExplorerTableDataset) AsParquetDataset() (*ParquetDataset, return nil, false } +// AsAvroDataset is the BasicDataset implementation for AzureDataExplorerTableDataset. +func (adetd AzureDataExplorerTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for AzureDataExplorerTableDataset. func (adetd AzureDataExplorerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -16255,7 +19034,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -16407,6 +19186,11 @@ func (adlals AzureDataLakeAnalyticsLinkedService) AsMarketoLinkedService() (*Mar return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. func (adlals AzureDataLakeAnalyticsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -16954,7 +19738,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -17090,6 +19874,11 @@ func (adlsd AzureDataLakeStoreDataset) AsMarketoObjectDataset() (*MarketoObjectD return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -17215,6 +20004,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 @@ -17255,6 +20054,16 @@ func (adlsd AzureDataLakeStoreDataset) AsRelationalTableDataset() (*RelationalTa return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -17370,6 +20179,11 @@ func (adlsd AzureDataLakeStoreDataset) AsBinaryDataset() (*BinaryDataset, bool) return nil, false } +// AsJSONDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -17380,6 +20194,11 @@ func (adlsd AzureDataLakeStoreDataset) AsParquetDataset() (*ParquetDataset, bool return nil, false } +// AsAvroDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for AzureDataLakeStoreDataset. func (adlsd AzureDataLakeStoreDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -17578,7 +20397,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -17730,6 +20549,11 @@ func (adlsls AzureDataLakeStoreLinkedService) AsMarketoLinkedService() (*Marketo return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. func (adlsls AzureDataLakeStoreLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -18513,7 +21337,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -18671,6 +21495,11 @@ func (adlss AzureDataLakeStoreSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -18686,11 +21515,21 @@ func (adlss AzureDataLakeStoreSink) AsSapCloudForCustomerSink() (*SapCloudForCus return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for AzureDataLakeStoreSink. +func (adlss AzureDataLakeStoreSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for AzureDataLakeStoreSink. func (adlss AzureDataLakeStoreSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -18817,7 +21656,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -18846,6 +21685,116 @@ func (adlss AzureDataLakeStoreSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return &adlss, true +} + +// AsOffice365Source is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -18941,6 +21890,11 @@ func (adlss AzureDataLakeStoreSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -19016,81 +21970,21 @@ func (adlss AzureDataLakeStoreSource) AsAmazonMWSSource() (*AmazonMWSSource, boo return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return &adlss, true -} - -// AsOffice365Source is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -19116,11 +22010,6 @@ func (adlss AzureDataLakeStoreSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -19146,18 +22035,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -19186,53 +22070,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for AzureDataLakeStoreSource. -func (adlss AzureDataLakeStoreSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -19246,6 +22110,11 @@ func (adlss AzureDataLakeStoreSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -19332,32 +22201,63 @@ func (adlss *AzureDataLakeStoreSource) UnmarshalJSON(body []byte) error { type AzureDataLakeStoreWriteSettings 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"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` } // MarshalJSON is the custom marshaler for AzureDataLakeStoreWriteSettings. func (adlsws AzureDataLakeStoreWriteSettings) MarshalJSON() ([]byte, error) { + adlsws.Type = TypeAzureDataLakeStoreWriteSettings objectMap := make(map[string]interface{}) - if adlsws.Type != nil { - objectMap["type"] = adlsws.Type - } if adlsws.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = adlsws.MaxConcurrentConnections } if adlsws.CopyBehavior != nil { objectMap["copyBehavior"] = adlsws.CopyBehavior } + if adlsws.Type != "" { + objectMap["type"] = adlsws.Type + } for k, v := range adlsws.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for AzureDataLakeStoreWriteSettings. +func (adlsws AzureDataLakeStoreWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { + return nil, false +} + +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureDataLakeStoreWriteSettings. +func (adlsws AzureDataLakeStoreWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { + return &adlsws, true +} + +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for AzureDataLakeStoreWriteSettings. +func (adlsws AzureDataLakeStoreWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { + return nil, false +} + +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for AzureDataLakeStoreWriteSettings. +func (adlsws AzureDataLakeStoreWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { + return nil, false +} + +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureDataLakeStoreWriteSettings. +func (adlsws AzureDataLakeStoreWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { + return nil, false +} + +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for AzureDataLakeStoreWriteSettings. +func (adlsws AzureDataLakeStoreWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &adlsws, true +} + // UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreWriteSettings struct. func (adlsws *AzureDataLakeStoreWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -19379,15 +22279,6 @@ func (adlsws *AzureDataLakeStoreWriteSettings) UnmarshalJSON(body []byte) error } adlsws.AdditionalProperties[k] = additionalProperties } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - adlsws.Type = &typeVar - } case "maxConcurrentConnections": if v != nil { var maxConcurrentConnections interface{} @@ -19406,6 +22297,15 @@ func (adlsws *AzureDataLakeStoreWriteSettings) UnmarshalJSON(body []byte) error } adlsws.CopyBehavior = copyBehavior } + case "type": + if v != nil { + var typeVar TypeBasicStoreWriteSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + adlsws.Type = typeVar + } } } @@ -19778,7 +22678,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -19930,6 +22830,11 @@ func (afls AzureFunctionLinkedService) AsMarketoLinkedService() (*MarketoLinkedS return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. +func (afls AzureFunctionLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureFunctionLinkedService. func (afls AzureFunctionLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -20416,7 +23321,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -20568,6 +23473,11 @@ func (akvls AzureKeyVaultLinkedService) AsMarketoLinkedService() (*MarketoLinked return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -21046,249 +23956,519 @@ func (akvsr AzureKeyVaultSecretReference) AsBasicSecretBase() (BasicSecretBase, return &akvsr, true } -// AzureMLBatchExecutionActivity azure ML Batch Execution activity. -type AzureMLBatchExecutionActivity struct { - // AzureMLBatchExecutionActivityTypeProperties - Azure ML Batch Execution activity properties. - *AzureMLBatchExecutionActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// AzureMariaDBLinkedService azure Database for MariaDB linked service. +type AzureMariaDBLinkedService struct { + // AzureMariaDBLinkedServiceTypeProperties - Azure Database for MariaDB linked service properties. + *AzureMariaDBLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) MarshalJSON() ([]byte, error) { - ambea.Type = TypeAzureMLBatchExecution +// MarshalJSON is the custom marshaler for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) MarshalJSON() ([]byte, error) { + amdls.Type = TypeAzureMariaDB objectMap := make(map[string]interface{}) - if ambea.AzureMLBatchExecutionActivityTypeProperties != nil { - objectMap["typeProperties"] = ambea.AzureMLBatchExecutionActivityTypeProperties - } - if ambea.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ambea.LinkedServiceName + if amdls.AzureMariaDBLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = amdls.AzureMariaDBLinkedServiceTypeProperties } - if ambea.Policy != nil { - objectMap["policy"] = ambea.Policy - } - if ambea.Name != nil { - objectMap["name"] = ambea.Name + if amdls.ConnectVia != nil { + objectMap["connectVia"] = amdls.ConnectVia } - if ambea.Description != nil { - objectMap["description"] = ambea.Description + if amdls.Description != nil { + objectMap["description"] = amdls.Description } - if ambea.DependsOn != nil { - objectMap["dependsOn"] = ambea.DependsOn + if amdls.Parameters != nil { + objectMap["parameters"] = amdls.Parameters } - if ambea.UserProperties != nil { - objectMap["userProperties"] = ambea.UserProperties + if amdls.Annotations != nil { + objectMap["annotations"] = amdls.Annotations } - if ambea.Type != "" { - objectMap["type"] = ambea.Type + if amdls.Type != "" { + objectMap["type"] = amdls.Type } - for k, v := range ambea.AdditionalProperties { + for k, v := range amdls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { - return &ambea, true +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ambea, true +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return &amdls, true +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsControlActivity() (*ControlActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsActivity() (*Activity, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. -func (ambea AzureMLBatchExecutionActivity) AsBasicActivity() (BasicActivity, bool) { - return &ambea, true +// AsConcurLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureMLBatchExecutionActivity struct. -func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for AzureMariaDBLinkedService. +func (amdls AzureMariaDBLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &amdls, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureMariaDBLinkedService struct. +func (amdls *AzureMariaDBLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -21298,30 +24478,12 @@ func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureMLBatchExecutionActivityTypeProperties AzureMLBatchExecutionActivityTypeProperties - err = json.Unmarshal(*v, &azureMLBatchExecutionActivityTypeProperties) - if err != nil { - return err - } - ambea.AzureMLBatchExecutionActivityTypeProperties = &azureMLBatchExecutionActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - ambea.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var azureMariaDBLinkedServiceTypeProperties AzureMariaDBLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureMariaDBLinkedServiceTypeProperties) if err != nil { return err } - ambea.Policy = &policy + amdls.AzureMariaDBLinkedServiceTypeProperties = &azureMariaDBLinkedServiceTypeProperties } default: if v != nil { @@ -21330,19 +24492,19 @@ func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ambea.AdditionalProperties == nil { - ambea.AdditionalProperties = make(map[string]interface{}) + if amdls.AdditionalProperties == nil { + amdls.AdditionalProperties = make(map[string]interface{}) } - ambea.AdditionalProperties[k] = additionalProperties + amdls.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 } - ambea.Name = &name + amdls.ConnectVia = &connectVia } case "description": if v != nil { @@ -21351,34 +24513,34 @@ func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - ambea.Description = &description + amdls.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 } - ambea.DependsOn = &dependsOn + amdls.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 } - ambea.UserProperties = &userProperties + amdls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ambea.Type = typeVar + amdls.Type = typeVar } } } @@ -21386,539 +24548,504 @@ func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error { return nil } -// AzureMLBatchExecutionActivityTypeProperties azure ML Batch Execution activity properties. -type AzureMLBatchExecutionActivityTypeProperties struct { - // GlobalParameters - Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. - GlobalParameters map[string]interface{} `json:"globalParameters"` - // WebServiceOutputs - Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. - WebServiceOutputs map[string]*AzureMLWebServiceFile `json:"webServiceOutputs"` - // WebServiceInputs - Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. - WebServiceInputs map[string]*AzureMLWebServiceFile `json:"webServiceInputs"` -} - -// MarshalJSON is the custom marshaler for AzureMLBatchExecutionActivityTypeProperties. -func (ambeatp AzureMLBatchExecutionActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ambeatp.GlobalParameters != nil { - objectMap["globalParameters"] = ambeatp.GlobalParameters - } - if ambeatp.WebServiceOutputs != nil { - objectMap["webServiceOutputs"] = ambeatp.WebServiceOutputs - } - if ambeatp.WebServiceInputs != nil { - objectMap["webServiceInputs"] = ambeatp.WebServiceInputs - } - return json.Marshal(objectMap) +// AzureMariaDBLinkedServiceTypeProperties azure Database for MariaDB linked service properties. +type AzureMariaDBLinkedServiceTypeProperties 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"` } -// AzureMLLinkedService azure ML Web Service linked service. -type AzureMLLinkedService struct { - // AzureMLLinkedServiceTypeProperties - Azure ML Web Service linked service properties. - *AzureMLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureMariaDBSource a copy activity Azure MariaDB source. +type AzureMariaDBSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureMLLinkedService. -func (amls AzureMLLinkedService) MarshalJSON() ([]byte, error) { - amls.Type = TypeAzureML +// MarshalJSON is the custom marshaler for AzureMariaDBSource. +func (amds AzureMariaDBSource) MarshalJSON() ([]byte, error) { + amds.Type = TypeAzureMariaDBSource objectMap := make(map[string]interface{}) - if amls.AzureMLLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = amls.AzureMLLinkedServiceTypeProperties + if amds.Query != nil { + objectMap["query"] = amds.Query } - if amls.ConnectVia != nil { - objectMap["connectVia"] = amls.ConnectVia + if amds.QueryTimeout != nil { + objectMap["queryTimeout"] = amds.QueryTimeout } - if amls.Description != nil { - objectMap["description"] = amls.Description + if amds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = amds.SourceRetryCount } - if amls.Parameters != nil { - objectMap["parameters"] = amls.Parameters + if amds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = amds.SourceRetryWait } - if amls.Annotations != nil { - objectMap["annotations"] = amls.Annotations + if amds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = amds.MaxConcurrentConnections } - if amls.Type != "" { - objectMap["type"] = amls.Type + if amds.Type != "" { + objectMap["type"] = amds.Type } - for k, v := range amls.AdditionalProperties { + for k, v := range amds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return &amds, true } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return &amls, true -} - -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &amds, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. -func (amls AzureMLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &amls, true +// AsBasicCopySource is the BasicCopySource implementation for AzureMariaDBSource. +func (amds AzureMariaDBSource) AsBasicCopySource() (BasicCopySource, bool) { + return &amds, true } -// UnmarshalJSON is the custom unmarshaler for AzureMLLinkedService struct. -func (amls *AzureMLLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureMariaDBSource struct. +func (amds *AzureMariaDBSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -21926,165 +25053,71 @@ func (amls *AzureMLLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var azureMLLinkedServiceTypeProperties AzureMLLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureMLLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - amls.AzureMLLinkedServiceTypeProperties = &azureMLLinkedServiceTypeProperties + amds.Query = query } - default: + case "queryTimeout": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - if amls.AdditionalProperties == nil { - amls.AdditionalProperties = make(map[string]interface{}) - } - amls.AdditionalProperties[k] = additionalProperties + amds.QueryTimeout = queryTimeout } - 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 } - amls.ConnectVia = &connectVia + if amds.AdditionalProperties == nil { + amds.AdditionalProperties = make(map[string]interface{}) + } + amds.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 } - amls.Description = &description + amds.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 } - amls.Parameters = parameters + amds.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 } - amls.Annotations = &annotations + amds.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - amls.Type = typeVar - } - } - } - - return nil -} - -// AzureMLLinkedServiceTypeProperties azure ML Web Service linked service properties. -type AzureMLLinkedServiceTypeProperties struct { - // MlEndpoint - The Batch Execution REST URL for an Azure ML Web Service endpoint. Type: string (or Expression with resultType string). - MlEndpoint interface{} `json:"mlEndpoint,omitempty"` - // APIKey - The API key for accessing the Azure ML model endpoint. - APIKey BasicSecretBase `json:"apiKey,omitempty"` - // UpdateResourceEndpoint - The Update Resource REST URL for an Azure ML Web Service endpoint. Type: string (or Expression with resultType string). - UpdateResourceEndpoint interface{} `json:"updateResourceEndpoint,omitempty"` - // ServicePrincipalID - The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service. Type: string (or Expression with resultType string). - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // ServicePrincipalKey - The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service. - 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 AzureMLLinkedServiceTypeProperties struct. -func (amlstp *AzureMLLinkedServiceTypeProperties) 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 "mlEndpoint": - if v != nil { - var mlEndpoint interface{} - err = json.Unmarshal(*v, &mlEndpoint) - if err != nil { - return err - } - amlstp.MlEndpoint = mlEndpoint - } - case "apiKey": - if v != nil { - APIKey, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - amlstp.APIKey = APIKey - } - case "updateResourceEndpoint": - if v != nil { - var updateResourceEndpoint interface{} - err = json.Unmarshal(*v, &updateResourceEndpoint) - if err != nil { - return err - } - amlstp.UpdateResourceEndpoint = updateResourceEndpoint - } - case "servicePrincipalId": - if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) - if err != nil { - return err - } - amlstp.ServicePrincipalID = servicePrincipalID - } - case "servicePrincipalKey": - if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - amlstp.ServicePrincipalKey = servicePrincipalKey - } - case "tenant": - if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) - if err != nil { - return err - } - amlstp.Tenant = tenant - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - amlstp.EncryptedCredential = encryptedCredential + amds.Type = typeVar } } } @@ -22092,872 +25125,853 @@ func (amlstp *AzureMLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err return nil } -// AzureMLUpdateResourceActivity azure ML Update Resource management activity. -type AzureMLUpdateResourceActivity struct { - // AzureMLUpdateResourceActivityTypeProperties - Azure ML Update Resource management activity properties. - *AzureMLUpdateResourceActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// AzureMariaDBTableDataset azure Database for MariaDB dataset. +type AzureMariaDBTableDataset 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) MarshalJSON() ([]byte, error) { - amura.Type = TypeAzureMLUpdateResource +// MarshalJSON is the custom marshaler for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) MarshalJSON() ([]byte, error) { + amdtd.Type = TypeAzureMariaDBTable objectMap := make(map[string]interface{}) - if amura.AzureMLUpdateResourceActivityTypeProperties != nil { - objectMap["typeProperties"] = amura.AzureMLUpdateResourceActivityTypeProperties + if amdtd.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = amdtd.GenericDatasetTypeProperties } - if amura.LinkedServiceName != nil { - objectMap["linkedServiceName"] = amura.LinkedServiceName + if amdtd.Description != nil { + objectMap["description"] = amdtd.Description } - if amura.Policy != nil { - objectMap["policy"] = amura.Policy + if amdtd.Structure != nil { + objectMap["structure"] = amdtd.Structure } - if amura.Name != nil { - objectMap["name"] = amura.Name + if amdtd.Schema != nil { + objectMap["schema"] = amdtd.Schema } - if amura.Description != nil { - objectMap["description"] = amura.Description + if amdtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = amdtd.LinkedServiceName } - if amura.DependsOn != nil { - objectMap["dependsOn"] = amura.DependsOn + if amdtd.Parameters != nil { + objectMap["parameters"] = amdtd.Parameters } - if amura.UserProperties != nil { - objectMap["userProperties"] = amura.UserProperties + if amdtd.Annotations != nil { + objectMap["annotations"] = amdtd.Annotations } - if amura.Type != "" { - objectMap["type"] = amura.Type + if amdtd.Folder != nil { + objectMap["folder"] = amdtd.Folder } - for k, v := range amura.AdditionalProperties { + if amdtd.Type != "" { + objectMap["type"] = amdtd.Type + } + for k, v := range amdtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { - return &amura, true +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { + return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsWebActivity() (*WebActivity, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return &amdtd, true +} + +// AsMariaDBTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &amura, true +// AsImpalaObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsActivity() (*Activity, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. -func (amura AzureMLUpdateResourceActivity) AsBasicActivity() (BasicActivity, bool) { - return &amura, true +// AsWebTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureMLUpdateResourceActivity struct. -func (amura *AzureMLUpdateResourceActivity) 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 azureMLUpdateResourceActivityTypeProperties AzureMLUpdateResourceActivityTypeProperties - err = json.Unmarshal(*v, &azureMLUpdateResourceActivityTypeProperties) - if err != nil { - return err - } - amura.AzureMLUpdateResourceActivityTypeProperties = &azureMLUpdateResourceActivityTypeProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - amura.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err - } - amura.Policy = &policy - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if amura.AdditionalProperties == nil { - amura.AdditionalProperties = make(map[string]interface{}) - } - amura.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - amura.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - amura.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - amura.DependsOn = &dependsOn - } - case "userProperties": - if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) - if err != nil { - return err - } - amura.UserProperties = &userProperties - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - amura.Type = typeVar - } - } - } - - return nil -} - -// AzureMLUpdateResourceActivityTypeProperties azure ML Update Resource activity properties. -type AzureMLUpdateResourceActivityTypeProperties struct { - // TrainedModelName - Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). - TrainedModelName interface{} `json:"trainedModelName,omitempty"` - // TrainedModelLinkedServiceName - Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. - TrainedModelLinkedServiceName *LinkedServiceReference `json:"trainedModelLinkedServiceName,omitempty"` - // TrainedModelFilePath - The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). - TrainedModelFilePath interface{} `json:"trainedModelFilePath,omitempty"` -} - -// AzureMLWebServiceFile azure ML WebService Input/Output file -type AzureMLWebServiceFile struct { - // FilePath - The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string). - FilePath interface{} `json:"filePath,omitempty"` - // LinkedServiceName - Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` -} - -// AzureMySQLLinkedService azure MySQL database linked service. -type AzureMySQLLinkedService struct { - // AzureMySQLLinkedServiceTypeProperties - Azure MySQL database linked service properties. - *AzureMySQLLinkedServiceTypeProperties `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 AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) MarshalJSON() ([]byte, error) { - amsls.Type = TypeAzureMySQL - objectMap := make(map[string]interface{}) - if amsls.AzureMySQLLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = amsls.AzureMySQLLinkedServiceTypeProperties - } - if amsls.ConnectVia != nil { - objectMap["connectVia"] = amsls.ConnectVia - } - if amsls.Description != nil { - objectMap["description"] = amsls.Description - } - if amsls.Parameters != nil { - objectMap["parameters"] = amsls.Parameters - } - if amsls.Annotations != nil { - objectMap["annotations"] = amsls.Annotations - } - if amsls.Type != "" { - objectMap["type"] = amsls.Type - } - for k, v := range amsls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for AzureMariaDBTableDataset. +func (amdtd AzureMariaDBTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &amdtd, true } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for AzureMariaDBTableDataset struct. +func (amdtd *AzureMariaDBTableDataset) 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 + } + amdtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if amdtd.AdditionalProperties == nil { + amdtd.AdditionalProperties = make(map[string]interface{}) + } + amdtd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + amdtd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + amdtd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + amdtd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + amdtd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + amdtd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + amdtd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + amdtd.Folder = &folder + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + amdtd.Type = typeVar + } + } + } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false + return nil } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false +// AzureMLBatchExecutionActivity azure ML Batch Execution activity. +type AzureMLBatchExecutionActivity struct { + // AzureMLBatchExecutionActivityTypeProperties - Azure ML Batch Execution activity properties. + *AzureMLBatchExecutionActivityTypeProperties `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"` } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) MarshalJSON() ([]byte, error) { + ambea.Type = TypeAzureMLBatchExecution + objectMap := make(map[string]interface{}) + if ambea.AzureMLBatchExecutionActivityTypeProperties != nil { + objectMap["typeProperties"] = ambea.AzureMLBatchExecutionActivityTypeProperties + } + if ambea.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ambea.LinkedServiceName + } + if ambea.Policy != nil { + objectMap["policy"] = ambea.Policy + } + if ambea.Name != nil { + objectMap["name"] = ambea.Name + } + if ambea.Description != nil { + objectMap["description"] = ambea.Description + } + if ambea.DependsOn != nil { + objectMap["dependsOn"] = ambea.DependsOn + } + if ambea.UserProperties != nil { + objectMap["userProperties"] = ambea.UserProperties + } + if ambea.Type != "" { + objectMap["type"] = ambea.Type + } + for k, v := range ambea.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return &ambea, true } -// AsWebLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return &amsls, true -} - -// AsOracleLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ambea, true } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. -func (amsls AzureMySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &amsls, true +// AsBasicActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsBasicActivity() (BasicActivity, bool) { + return &ambea, true } -// UnmarshalJSON is the custom unmarshaler for AzureMySQLLinkedService struct. -func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureMLBatchExecutionActivity struct. +func (ambea *AzureMLBatchExecutionActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -22967,12 +25981,30 @@ func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureMySQLLinkedServiceTypeProperties AzureMySQLLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureMySQLLinkedServiceTypeProperties) + var azureMLBatchExecutionActivityTypeProperties AzureMLBatchExecutionActivityTypeProperties + err = json.Unmarshal(*v, &azureMLBatchExecutionActivityTypeProperties) if err != nil { return err } - amsls.AzureMySQLLinkedServiceTypeProperties = &azureMySQLLinkedServiceTypeProperties + ambea.AzureMLBatchExecutionActivityTypeProperties = &azureMLBatchExecutionActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ambea.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + ambea.Policy = &policy } default: if v != nil { @@ -22981,19 +26013,19 @@ func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if amsls.AdditionalProperties == nil { - amsls.AdditionalProperties = make(map[string]interface{}) + if ambea.AdditionalProperties == nil { + ambea.AdditionalProperties = make(map[string]interface{}) } - amsls.AdditionalProperties[k] = additionalProperties + ambea.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "name": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - amsls.ConnectVia = &connectVia + ambea.Name = &name } case "description": if v != nil { @@ -23002,34 +26034,34 @@ func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - amsls.Description = &description + ambea.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - amsls.Parameters = parameters + ambea.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - amsls.Annotations = &annotations + ambea.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - amsls.Type = typeVar + ambea.Type = typeVar } } } @@ -23037,1002 +26069,960 @@ func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { return nil } -// AzureMySQLLinkedServiceTypeProperties azure MySQL database linked service properties. -type AzureMySQLLinkedServiceTypeProperties 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"` +// AzureMLBatchExecutionActivityTypeProperties azure ML Batch Execution activity properties. +type AzureMLBatchExecutionActivityTypeProperties struct { + // GlobalParameters - Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. + GlobalParameters map[string]interface{} `json:"globalParameters"` + // WebServiceOutputs - Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. + WebServiceOutputs map[string]*AzureMLWebServiceFile `json:"webServiceOutputs"` + // WebServiceInputs - Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. + WebServiceInputs map[string]*AzureMLWebServiceFile `json:"webServiceInputs"` } -// AzureMySQLSource a copy activity Azure MySQL source. -type AzureMySQLSource struct { - // Query - Database query. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// MarshalJSON is the custom marshaler for AzureMLBatchExecutionActivityTypeProperties. +func (ambeatp AzureMLBatchExecutionActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ambeatp.GlobalParameters != nil { + objectMap["globalParameters"] = ambeatp.GlobalParameters + } + if ambeatp.WebServiceOutputs != nil { + objectMap["webServiceOutputs"] = ambeatp.WebServiceOutputs + } + if ambeatp.WebServiceInputs != nil { + objectMap["webServiceInputs"] = ambeatp.WebServiceInputs + } + return json.Marshal(objectMap) +} + +// AzureMLLinkedService azure ML Web Service linked service. +type AzureMLLinkedService struct { + // AzureMLLinkedServiceTypeProperties - Azure ML Web Service linked service properties. + *AzureMLLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 AzureMySQLSource. -func (amss AzureMySQLSource) MarshalJSON() ([]byte, error) { - amss.Type = TypeAzureMySQLSource +// MarshalJSON is the custom marshaler for AzureMLLinkedService. +func (amls AzureMLLinkedService) MarshalJSON() ([]byte, error) { + amls.Type = TypeAzureML objectMap := make(map[string]interface{}) - if amss.Query != nil { - objectMap["query"] = amss.Query + if amls.AzureMLLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = amls.AzureMLLinkedServiceTypeProperties } - if amss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = amss.SourceRetryCount + if amls.ConnectVia != nil { + objectMap["connectVia"] = amls.ConnectVia } - if amss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = amss.SourceRetryWait + if amls.Description != nil { + objectMap["description"] = amls.Description } - if amss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = amss.MaxConcurrentConnections + if amls.Parameters != nil { + objectMap["parameters"] = amls.Parameters } - if amss.Type != "" { - objectMap["type"] = amss.Type + if amls.Annotations != nil { + objectMap["annotations"] = amls.Annotations } - for k, v := range amss.AdditionalProperties { + if amls.Type != "" { + objectMap["type"] = amls.Type + } + for k, v := range amls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDrillSource() (*DrillSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsConcurSource() (*ConcurSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsHTTPSource() (*HTTPSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsOffice365Source() (*Office365Source, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsWebSource() (*WebSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsTeradataSource() (*TeradataSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return &amss, true +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSQLMISource() (*SQLMISource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsODataSource() (*ODataSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsSybaseSource() (*SybaseSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMySQLSource() (*MySQLSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsOdbcSource() (*OdbcSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return &amls, true +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsInformixSource() (*InformixSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsBlobSource() (*BlobSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsBinarySource() (*BinarySource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsCopySource() (*CopySource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for AzureMySQLSource. -func (amss AzureMySQLSource) AsBasicCopySource() (BasicCopySource, bool) { - return &amss, true +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureMySQLSource struct. -func (amss *AzureMySQLSource) 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 - } - amss.Query = query - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if amss.AdditionalProperties == nil { - amss.AdditionalProperties = make(map[string]interface{}) - } - amss.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - amss.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - amss.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - amss.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - amss.Type = typeVar - } - } - } - - return nil -} - -// AzureMySQLTableDataset the Azure MySQL database dataset. -type AzureMySQLTableDataset struct { - // AzureMySQLTableDatasetTypeProperties - Azure MySQL database dataset properties. - *AzureMySQLTableDatasetTypeProperties `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 AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) MarshalJSON() ([]byte, error) { - amstd.Type = TypeAzureMySQLTable - objectMap := make(map[string]interface{}) - if amstd.AzureMySQLTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = amstd.AzureMySQLTableDatasetTypeProperties - } - if amstd.Description != nil { - objectMap["description"] = amstd.Description - } - if amstd.Structure != nil { - objectMap["structure"] = amstd.Structure - } - if amstd.Schema != nil { - objectMap["schema"] = amstd.Schema - } - if amstd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = amstd.LinkedServiceName - } - if amstd.Parameters != nil { - objectMap["parameters"] = amstd.Parameters - } - if amstd.Annotations != nil { - objectMap["annotations"] = amstd.Annotations - } - if amstd.Folder != nil { - objectMap["folder"] = amstd.Folder - } - if amstd.Type != "" { - objectMap["type"] = amstd.Type - } - for k, v := range amstd.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false +// AsBasicLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &amls, true } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for AzureMLLinkedService struct. +func (amls *AzureMLLinkedService) 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 azureMLLinkedServiceTypeProperties AzureMLLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureMLLinkedServiceTypeProperties) + if err != nil { + return err + } + amls.AzureMLLinkedServiceTypeProperties = &azureMLLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if amls.AdditionalProperties == nil { + amls.AdditionalProperties = make(map[string]interface{}) + } + amls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + amls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + amls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + amls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + amls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + amls.Type = typeVar + } + } + } -// AsWebTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false + return nil } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false +// AzureMLLinkedServiceTypeProperties azure ML Web Service linked service properties. +type AzureMLLinkedServiceTypeProperties struct { + // MlEndpoint - The Batch Execution REST URL for an Azure ML Web Service endpoint. Type: string (or Expression with resultType string). + MlEndpoint interface{} `json:"mlEndpoint,omitempty"` + // APIKey - The API key for accessing the Azure ML model endpoint. + APIKey BasicSecretBase `json:"apiKey,omitempty"` + // UpdateResourceEndpoint - The Update Resource REST URL for an Azure ML Web Service endpoint. Type: string (or Expression with resultType string). + UpdateResourceEndpoint interface{} `json:"updateResourceEndpoint,omitempty"` + // ServicePrincipalID - The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML web service. + 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"` } -// AsRestResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for AzureMLLinkedServiceTypeProperties struct. +func (amlstp *AzureMLLinkedServiceTypeProperties) 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 "mlEndpoint": + if v != nil { + var mlEndpoint interface{} + err = json.Unmarshal(*v, &mlEndpoint) + if err != nil { + return err + } + amlstp.MlEndpoint = mlEndpoint + } + case "apiKey": + if v != nil { + APIKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + amlstp.APIKey = APIKey + } + case "updateResourceEndpoint": + if v != nil { + var updateResourceEndpoint interface{} + err = json.Unmarshal(*v, &updateResourceEndpoint) + if err != nil { + return err + } + amlstp.UpdateResourceEndpoint = updateResourceEndpoint + } + case "servicePrincipalId": + if v != nil { + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) + if err != nil { + return err + } + amlstp.ServicePrincipalID = servicePrincipalID + } + case "servicePrincipalKey": + if v != nil { + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + amlstp.ServicePrincipalKey = servicePrincipalKey + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + amlstp.Tenant = tenant + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + amlstp.EncryptedCredential = encryptedCredential + } + } + } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false + return nil } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false +// AzureMLUpdateResourceActivity azure ML Update Resource management activity. +type AzureMLUpdateResourceActivity struct { + // AzureMLUpdateResourceActivityTypeProperties - Azure ML Update Resource management activity properties. + *AzureMLUpdateResourceActivityTypeProperties `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"` } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) MarshalJSON() ([]byte, error) { + amura.Type = TypeAzureMLUpdateResource + objectMap := make(map[string]interface{}) + if amura.AzureMLUpdateResourceActivityTypeProperties != nil { + objectMap["typeProperties"] = amura.AzureMLUpdateResourceActivityTypeProperties + } + if amura.LinkedServiceName != nil { + objectMap["linkedServiceName"] = amura.LinkedServiceName + } + if amura.Policy != nil { + objectMap["policy"] = amura.Policy + } + if amura.Name != nil { + objectMap["name"] = amura.Name + } + if amura.Description != nil { + objectMap["description"] = amura.Description + } + if amura.DependsOn != nil { + objectMap["dependsOn"] = amura.DependsOn + } + if amura.UserProperties != nil { + objectMap["userProperties"] = amura.UserProperties + } + if amura.Type != "" { + objectMap["type"] = amura.Type + } + for k, v := range amura.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { - return nil, false +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return &amura, true } -// AsMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsWebActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return &amstd, true -} - -// AsTeradataTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &amura, true } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsControlActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsDataset() (*Dataset, bool) { +// AsActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureMySQLTableDataset. -func (amstd AzureMySQLTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &amstd, true +// AsBasicActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsBasicActivity() (BasicActivity, bool) { + return &amura, true } -// UnmarshalJSON is the custom unmarshaler for AzureMySQLTableDataset struct. -func (amstd *AzureMySQLTableDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureMLUpdateResourceActivity struct. +func (amura *AzureMLUpdateResourceActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -24042,96 +27032,87 @@ func (amstd *AzureMySQLTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureMySQLTableDatasetTypeProperties AzureMySQLTableDatasetTypeProperties - err = json.Unmarshal(*v, &azureMySQLTableDatasetTypeProperties) + var azureMLUpdateResourceActivityTypeProperties AzureMLUpdateResourceActivityTypeProperties + err = json.Unmarshal(*v, &azureMLUpdateResourceActivityTypeProperties) if err != nil { return err } - amstd.AzureMySQLTableDatasetTypeProperties = &azureMySQLTableDatasetTypeProperties + amura.AzureMLUpdateResourceActivityTypeProperties = &azureMLUpdateResourceActivityTypeProperties } - 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 amstd.AdditionalProperties == nil { - amstd.AdditionalProperties = make(map[string]interface{}) - } - amstd.AdditionalProperties[k] = additionalProperties + amura.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 } - amstd.Description = &description + amura.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 } - amstd.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err + if amura.AdditionalProperties == nil { + amura.AdditionalProperties = make(map[string]interface{}) } - amstd.Schema = schema + amura.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 } - amstd.LinkedServiceName = &linkedServiceName + amura.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 } - amstd.Parameters = parameters + amura.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 } - amstd.Annotations = &annotations + amura.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 } - amstd.Folder = &folder + amura.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - amstd.Type = typeVar + amura.Type = typeVar } } } @@ -24139,16 +27120,28 @@ func (amstd *AzureMySQLTableDataset) UnmarshalJSON(body []byte) error { return nil } -// AzureMySQLTableDatasetTypeProperties azure MySQL database dataset properties. -type AzureMySQLTableDatasetTypeProperties struct { - // TableName - The Azure MySQL database table name. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` +// AzureMLUpdateResourceActivityTypeProperties azure ML Update Resource activity properties. +type AzureMLUpdateResourceActivityTypeProperties struct { + // TrainedModelName - Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). + TrainedModelName interface{} `json:"trainedModelName,omitempty"` + // TrainedModelLinkedServiceName - Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. + TrainedModelLinkedServiceName *LinkedServiceReference `json:"trainedModelLinkedServiceName,omitempty"` + // TrainedModelFilePath - The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). + TrainedModelFilePath interface{} `json:"trainedModelFilePath,omitempty"` } -// AzurePostgreSQLLinkedService azure PostgreSQL linked service. -type AzurePostgreSQLLinkedService struct { - // AzurePostgreSQLLinkedServiceTypeProperties - Azure PostgreSQL linked service properties. - *AzurePostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureMLWebServiceFile azure ML WebService Input/Output file +type AzureMLWebServiceFile struct { + // FilePath - The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string). + FilePath interface{} `json:"filePath,omitempty"` + // LinkedServiceName - Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` +} + +// AzureMySQLLinkedService azure MySQL database linked service. +type AzureMySQLLinkedService struct { + // AzureMySQLLinkedServiceTypeProperties - Azure MySQL database linked service properties. + *AzureMySQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -24159,500 +27152,505 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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 AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) MarshalJSON() ([]byte, error) { - apsls.Type = TypeAzurePostgreSQL +// MarshalJSON is the custom marshaler for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) MarshalJSON() ([]byte, error) { + amsls.Type = TypeAzureMySQL objectMap := make(map[string]interface{}) - if apsls.AzurePostgreSQLLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = apsls.AzurePostgreSQLLinkedServiceTypeProperties + if amsls.AzureMySQLLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = amsls.AzureMySQLLinkedServiceTypeProperties } - if apsls.ConnectVia != nil { - objectMap["connectVia"] = apsls.ConnectVia + if amsls.ConnectVia != nil { + objectMap["connectVia"] = amsls.ConnectVia } - if apsls.Description != nil { - objectMap["description"] = apsls.Description + if amsls.Description != nil { + objectMap["description"] = amsls.Description } - if apsls.Parameters != nil { - objectMap["parameters"] = apsls.Parameters + if amsls.Parameters != nil { + objectMap["parameters"] = amsls.Parameters } - if apsls.Annotations != nil { - objectMap["annotations"] = apsls.Annotations + if amsls.Annotations != nil { + objectMap["annotations"] = amsls.Annotations } - if apsls.Type != "" { - objectMap["type"] = apsls.Type + if amsls.Type != "" { + objectMap["type"] = amsls.Type } - for k, v := range apsls.AdditionalProperties { + for k, v := range amsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return &apsls, true -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return &amsls, true +} + +// AsOracleLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. -func (apsls AzurePostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &apsls, true +// AsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLLinkedService struct. -func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { +// AsBasicLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &amsls, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureMySQLLinkedService struct. +func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -24662,12 +27660,12 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azurePostgreSQLLinkedServiceTypeProperties AzurePostgreSQLLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azurePostgreSQLLinkedServiceTypeProperties) + var azureMySQLLinkedServiceTypeProperties AzureMySQLLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureMySQLLinkedServiceTypeProperties) if err != nil { return err } - apsls.AzurePostgreSQLLinkedServiceTypeProperties = &azurePostgreSQLLinkedServiceTypeProperties + amsls.AzureMySQLLinkedServiceTypeProperties = &azureMySQLLinkedServiceTypeProperties } default: if v != nil { @@ -24676,10 +27674,10 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if apsls.AdditionalProperties == nil { - apsls.AdditionalProperties = make(map[string]interface{}) + if amsls.AdditionalProperties == nil { + amsls.AdditionalProperties = make(map[string]interface{}) } - apsls.AdditionalProperties[k] = additionalProperties + amsls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -24688,7 +27686,7 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - apsls.ConnectVia = &connectVia + amsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -24697,7 +27695,7 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - apsls.Description = &description + amsls.Description = &description } case "parameters": if v != nil { @@ -24706,7 +27704,7 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - apsls.Parameters = parameters + amsls.Parameters = parameters } case "annotations": if v != nil { @@ -24715,7 +27713,7 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - apsls.Annotations = &annotations + amsls.Annotations = &annotations } case "type": if v != nil { @@ -24724,7 +27722,7 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - apsls.Type = typeVar + amsls.Type = typeVar } } } @@ -24732,9 +27730,9 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { return nil } -// AzurePostgreSQLLinkedServiceTypeProperties azure PostgreSQL linked service properties. -type AzurePostgreSQLLinkedServiceTypeProperties struct { - // ConnectionString - An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. +// AzureMySQLLinkedServiceTypeProperties azure MySQL database linked service properties. +type AzureMySQLLinkedServiceTypeProperties 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"` @@ -24742,8 +27740,8 @@ type AzurePostgreSQLLinkedServiceTypeProperties struct { EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// AzurePostgreSQLSink a copy activity Azure PostgreSQL sink. -type AzurePostgreSQLSink struct { +// AzureMySQLSink a copy activity Azure MySql sink. +type AzureMySQLSink 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 @@ -24758,198 +27756,213 @@ type AzurePostgreSQLSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) MarshalJSON() ([]byte, error) { - apss.Type = TypeAzurePostgreSQLSink +// MarshalJSON is the custom marshaler for AzureMySQLSink. +func (amss AzureMySQLSink) MarshalJSON() ([]byte, error) { + amss.Type = TypeAzureMySQLSink objectMap := make(map[string]interface{}) - if apss.PreCopyScript != nil { - objectMap["preCopyScript"] = apss.PreCopyScript + if amss.PreCopyScript != nil { + objectMap["preCopyScript"] = amss.PreCopyScript } - if apss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = apss.WriteBatchSize + if amss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = amss.WriteBatchSize } - if apss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = apss.WriteBatchTimeout + if amss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = amss.WriteBatchTimeout } - if apss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = apss.SinkRetryCount + if amss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = amss.SinkRetryCount } - if apss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = apss.SinkRetryWait + if amss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = amss.SinkRetryWait } - if apss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = apss.MaxConcurrentConnections + if amss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = amss.MaxConcurrentConnections } - if apss.Type != "" { - objectMap["type"] = apss.Type + if amss.Type != "" { + objectMap["type"] = amss.Type } - for k, v := range apss.AdditionalProperties { + for k, v := range amss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsInformixSink() (*InformixSink, bool) { +// AsInformixSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSQLMISink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSQLSink() (*SQLSink, bool) { +// AsSQLSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsBlobSink() (*BlobSink, bool) { +// AsBlobSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsBinarySink() (*BinarySink, bool) { +// AsBinarySink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsParquetSink() (*ParquetSink, bool) { +// AsParquetSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAvroSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureTableSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { - return &apss, true +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return &amss, true +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsCopySink() (*CopySink, bool) { +// AsJSONSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzurePostgreSQLSink. -func (apss AzurePostgreSQLSink) AsBasicCopySink() (BasicCopySink, bool) { - return &apss, true +// AsDelimitedTextSink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLSink struct. -func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { +// AsCopySink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for AzureMySQLSink. +func (amss AzureMySQLSink) AsBasicCopySink() (BasicCopySink, bool) { + return &amss, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureMySQLSink struct. +func (amss *AzureMySQLSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -24964,7 +27977,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.PreCopyScript = preCopyScript + amss.PreCopyScript = preCopyScript } default: if v != nil { @@ -24973,10 +27986,10 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if apss.AdditionalProperties == nil { - apss.AdditionalProperties = make(map[string]interface{}) + if amss.AdditionalProperties == nil { + amss.AdditionalProperties = make(map[string]interface{}) } - apss.AdditionalProperties[k] = additionalProperties + amss.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -24985,7 +27998,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.WriteBatchSize = writeBatchSize + amss.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -24994,7 +28007,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.WriteBatchTimeout = writeBatchTimeout + amss.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -25003,7 +28016,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.SinkRetryCount = sinkRetryCount + amss.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -25012,7 +28025,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.SinkRetryWait = sinkRetryWait + amss.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -25021,7 +28034,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.MaxConcurrentConnections = maxConcurrentConnections + amss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -25030,7 +28043,7 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.Type = typeVar + amss.Type = typeVar } } } @@ -25038,10 +28051,12 @@ func (apss *AzurePostgreSQLSink) UnmarshalJSON(body []byte) error { 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). +// AzureMySQLSource a copy activity Azure MySQL source. +type AzureMySQLSource struct { + // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -25050,447 +28065,480 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) MarshalJSON() ([]byte, error) { - apss.Type = TypeAzurePostgreSQLSource +// MarshalJSON is the custom marshaler for AzureMySQLSource. +func (amss AzureMySQLSource) MarshalJSON() ([]byte, error) { + amss.Type = TypeAzureMySQLSource objectMap := make(map[string]interface{}) - if apss.Query != nil { - objectMap["query"] = apss.Query + if amss.Query != nil { + objectMap["query"] = amss.Query } - if apss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = apss.SourceRetryCount + if amss.QueryTimeout != nil { + objectMap["queryTimeout"] = amss.QueryTimeout } - if apss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = apss.SourceRetryWait + if amss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = amss.SourceRetryCount } - if apss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = apss.MaxConcurrentConnections + if amss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = amss.SourceRetryWait } - if apss.Type != "" { - objectMap["type"] = apss.Type + if amss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = amss.MaxConcurrentConnections } - for k, v := range apss.AdditionalProperties { + if amss.Type != "" { + objectMap["type"] = amss.Type + } + for k, v := range amss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return &apss, true +// AsSquareSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return &amss, true +} + +// AsSQLDWSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsODataSource() (*ODataSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDb2Source() (*Db2Source, bool) { +// AsSapEccSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsInformixSource() (*InformixSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsBlobSource() (*BlobSource, bool) { +// AsDb2Source is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &amss, true +} + +// AsBinarySource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsCopySource() (*CopySource, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for AzurePostgreSQLSource. -func (apss AzurePostgreSQLSource) AsBasicCopySource() (BasicCopySource, bool) { - return &apss, true +// AsDelimitedTextSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLSource struct. -func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { +// AsParquetSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &amss, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureMySQLSource struct. +func (amss *AzureMySQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -25505,7 +28553,16 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.Query = query + amss.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + amss.QueryTimeout = queryTimeout } default: if v != nil { @@ -25514,10 +28571,10 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if apss.AdditionalProperties == nil { - apss.AdditionalProperties = make(map[string]interface{}) + if amss.AdditionalProperties == nil { + amss.AdditionalProperties = make(map[string]interface{}) } - apss.AdditionalProperties[k] = additionalProperties + amss.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -25526,7 +28583,7 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.SourceRetryCount = sourceRetryCount + amss.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -25535,7 +28592,7 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.SourceRetryWait = sourceRetryWait + amss.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -25544,7 +28601,7 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.MaxConcurrentConnections = maxConcurrentConnections + amss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -25553,7 +28610,7 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - apss.Type = typeVar + amss.Type = typeVar } } } @@ -25561,10 +28618,10 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { return nil } -// AzurePostgreSQLTableDataset azure PostgreSQL dataset. -type AzurePostgreSQLTableDataset struct { - // AzurePostgreSQLTableDatasetTypeProperties - Properties specific to this dataset type. - *AzurePostgreSQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// AzureMySQLTableDataset the Azure MySQL database dataset. +type AzureMySQLTableDataset struct { + // AzureMySQLTableDatasetTypeProperties - Azure MySQL database dataset properties. + *AzureMySQLTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -25581,449 +28638,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) { - apstd.Type = TypeAzurePostgreSQLTable +// MarshalJSON is the custom marshaler for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) MarshalJSON() ([]byte, error) { + amstd.Type = TypeAzureMySQLTable objectMap := make(map[string]interface{}) - if apstd.AzurePostgreSQLTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = apstd.AzurePostgreSQLTableDatasetTypeProperties + if amstd.AzureMySQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = amstd.AzureMySQLTableDatasetTypeProperties } - if apstd.Description != nil { - objectMap["description"] = apstd.Description + if amstd.Description != nil { + objectMap["description"] = amstd.Description } - if apstd.Structure != nil { - objectMap["structure"] = apstd.Structure + if amstd.Structure != nil { + objectMap["structure"] = amstd.Structure } - if apstd.Schema != nil { - objectMap["schema"] = apstd.Schema + if amstd.Schema != nil { + objectMap["schema"] = amstd.Schema } - if apstd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = apstd.LinkedServiceName + if amstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = amstd.LinkedServiceName } - if apstd.Parameters != nil { - objectMap["parameters"] = apstd.Parameters + if amstd.Parameters != nil { + objectMap["parameters"] = amstd.Parameters } - if apstd.Annotations != nil { - objectMap["annotations"] = apstd.Annotations + if amstd.Annotations != nil { + objectMap["annotations"] = amstd.Annotations } - if apstd.Folder != nil { - objectMap["folder"] = apstd.Folder + if amstd.Folder != nil { + objectMap["folder"] = amstd.Folder } - if apstd.Type != "" { - objectMap["type"] = apstd.Type + if amstd.Type != "" { + objectMap["type"] = amstd.Type } - for k, v := range apstd.AdditionalProperties { + for k, v := range amstd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return &apstd, true +// AsConcurObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return &amstd, true } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. -func (apstd AzurePostgreSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &apstd, true +// AsBinaryDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLTableDataset struct. -func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { +// AsJSONDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AzureMySQLTableDataset. +func (amstd AzureMySQLTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &amstd, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureMySQLTableDataset struct. +func (amstd *AzureMySQLTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -26033,12 +29125,12 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azurePostgreSQLTableDatasetTypeProperties AzurePostgreSQLTableDatasetTypeProperties - err = json.Unmarshal(*v, &azurePostgreSQLTableDatasetTypeProperties) + var azureMySQLTableDatasetTypeProperties AzureMySQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &azureMySQLTableDatasetTypeProperties) if err != nil { return err } - apstd.AzurePostgreSQLTableDatasetTypeProperties = &azurePostgreSQLTableDatasetTypeProperties + amstd.AzureMySQLTableDatasetTypeProperties = &azureMySQLTableDatasetTypeProperties } default: if v != nil { @@ -26047,10 +29139,10 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if apstd.AdditionalProperties == nil { - apstd.AdditionalProperties = make(map[string]interface{}) + if amstd.AdditionalProperties == nil { + amstd.AdditionalProperties = make(map[string]interface{}) } - apstd.AdditionalProperties[k] = additionalProperties + amstd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -26059,7 +29151,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Description = &description + amstd.Description = &description } case "structure": if v != nil { @@ -26068,7 +29160,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Structure = structure + amstd.Structure = structure } case "schema": if v != nil { @@ -26077,7 +29169,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Schema = schema + amstd.Schema = schema } case "linkedServiceName": if v != nil { @@ -26086,7 +29178,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.LinkedServiceName = &linkedServiceName + amstd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -26095,7 +29187,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Parameters = parameters + amstd.Parameters = parameters } case "annotations": if v != nil { @@ -26104,7 +29196,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Annotations = &annotations + amstd.Annotations = &annotations } case "folder": if v != nil { @@ -26113,7 +29205,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Folder = &folder + amstd.Folder = &folder } case "type": if v != nil { @@ -26122,7 +29214,7 @@ func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - apstd.Type = typeVar + amstd.Type = typeVar } } } @@ -26130,761 +29222,525 @@ 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). +// AzureMySQLTableDatasetTypeProperties azure MySQL database dataset properties. +type AzureMySQLTableDatasetTypeProperties struct { + // TableName - The Azure MySQL database table name. 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 { +// AzurePostgreSQLLinkedService azure PostgreSQL linked service. +type AzurePostgreSQLLinkedService struct { + // AzurePostgreSQLLinkedServiceTypeProperties - Azure PostgreSQL linked service properties. + *AzurePostgreSQLLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 AzureQueueSink. -func (aqs AzureQueueSink) MarshalJSON() ([]byte, error) { - aqs.Type = TypeAzureQueueSink +// MarshalJSON is the custom marshaler for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) MarshalJSON() ([]byte, error) { + apsls.Type = TypeAzurePostgreSQL objectMap := make(map[string]interface{}) - if aqs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = aqs.WriteBatchSize + if apsls.AzurePostgreSQLLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = apsls.AzurePostgreSQLLinkedServiceTypeProperties } - if aqs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = aqs.WriteBatchTimeout + if apsls.ConnectVia != nil { + objectMap["connectVia"] = apsls.ConnectVia } - if aqs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = aqs.SinkRetryCount + if apsls.Description != nil { + objectMap["description"] = apsls.Description } - if aqs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = aqs.SinkRetryWait + if apsls.Parameters != nil { + objectMap["parameters"] = apsls.Parameters } - if aqs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = aqs.MaxConcurrentConnections + if apsls.Annotations != nil { + objectMap["annotations"] = apsls.Annotations } - if aqs.Type != "" { - objectMap["type"] = aqs.Type + if apsls.Type != "" { + objectMap["type"] = apsls.Type } - for k, v := range aqs.AdditionalProperties { + for k, v := range apsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - 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 -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - 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 -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return nil, false -} - -// AsAzureBlobFSSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false -} - -// AsOracleSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsOracleSink() (*OracleSink, bool) { - return nil, false -} - -// AsSQLDWSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsSQLDWSink() (*SQLDWSink, bool) { - return nil, false -} - -// AsSQLMISink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsSQLMISink() (*SQLMISink, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsSQLSink() (*SQLSink, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsBlobSink() (*BlobSink, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsBinarySink() (*BinarySink, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsParquetSink() (*ParquetSink, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzureQueueSink() (*AzureQueueSink, bool) { - return &aqs, true -} - -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsCopySink() (*CopySink, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzureQueueSink. -func (aqs AzureQueueSink) AsBasicCopySink() (BasicCopySink, bool) { - return &aqs, true -} - -// UnmarshalJSON is the custom unmarshaler for AzureQueueSink struct. -func (aqs *AzureQueueSink) 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 aqs.AdditionalProperties == nil { - aqs.AdditionalProperties = make(map[string]interface{}) - } - aqs.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - aqs.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - aqs.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - aqs.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - aqs.SinkRetryWait = sinkRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - aqs.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - aqs.Type = typeVar - } - } - } - - return nil -} - -// AzureSearchIndexDataset the Azure Search Index. -type AzureSearchIndexDataset struct { - // AzureSearchIndexDatasetTypeProperties - Properties specific to this dataset type. - *AzureSearchIndexDatasetTypeProperties `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 AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) MarshalJSON() ([]byte, error) { - asid.Type = TypeAzureSearchIndex - objectMap := make(map[string]interface{}) - if asid.AzureSearchIndexDatasetTypeProperties != nil { - objectMap["typeProperties"] = asid.AzureSearchIndexDatasetTypeProperties - } - if asid.Description != nil { - objectMap["description"] = asid.Description - } - if asid.Structure != nil { - objectMap["structure"] = asid.Structure - } - if asid.Schema != nil { - objectMap["schema"] = asid.Schema - } - if asid.LinkedServiceName != nil { - objectMap["linkedServiceName"] = asid.LinkedServiceName - } - if asid.Parameters != nil { - objectMap["parameters"] = asid.Parameters - } - if asid.Annotations != nil { - objectMap["annotations"] = asid.Annotations - } - if asid.Folder != nil { - objectMap["folder"] = asid.Folder - } - if asid.Type != "" { - objectMap["type"] = asid.Type - } - for k, v := range asid.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return &apsls, true } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return &asid, true -} - -// AsWebTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsDataset() (*Dataset, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureSearchIndexDataset. -func (asid AzureSearchIndexDataset) AsBasicDataset() (BasicDataset, bool) { - return &asid, true +// AsBasicLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &apsls, true } -// UnmarshalJSON is the custom unmarshaler for AzureSearchIndexDataset struct. -func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLLinkedService struct. +func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -26894,12 +29750,12 @@ func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSearchIndexDatasetTypeProperties AzureSearchIndexDatasetTypeProperties - err = json.Unmarshal(*v, &azureSearchIndexDatasetTypeProperties) + var azurePostgreSQLLinkedServiceTypeProperties AzurePostgreSQLLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azurePostgreSQLLinkedServiceTypeProperties) if err != nil { return err } - asid.AzureSearchIndexDatasetTypeProperties = &azureSearchIndexDatasetTypeProperties + apsls.AzurePostgreSQLLinkedServiceTypeProperties = &azurePostgreSQLLinkedServiceTypeProperties } default: if v != nil { @@ -26908,46 +29764,28 @@ func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asid.AdditionalProperties == nil { - asid.AdditionalProperties = make(map[string]interface{}) - } - asid.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - asid.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if apsls.AdditionalProperties == nil { + apsls.AdditionalProperties = make(map[string]interface{}) } - asid.Structure = structure + apsls.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 } - asid.Schema = schema + apsls.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 } - asid.LinkedServiceName = &linkedServiceName + apsls.Description = &description } case "parameters": if v != nil { @@ -26956,7 +29794,7 @@ func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - asid.Parameters = parameters + apsls.Parameters = parameters } case "annotations": if v != nil { @@ -26965,25 +29803,16 @@ func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - asid.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - asid.Folder = &folder + apsls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - asid.Type = typeVar + apsls.Type = typeVar } } } @@ -26991,16 +29820,20 @@ func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { return nil } -// AzureSearchIndexDatasetTypeProperties properties specific to this dataset type. -type AzureSearchIndexDatasetTypeProperties struct { - // IndexName - The name of the Azure Search Index. Type: string (or Expression with resultType string). - IndexName interface{} `json:"indexName,omitempty"` +// AzurePostgreSQLLinkedServiceTypeProperties azure PostgreSQL linked service properties. +type AzurePostgreSQLLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC 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"` } -// AzureSearchIndexSink a copy activity Azure Search Index sink. -type AzureSearchIndexSink struct { - // WriteBehavior - Specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload' - WriteBehavior AzureSearchIndexWriteBehaviorType `json:"writeBehavior,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. @@ -27013,198 +29846,213 @@ 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) MarshalJSON() ([]byte, error) { - asis.Type = TypeAzureSearchIndexSink +// MarshalJSON is the custom marshaler for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) MarshalJSON() ([]byte, error) { + apss.Type = TypeAzurePostgreSQLSink objectMap := make(map[string]interface{}) - if asis.WriteBehavior != "" { - objectMap["writeBehavior"] = asis.WriteBehavior + if apss.PreCopyScript != nil { + objectMap["preCopyScript"] = apss.PreCopyScript } - if asis.WriteBatchSize != nil { - objectMap["writeBatchSize"] = asis.WriteBatchSize + if apss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = apss.WriteBatchSize } - if asis.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = asis.WriteBatchTimeout + if apss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = apss.WriteBatchTimeout } - if asis.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = asis.SinkRetryCount + if apss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = apss.SinkRetryCount } - if asis.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = asis.SinkRetryWait + if apss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = apss.SinkRetryWait } - if asis.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = asis.MaxConcurrentConnections + if apss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = apss.MaxConcurrentConnections } - if asis.Type != "" { - objectMap["type"] = asis.Type + if apss.Type != "" { + objectMap["type"] = apss.Type } - for k, v := range asis.AdditionalProperties { + for k, v := range apss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsInformixSink() (*InformixSink, bool) { +// AsInformixSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return &asis, true +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSQLMISink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSQLSink() (*SQLSink, bool) { +// AsSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsBlobSink() (*BlobSink, bool) { +// AsBlobSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsBinarySink() (*BinarySink, bool) { +// AsBinarySink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsParquetSink() (*ParquetSink, bool) { +// AsParquetSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAvroSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureTableSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsCopySink() (*CopySink, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return &apss, true +} + +// AsJSONSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzureSearchIndexSink. -func (asis AzureSearchIndexSink) AsBasicCopySink() (BasicCopySink, bool) { - return &asis, true +// AsDelimitedTextSink is the BasicCopySink implementation for AzurePostgreSQLSink. +func (apss AzurePostgreSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureSearchIndexSink struct. -func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { +// 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 { @@ -27212,14 +30060,14 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "writeBehavior": + case "preCopyScript": if v != nil { - var writeBehavior AzureSearchIndexWriteBehaviorType - err = json.Unmarshal(*v, &writeBehavior) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - asis.WriteBehavior = writeBehavior + apss.PreCopyScript = preCopyScript } default: if v != nil { @@ -27228,10 +30076,10 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asis.AdditionalProperties == nil { - asis.AdditionalProperties = make(map[string]interface{}) + if apss.AdditionalProperties == nil { + apss.AdditionalProperties = make(map[string]interface{}) } - asis.AdditionalProperties[k] = additionalProperties + apss.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -27240,7 +30088,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - asis.WriteBatchSize = writeBatchSize + apss.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -27249,7 +30097,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - asis.WriteBatchTimeout = writeBatchTimeout + apss.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -27258,7 +30106,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - asis.SinkRetryCount = sinkRetryCount + apss.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -27267,7 +30115,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - asis.SinkRetryWait = sinkRetryWait + apss.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -27276,7 +30124,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - asis.MaxConcurrentConnections = maxConcurrentConnections + apss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -27285,7 +30133,7 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - asis.Type = typeVar + apss.Type = typeVar } } } @@ -27293,514 +30141,494 @@ func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { return nil } -// AzureSearchLinkedService linked service for Windows Azure Search Service. -type AzureSearchLinkedService struct { - // AzureSearchLinkedServiceTypeProperties - Windows Azure Search Service linked service properties. - *AzureSearchLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// 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). + Query interface{} `json:"query,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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) MarshalJSON() ([]byte, error) { - asls.Type = TypeAzureSearch +// MarshalJSON is the custom marshaler for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) MarshalJSON() ([]byte, error) { + apss.Type = TypeAzurePostgreSQLSource objectMap := make(map[string]interface{}) - if asls.AzureSearchLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = asls.AzureSearchLinkedServiceTypeProperties + if apss.Query != nil { + objectMap["query"] = apss.Query } - if asls.ConnectVia != nil { - objectMap["connectVia"] = asls.ConnectVia + if apss.QueryTimeout != nil { + objectMap["queryTimeout"] = apss.QueryTimeout } - if asls.Description != nil { - objectMap["description"] = asls.Description + if apss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = apss.SourceRetryCount } - if asls.Parameters != nil { - objectMap["parameters"] = asls.Parameters + if apss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = apss.SourceRetryWait } - if asls.Annotations != nil { - objectMap["annotations"] = asls.Annotations + if apss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = apss.MaxConcurrentConnections } - if asls.Type != "" { - objectMap["type"] = asls.Type + if apss.Type != "" { + objectMap["type"] = apss.Type } - for k, v := range asls.AdditionalProperties { + for k, v := range apss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return &asls, true -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return &apss, true } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &apss, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. -func (asls AzureSearchLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &asls, true +// AsBasicCopySource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &apss, true } -// UnmarshalJSON is the custom unmarshaler for AzureSearchLinkedService struct. -func (asls *AzureSearchLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLSource struct. +func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -27808,122 +30636,71 @@ func (asls *AzureSearchLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var azureSearchLinkedServiceTypeProperties AzureSearchLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureSearchLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - asls.AzureSearchLinkedServiceTypeProperties = &azureSearchLinkedServiceTypeProperties + apss.Query = query } - default: + case "queryTimeout": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - if asls.AdditionalProperties == nil { - asls.AdditionalProperties = make(map[string]interface{}) - } - asls.AdditionalProperties[k] = additionalProperties + apss.QueryTimeout = queryTimeout } - 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 } - asls.ConnectVia = &connectVia + if apss.AdditionalProperties == nil { + apss.AdditionalProperties = make(map[string]interface{}) + } + apss.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 } - asls.Description = &description + apss.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 } - asls.Parameters = parameters + apss.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 } - asls.Annotations = &annotations + apss.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 - } - } - } - - return nil -} - -// AzureSearchLinkedServiceTypeProperties windows Azure Search Service linked service properties. -type AzureSearchLinkedServiceTypeProperties struct { - // URL - URL for Azure Search service. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // Key - Admin Key for Azure Search service - Key BasicSecretBase `json:"key,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 AzureSearchLinkedServiceTypeProperties struct. -func (aslstp *AzureSearchLinkedServiceTypeProperties) 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 - } - aslstp.URL = URL - } - case "key": - if v != nil { - key, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - aslstp.Key = key - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - aslstp.EncryptedCredential = encryptedCredential + apss.Type = typeVar } } } @@ -27931,514 +30708,504 @@ func (aslstp *AzureSearchLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// AzureSQLDatabaseLinkedService microsoft Azure SQL Database linked service. -type AzureSQLDatabaseLinkedService struct { - // AzureSQLDatabaseLinkedServiceTypeProperties - Azure SQL Database linked service properties. - *AzureSQLDatabaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzurePostgreSQLTableDataset azure PostgreSQL dataset. +type AzurePostgreSQLTableDataset struct { + // 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) MarshalJSON() ([]byte, error) { - asdls.Type = TypeAzureSQLDatabase +// MarshalJSON is the custom marshaler for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) { + apstd.Type = TypeAzurePostgreSQLTable objectMap := make(map[string]interface{}) - if asdls.AzureSQLDatabaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = asdls.AzureSQLDatabaseLinkedServiceTypeProperties + if apstd.AzurePostgreSQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = apstd.AzurePostgreSQLTableDatasetTypeProperties } - if asdls.ConnectVia != nil { - objectMap["connectVia"] = asdls.ConnectVia + if apstd.Description != nil { + objectMap["description"] = apstd.Description } - if asdls.Description != nil { - objectMap["description"] = asdls.Description + if apstd.Structure != nil { + objectMap["structure"] = apstd.Structure } - if asdls.Parameters != nil { - objectMap["parameters"] = asdls.Parameters + if apstd.Schema != nil { + objectMap["schema"] = apstd.Schema } - if asdls.Annotations != nil { - objectMap["annotations"] = asdls.Annotations + if apstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = apstd.LinkedServiceName } - if asdls.Type != "" { - objectMap["type"] = asdls.Type + if apstd.Parameters != nil { + objectMap["parameters"] = apstd.Parameters } - for k, v := range asdls.AdditionalProperties { + if apstd.Annotations != nil { + objectMap["annotations"] = apstd.Annotations + } + if apstd.Folder != nil { + objectMap["folder"] = apstd.Folder + } + if apstd.Type != "" { + objectMap["type"] = apstd.Type + } + for k, v := range apstd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return &apstd, true } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return &asdls, true -} - -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &apstd, true } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. -func (asdls AzureSQLDatabaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &asdls, true -} - -// UnmarshalJSON is the custom unmarshaler for AzureSQLDatabaseLinkedService struct. -func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzurePostgreSQLTableDataset struct. +func (apstd *AzurePostgreSQLTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -28448,12 +31215,12 @@ func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSQLDatabaseLinkedServiceTypeProperties AzureSQLDatabaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureSQLDatabaseLinkedServiceTypeProperties) + var azurePostgreSQLTableDatasetTypeProperties AzurePostgreSQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &azurePostgreSQLTableDatasetTypeProperties) if err != nil { return err } - asdls.AzureSQLDatabaseLinkedServiceTypeProperties = &azureSQLDatabaseLinkedServiceTypeProperties + apstd.AzurePostgreSQLTableDatasetTypeProperties = &azurePostgreSQLTableDatasetTypeProperties } default: if v != nil { @@ -28462,28 +31229,46 @@ func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asdls.AdditionalProperties == nil { - asdls.AdditionalProperties = make(map[string]interface{}) + if apstd.AdditionalProperties == nil { + apstd.AdditionalProperties = make(map[string]interface{}) } - asdls.AdditionalProperties[k] = additionalProperties + apstd.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 } - asdls.ConnectVia = &connectVia + apstd.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 } - asdls.Description = &description + apstd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + apstd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + apstd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -28492,7 +31277,7 @@ func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asdls.Parameters = parameters + apstd.Parameters = parameters } case "annotations": if v != nil { @@ -28501,16 +31286,25 @@ func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asdls.Annotations = &annotations + apstd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + apstd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - asdls.Type = typeVar + apstd.Type = typeVar } } } @@ -28518,24 +31312,234 @@ func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { return nil } -// AzureSQLDatabaseLinkedServiceTypeProperties azure SQL Database linked service properties. -type AzureSQLDatabaseLinkedServiceTypeProperties 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 Database. 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 Database. - 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"` +// 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"` } -// UnmarshalJSON is the custom unmarshaler for AzureSQLDatabaseLinkedServiceTypeProperties struct. -func (asdlstp *AzureSQLDatabaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// AzureQueueSink a copy activity Azure Queue sink. +type AzureQueueSink struct { + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AzureQueueSink. +func (aqs AzureQueueSink) MarshalJSON() ([]byte, error) { + aqs.Type = TypeAzureQueueSink + objectMap := make(map[string]interface{}) + if aqs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = aqs.WriteBatchSize + } + if aqs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = aqs.WriteBatchTimeout + } + if aqs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = aqs.SinkRetryCount + } + if aqs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = aqs.SinkRetryWait + } + if aqs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = aqs.MaxConcurrentConnections + } + if aqs.Type != "" { + objectMap["type"] = aqs.Type + } + for k, v := range aqs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + 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 +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { + 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 +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for AzureQueueSink. +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 +} + +// AsSQLServerSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsSQLServerSink() (*SQLServerSink, bool) { + return nil, false +} + +// AsSQLSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for AzureQueueSink. +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 +} + +// AsAvroSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return &aqs, true +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzureMySQLSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsJSONSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for AzureQueueSink. +func (aqs AzureQueueSink) AsBasicCopySink() (BasicCopySink, bool) { + return &aqs, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureQueueSink struct. +func (aqs *AzureQueueSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -28543,58 +31547,71 @@ func (asdlstp *AzureSQLDatabaseLinkedServiceTypeProperties) UnmarshalJSON(body [ } for k, v := range m { switch k { - case "connectionString": + default: if v != nil { - var connectionString interface{} - err = json.Unmarshal(*v, &connectionString) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - asdlstp.ConnectionString = connectionString + if aqs.AdditionalProperties == nil { + aqs.AdditionalProperties = make(map[string]interface{}) + } + aqs.AdditionalProperties[k] = additionalProperties } - case "password": + case "writeBatchSize": if v != nil { - var password AzureKeyVaultSecretReference - err = json.Unmarshal(*v, &password) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - asdlstp.Password = &password + aqs.WriteBatchSize = writeBatchSize } - case "servicePrincipalId": + case "writeBatchTimeout": if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - asdlstp.ServicePrincipalID = servicePrincipalID + aqs.WriteBatchTimeout = writeBatchTimeout } - case "servicePrincipalKey": + case "sinkRetryCount": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - asdlstp.ServicePrincipalKey = servicePrincipalKey + aqs.SinkRetryCount = sinkRetryCount } - case "tenant": + case "sinkRetryWait": if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - asdlstp.Tenant = tenant + aqs.SinkRetryWait = sinkRetryWait } - case "encryptedCredential": + case "maxConcurrentConnections": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - asdlstp.EncryptedCredential = encryptedCredential + aqs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + aqs.Type = typeVar } } } @@ -28602,514 +31619,504 @@ func (asdlstp *AzureSQLDatabaseLinkedServiceTypeProperties) UnmarshalJSON(body [ return nil } -// AzureSQLDWLinkedService azure SQL Data Warehouse linked service. -type AzureSQLDWLinkedService struct { - // AzureSQLDWLinkedServiceTypeProperties - Azure SQL Data Warehouse linked service properties. - *AzureSQLDWLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureSearchIndexDataset the Azure Search Index. +type AzureSearchIndexDataset struct { + // AzureSearchIndexDatasetTypeProperties - Properties specific to this dataset type. + *AzureSearchIndexDatasetTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) MarshalJSON() ([]byte, error) { - asdls.Type = TypeAzureSQLDW +// MarshalJSON is the custom marshaler for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) MarshalJSON() ([]byte, error) { + asid.Type = TypeAzureSearchIndex objectMap := make(map[string]interface{}) - if asdls.AzureSQLDWLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = asdls.AzureSQLDWLinkedServiceTypeProperties + if asid.AzureSearchIndexDatasetTypeProperties != nil { + objectMap["typeProperties"] = asid.AzureSearchIndexDatasetTypeProperties } - if asdls.ConnectVia != nil { - objectMap["connectVia"] = asdls.ConnectVia + if asid.Description != nil { + objectMap["description"] = asid.Description } - if asdls.Description != nil { - objectMap["description"] = asdls.Description + if asid.Structure != nil { + objectMap["structure"] = asid.Structure } - if asdls.Parameters != nil { - objectMap["parameters"] = asdls.Parameters + if asid.Schema != nil { + objectMap["schema"] = asid.Schema } - if asdls.Annotations != nil { - objectMap["annotations"] = asdls.Annotations + if asid.LinkedServiceName != nil { + objectMap["linkedServiceName"] = asid.LinkedServiceName } - if asdls.Type != "" { - objectMap["type"] = asdls.Type + if asid.Parameters != nil { + objectMap["parameters"] = asid.Parameters } - for k, v := range asdls.AdditionalProperties { + if asid.Annotations != nil { + objectMap["annotations"] = asid.Annotations + } + if asid.Folder != nil { + objectMap["folder"] = asid.Folder + } + if asid.Type != "" { + objectMap["type"] = asid.Type + } + for k, v := range asid.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return &asid, true } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { - return &asdls, true -} - -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. -func (asdls AzureSQLDWLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &asdls, true +// AsBasicDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsBasicDataset() (BasicDataset, bool) { + return &asid, true } -// UnmarshalJSON is the custom unmarshaler for AzureSQLDWLinkedService struct. -func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureSearchIndexDataset struct. +func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -29119,12 +32126,12 @@ func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSQLDWLinkedServiceTypeProperties AzureSQLDWLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureSQLDWLinkedServiceTypeProperties) + var azureSearchIndexDatasetTypeProperties AzureSearchIndexDatasetTypeProperties + err = json.Unmarshal(*v, &azureSearchIndexDatasetTypeProperties) if err != nil { return err } - asdls.AzureSQLDWLinkedServiceTypeProperties = &azureSQLDWLinkedServiceTypeProperties + asid.AzureSearchIndexDatasetTypeProperties = &azureSearchIndexDatasetTypeProperties } default: if v != nil { @@ -29133,19 +32140,10 @@ func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asdls.AdditionalProperties == nil { - asdls.AdditionalProperties = make(map[string]interface{}) - } - asdls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if asid.AdditionalProperties == nil { + asid.AdditionalProperties = make(map[string]interface{}) } - asdls.ConnectVia = &connectVia + asid.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -29154,118 +32152,70 @@ func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asdls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - asdls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - asdls.Annotations = &annotations + asid.Description = &description } - case "type": + case "structure": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - asdls.Type = typeVar + asid.Structure = structure } - } - } - - return nil -} - -// AzureSQLDWLinkedServiceTypeProperties azure SQL Data Warehouse linked service properties. -type AzureSQLDWLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. 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 Data Warehouse. 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 Data Warehouse. - 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 AzureSQLDWLinkedServiceTypeProperties struct. -func (asdlstp *AzureSQLDWLinkedServiceTypeProperties) 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": + case "schema": if v != nil { - var connectionString interface{} - err = json.Unmarshal(*v, &connectionString) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - asdlstp.ConnectionString = connectionString + asid.Schema = schema } - case "password": + case "linkedServiceName": if v != nil { - var password AzureKeyVaultSecretReference - err = json.Unmarshal(*v, &password) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - asdlstp.Password = &password + asid.LinkedServiceName = &linkedServiceName } - case "servicePrincipalId": + case "parameters": if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - asdlstp.ServicePrincipalID = servicePrincipalID + asid.Parameters = parameters } - case "servicePrincipalKey": + case "annotations": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - asdlstp.ServicePrincipalKey = servicePrincipalKey + asid.Annotations = &annotations } - case "tenant": + case "folder": if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - asdlstp.Tenant = tenant + asid.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 } - asdlstp.EncryptedCredential = encryptedCredential + asid.Type = typeVar } } } @@ -29273,469 +32223,235 @@ func (asdlstp *AzureSQLDWLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// AzureSQLDWTableDataset the Azure SQL Data Warehouse dataset. -type AzureSQLDWTableDataset struct { - // AzureSQLDWTableDatasetTypeProperties - Azure SQL Data Warehouse dataset properties. - *AzureSQLDWTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// AzureSearchIndexDatasetTypeProperties properties specific to this dataset type. +type AzureSearchIndexDatasetTypeProperties struct { + // IndexName - The name of the Azure Search Index. Type: string (or Expression with resultType string). + IndexName interface{} `json:"indexName,omitempty"` +} + +// AzureSearchIndexSink a copy activity Azure Search Index sink. +type AzureSearchIndexSink struct { + // WriteBehavior - Specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload' + WriteBehavior AzureSearchIndexWriteBehaviorType `json:"writeBehavior,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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) MarshalJSON() ([]byte, error) { - asdtd.Type = TypeAzureSQLDWTable +// MarshalJSON is the custom marshaler for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) MarshalJSON() ([]byte, error) { + asis.Type = TypeAzureSearchIndexSink objectMap := make(map[string]interface{}) - if asdtd.AzureSQLDWTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = asdtd.AzureSQLDWTableDatasetTypeProperties - } - if asdtd.Description != nil { - objectMap["description"] = asdtd.Description - } - if asdtd.Structure != nil { - objectMap["structure"] = asdtd.Structure + if asis.WriteBehavior != "" { + objectMap["writeBehavior"] = asis.WriteBehavior } - if asdtd.Schema != nil { - objectMap["schema"] = asdtd.Schema + if asis.WriteBatchSize != nil { + objectMap["writeBatchSize"] = asis.WriteBatchSize } - if asdtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = asdtd.LinkedServiceName + if asis.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = asis.WriteBatchTimeout } - if asdtd.Parameters != nil { - objectMap["parameters"] = asdtd.Parameters + if asis.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = asis.SinkRetryCount } - if asdtd.Annotations != nil { - objectMap["annotations"] = asdtd.Annotations + if asis.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = asis.SinkRetryWait } - if asdtd.Folder != nil { - objectMap["folder"] = asdtd.Folder + if asis.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = asis.MaxConcurrentConnections } - if asdtd.Type != "" { - objectMap["type"] = asdtd.Type + if asis.Type != "" { + objectMap["type"] = asis.Type } - for k, v := range asdtd.AdditionalProperties { + for k, v := range asis.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false -} - -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} - -// AsDrillTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false -} - -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} - -// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false -} - -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false -} - -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false -} - -// AsHTTPDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false -} - -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} - -// AsWebTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false -} - -// AsRestResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false -} - -// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false -} - -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false -} - -// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false -} - -// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} - -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - 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) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return &asis, true } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsBinarySink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { - return &asdtd, true -} - -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAvroSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsJSONSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsDataset() (*Dataset, bool) { +// AsCopySink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureSQLDWTableDataset. -func (asdtd AzureSQLDWTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &asdtd, true +// AsBasicCopySink is the BasicCopySink implementation for AzureSearchIndexSink. +func (asis AzureSearchIndexSink) AsBasicCopySink() (BasicCopySink, bool) { + return &asis, true } -// UnmarshalJSON is the custom unmarshaler for AzureSQLDWTableDataset struct. -func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureSearchIndexSink struct. +func (asis *AzureSearchIndexSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -29743,14 +32459,14 @@ func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "writeBehavior": if v != nil { - var azureSQLDWTableDatasetTypeProperties AzureSQLDWTableDatasetTypeProperties - err = json.Unmarshal(*v, &azureSQLDWTableDatasetTypeProperties) + var writeBehavior AzureSearchIndexWriteBehaviorType + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - asdtd.AzureSQLDWTableDatasetTypeProperties = &azureSQLDWTableDatasetTypeProperties + asis.WriteBehavior = writeBehavior } default: if v != nil { @@ -29759,82 +32475,64 @@ func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asdtd.AdditionalProperties == nil { - asdtd.AdditionalProperties = make(map[string]interface{}) - } - asdtd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - asdtd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if asis.AdditionalProperties == nil { + asis.AdditionalProperties = make(map[string]interface{}) } - asdtd.Structure = structure + asis.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 } - asdtd.Schema = schema + asis.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 } - asdtd.LinkedServiceName = &linkedServiceName + asis.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 } - asdtd.Parameters = parameters + asis.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 } - asdtd.Annotations = &annotations + asis.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 } - asdtd.Folder = &folder + asis.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - asdtd.Type = typeVar + asis.Type = typeVar } } } @@ -29842,16 +32540,10 @@ func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { return nil } -// 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 interface{} `json:"tableName,omitempty"` -} - -// AzureSQLMILinkedService azure SQL Managed Instance linked service. -type AzureSQLMILinkedService struct { - // AzureSQLMILinkedServiceTypeProperties - Azure SQL Managed Instance linked service properties. - *AzureSQLMILinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureSearchLinkedService linked service for Windows Azure Search Service. +type AzureSearchLinkedService struct { + // AzureSearchLinkedServiceTypeProperties - Windows Azure Search Service linked service properties. + *AzureSearchLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. @@ -29862,500 +32554,505 @@ type AzureSQLMILinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) MarshalJSON() ([]byte, error) { - asmls.Type = TypeAzureSQLMI +// MarshalJSON is the custom marshaler for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) MarshalJSON() ([]byte, error) { + asls.Type = TypeAzureSearch objectMap := make(map[string]interface{}) - if asmls.AzureSQLMILinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = asmls.AzureSQLMILinkedServiceTypeProperties + if asls.AzureSearchLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asls.AzureSearchLinkedServiceTypeProperties } - if asmls.ConnectVia != nil { - objectMap["connectVia"] = asmls.ConnectVia + if asls.ConnectVia != nil { + objectMap["connectVia"] = asls.ConnectVia } - if asmls.Description != nil { - objectMap["description"] = asmls.Description + if asls.Description != nil { + objectMap["description"] = asls.Description } - if asmls.Parameters != nil { - objectMap["parameters"] = asmls.Parameters + if asls.Parameters != nil { + objectMap["parameters"] = asls.Parameters } - if asmls.Annotations != nil { - objectMap["annotations"] = asmls.Annotations + if asls.Annotations != nil { + objectMap["annotations"] = asls.Annotations } - if asmls.Type != "" { - objectMap["type"] = asmls.Type + if asls.Type != "" { + objectMap["type"] = asls.Type } - for k, v := range asmls.AdditionalProperties { + for k, v := range asls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return &asls, true +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { - return &asmls, true +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. -func (asmls AzureSQLMILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &asmls, true +// AsBasicLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asls, true } -// UnmarshalJSON is the custom unmarshaler for AzureSQLMILinkedService struct. -func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureSearchLinkedService struct. +func (asls *AzureSearchLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -30365,12 +33062,12 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSQLMILinkedServiceTypeProperties AzureSQLMILinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureSQLMILinkedServiceTypeProperties) + var azureSearchLinkedServiceTypeProperties AzureSearchLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureSearchLinkedServiceTypeProperties) if err != nil { return err } - asmls.AzureSQLMILinkedServiceTypeProperties = &azureSQLMILinkedServiceTypeProperties + asls.AzureSearchLinkedServiceTypeProperties = &azureSearchLinkedServiceTypeProperties } default: if v != nil { @@ -30379,10 +33076,10 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asmls.AdditionalProperties == nil { - asmls.AdditionalProperties = make(map[string]interface{}) + if asls.AdditionalProperties == nil { + asls.AdditionalProperties = make(map[string]interface{}) } - asmls.AdditionalProperties[k] = additionalProperties + asls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -30391,7 +33088,7 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asmls.ConnectVia = &connectVia + asls.ConnectVia = &connectVia } case "description": if v != nil { @@ -30400,7 +33097,7 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asmls.Description = &description + asls.Description = &description } case "parameters": if v != nil { @@ -30409,7 +33106,7 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asmls.Parameters = parameters + asls.Parameters = parameters } case "annotations": if v != nil { @@ -30418,7 +33115,7 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asmls.Annotations = &annotations + asls.Annotations = &annotations } case "type": if v != nil { @@ -30427,7 +33124,7 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asmls.Type = typeVar + asls.Type = typeVar } } } @@ -30435,24 +33132,18 @@ func (asmls *AzureSQLMILinkedService) UnmarshalJSON(body []byte) error { 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"` +// AzureSearchLinkedServiceTypeProperties windows Azure Search Service linked service properties. +type AzureSearchLinkedServiceTypeProperties struct { + // URL - URL for Azure Search service. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // Key - Admin Key for Azure Search service + Key BasicSecretBase `json:"key,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 { +// UnmarshalJSON is the custom unmarshaler for AzureSearchLinkedServiceTypeProperties struct. +func (aslstp *AzureSearchLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -30460,49 +33151,22 @@ func (asmlstp *AzureSQLMILinkedServiceTypeProperties) UnmarshalJSON(body []byte) } 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 - } - asmlstp.ConnectionString = connectionString - } - case "password": - if v != nil { - var password AzureKeyVaultSecretReference - err = json.Unmarshal(*v, &password) - if err != nil { - return err - } - asmlstp.Password = &password - } - case "servicePrincipalId": - if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) - if err != nil { - return err - } - asmlstp.ServicePrincipalID = servicePrincipalID - } - case "servicePrincipalKey": + case "url": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var URL interface{} + err = json.Unmarshal(*v, &URL) if err != nil { return err } - asmlstp.ServicePrincipalKey = servicePrincipalKey + aslstp.URL = URL } - case "tenant": + case "key": if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + key, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - asmlstp.Tenant = tenant + aslstp.Key = key } case "encryptedCredential": if v != nil { @@ -30511,7 +33175,7 @@ func (asmlstp *AzureSQLMILinkedServiceTypeProperties) UnmarshalJSON(body []byte) if err != nil { return err } - asmlstp.EncryptedCredential = encryptedCredential + aslstp.EncryptedCredential = encryptedCredential } } } @@ -30519,469 +33183,519 @@ func (asmlstp *AzureSQLMILinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// AzureSQLMITableDataset the Azure SQL Managed Instance dataset. -type AzureSQLMITableDataset struct { - // AzureSQLMITableDatasetTypeProperties - Azure SQL Managed Instance dataset properties. - *AzureSQLMITableDatasetTypeProperties `json:"typeProperties,omitempty"` +// AzureSQLDatabaseLinkedService microsoft Azure SQL Database linked service. +type AzureSQLDatabaseLinkedService struct { + // AzureSQLDatabaseLinkedServiceTypeProperties - Azure SQL Database linked service properties. + *AzureSQLDatabaseLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) MarshalJSON() ([]byte, error) { - asmtd.Type = TypeAzureSQLMITable +// MarshalJSON is the custom marshaler for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) MarshalJSON() ([]byte, error) { + asdls.Type = TypeAzureSQLDatabase objectMap := make(map[string]interface{}) - if asmtd.AzureSQLMITableDatasetTypeProperties != nil { - objectMap["typeProperties"] = asmtd.AzureSQLMITableDatasetTypeProperties - } - if asmtd.Description != nil { - objectMap["description"] = asmtd.Description - } - if asmtd.Structure != nil { - objectMap["structure"] = asmtd.Structure - } - if asmtd.Schema != nil { - objectMap["schema"] = asmtd.Schema + if asdls.AzureSQLDatabaseLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asdls.AzureSQLDatabaseLinkedServiceTypeProperties } - if asmtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = asmtd.LinkedServiceName + if asdls.ConnectVia != nil { + objectMap["connectVia"] = asdls.ConnectVia } - if asmtd.Parameters != nil { - objectMap["parameters"] = asmtd.Parameters + if asdls.Description != nil { + objectMap["description"] = asdls.Description } - if asmtd.Annotations != nil { - objectMap["annotations"] = asmtd.Annotations + if asdls.Parameters != nil { + objectMap["parameters"] = asdls.Parameters } - if asmtd.Folder != nil { - objectMap["folder"] = asmtd.Folder + if asdls.Annotations != nil { + objectMap["annotations"] = asdls.Annotations } - if asmtd.Type != "" { - objectMap["type"] = asmtd.Type + if asdls.Type != "" { + objectMap["type"] = asdls.Type } - for k, v := range asmtd.AdditionalProperties { + for k, v := range asdls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { - return &asmtd, true +// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsDataset() (*Dataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureSQLMITableDataset. -func (asmtd AzureSQLMITableDataset) AsBasicDataset() (BasicDataset, bool) { - return &asmtd, true +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureSQLMITableDataset struct. -func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + 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 +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asdls, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLDatabaseLinkedService struct. +func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -30991,12 +33705,12 @@ func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSQLMITableDatasetTypeProperties AzureSQLMITableDatasetTypeProperties - err = json.Unmarshal(*v, &azureSQLMITableDatasetTypeProperties) + var azureSQLDatabaseLinkedServiceTypeProperties AzureSQLDatabaseLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureSQLDatabaseLinkedServiceTypeProperties) if err != nil { return err } - asmtd.AzureSQLMITableDatasetTypeProperties = &azureSQLMITableDatasetTypeProperties + asdls.AzureSQLDatabaseLinkedServiceTypeProperties = &azureSQLDatabaseLinkedServiceTypeProperties } default: if v != nil { @@ -31005,10 +33719,19 @@ func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asmtd.AdditionalProperties == nil { - asmtd.AdditionalProperties = make(map[string]interface{}) + if asdls.AdditionalProperties == nil { + asdls.AdditionalProperties = make(map[string]interface{}) } - asmtd.AdditionalProperties[k] = additionalProperties + asdls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + asdls.ConnectVia = &connectVia } case "description": if v != nil { @@ -31017,70 +33740,118 @@ func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - asmtd.Description = &description + asdls.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 } - asmtd.Structure = structure + asdls.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 } - asmtd.Schema = schema + asdls.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 } - asmtd.LinkedServiceName = &linkedServiceName + asdls.Type = typeVar } - case "parameters": + } + } + + return nil +} + +// AzureSQLDatabaseLinkedServiceTypeProperties azure SQL Database linked service properties. +type AzureSQLDatabaseLinkedServiceTypeProperties 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 Database. 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 Database. + 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 AzureSQLDatabaseLinkedServiceTypeProperties struct. +func (asdlstp *AzureSQLDatabaseLinkedServiceTypeProperties) 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 parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) if err != nil { return err } - asmtd.Parameters = parameters + asdlstp.ConnectionString = connectionString } - case "annotations": + case "password": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var password AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &password) if err != nil { return err } - asmtd.Annotations = &annotations + asdlstp.Password = &password } - 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 } - asmtd.Folder = &folder + asdlstp.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 } - asmtd.Type = typeVar + asdlstp.ServicePrincipalKey = servicePrincipalKey + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + asdlstp.Tenant = tenant + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + asdlstp.EncryptedCredential = encryptedCredential } } } @@ -31088,836 +33859,519 @@ func (asmtd *AzureSQLMITableDataset) UnmarshalJSON(body []byte) error { return nil } -// 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"` -} - -// 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"` +// AzureSQLDWLinkedService azure SQL Data Warehouse linked service. +type AzureSQLDWLinkedService struct { + // AzureSQLDWLinkedServiceTypeProperties - Azure SQL Data Warehouse linked service properties. + *AzureSQLDWLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) MarshalJSON() ([]byte, error) { + asdls.Type = TypeAzureSQLDW 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 asdls.AzureSQLDWLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asdls.AzureSQLDWLinkedServiceTypeProperties } - if ass.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ass.WriteBatchTimeout + if asdls.ConnectVia != nil { + objectMap["connectVia"] = asdls.ConnectVia } - if ass.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ass.SinkRetryCount + if asdls.Description != nil { + objectMap["description"] = asdls.Description } - if ass.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ass.SinkRetryWait + if asdls.Parameters != nil { + objectMap["parameters"] = asdls.Parameters } - if ass.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ass.MaxConcurrentConnections + if asdls.Annotations != nil { + objectMap["annotations"] = asdls.Annotations } - if ass.Type != "" { - objectMap["type"] = ass.Type + if asdls.Type != "" { + objectMap["type"] = asdls.Type } - for k, v := range ass.AdditionalProperties { + for k, v := range asdls.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 AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsInformixSink() (*InformixSink, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsOdbcSink() (*OdbcSink, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSquareLinkedService() (*SquareLinkedService, 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) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSQLSink() (*SQLSink, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsBlobSink() (*BlobSink, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsBinarySink() (*BinarySink, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsParquetSink() (*ParquetSink, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsCopySink() (*CopySink, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzureSQLSink. -func (ass AzureSQLSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ass, true +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false } -// 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 +// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHiveLinkedService() (*HiveLinkedService, 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', '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"` +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, 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) +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsVerticaSource() (*VerticaSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsXeroSource() (*XeroSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSquareSource() (*SquareSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSparkSource() (*SparkSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsJiraSource() (*JiraSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDrillSource() (*DrillSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - -// AsHTTPSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - -// AsCassandraSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false -} - -// AsWebSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - -// AsTeradataSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false -} - -// AsOracleSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - -// AsAzureMySQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false -} - -// AsHdfsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsSQLDWSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false -} - -// AsSQLMISource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSQLMISource() (*SQLMISource, bool) { - return nil, false -} - -// 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 -} - -// AsSQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSQLSource() (*SQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsRestSource() (*RestSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapTableSource() (*SapTableSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsODataSource() (*ODataSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsSybaseSource() (*SybaseSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMySQLSource() (*MySQLSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsOdbcSource() (*OdbcSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDb2Source() (*Db2Source, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsBlobSource() (*BlobSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return &asdls, true } -// AsBinarySource is the BasicCopySource implementation for AzureSQLSource. -func (ass AzureSQLSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) 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 AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) 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 AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) 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 AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) 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 AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asdls, true } -// UnmarshalJSON is the custom unmarshaler for AzureSQLSource struct. -func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureSQLDWLinkedService struct. +func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -31925,89 +34379,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 azureSQLDWLinkedServiceTypeProperties AzureSQLDWLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureSQLDWLinkedServiceTypeProperties) if err != nil { return err } - ass.SQLReaderQuery = SQLReaderQuery + asdls.AzureSQLDWLinkedServiceTypeProperties = &azureSQLDWLinkedServiceTypeProperties } - 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 asdls.AdditionalProperties == nil { + asdls.AdditionalProperties = make(map[string]interface{}) + } + asdls.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 + asdls.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 + asdls.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{}) + asdls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err } - ass.AdditionalProperties[k] = additionalProperties + asdls.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 + asdls.Type = typeVar } - case "sourceRetryWait": + } + } + + return nil +} + +// AzureSQLDWLinkedServiceTypeProperties azure SQL Data Warehouse linked service properties. +type AzureSQLDWLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. 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 Data Warehouse. 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 Data Warehouse. + 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 AzureSQLDWLinkedServiceTypeProperties struct. +func (asdlstp *AzureSQLDWLinkedServiceTypeProperties) 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 + asdlstp.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 + asdlstp.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 + asdlstp.ServicePrincipalID = servicePrincipalID + } + case "servicePrincipalKey": + if v != nil { + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + asdlstp.ServicePrincipalKey = servicePrincipalKey + } + case "tenant": + if v != nil { + var tenant interface{} + err = json.Unmarshal(*v, &tenant) + if err != nil { + return err + } + asdlstp.Tenant = tenant + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + asdlstp.EncryptedCredential = encryptedCredential } } } @@ -32015,10 +34535,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"` +// AzureSQLDWTableDataset the Azure SQL Data Warehouse dataset. +type AzureSQLDWTableDataset struct { + // AzureSQLDWTableDatasetTypeProperties - Azure SQL Data Warehouse dataset properties. + *AzureSQLDWTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -32035,449 +34555,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) MarshalJSON() ([]byte, error) { + asdtd.Type = TypeAzureSQLDWTable objectMap := make(map[string]interface{}) - if astd.AzureSQLTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties + if asdtd.AzureSQLDWTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = asdtd.AzureSQLDWTableDatasetTypeProperties } - if astd.Description != nil { - objectMap["description"] = astd.Description + if asdtd.Description != nil { + objectMap["description"] = asdtd.Description } - if astd.Structure != nil { - objectMap["structure"] = astd.Structure + if asdtd.Structure != nil { + objectMap["structure"] = asdtd.Structure } - if astd.Schema != nil { - objectMap["schema"] = astd.Schema + if asdtd.Schema != nil { + objectMap["schema"] = asdtd.Schema } - if astd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = astd.LinkedServiceName + if asdtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = asdtd.LinkedServiceName } - if astd.Parameters != nil { - objectMap["parameters"] = astd.Parameters + if asdtd.Parameters != nil { + objectMap["parameters"] = asdtd.Parameters } - if astd.Annotations != nil { - objectMap["annotations"] = astd.Annotations + if asdtd.Annotations != nil { + objectMap["annotations"] = asdtd.Annotations } - if astd.Folder != nil { - objectMap["folder"] = astd.Folder + if asdtd.Folder != nil { + objectMap["folder"] = asdtd.Folder } - if astd.Type != "" { - objectMap["type"] = astd.Type + if asdtd.Type != "" { + objectMap["type"] = asdtd.Type } - for k, v := range astd.AdditionalProperties { + for k, v := range asdtd.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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) 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 AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { - return &astd, true +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return &asdtd, true +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureSQLTableDataset. -func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &astd, true +// AsJSONDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureSQLTableDataset struct. -func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { +// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AzureSQLDWTableDataset. +func (asdtd AzureSQLDWTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &asdtd, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureSQLDWTableDataset struct. +func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -32487,12 +35042,12 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties - err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties) + var azureSQLDWTableDatasetTypeProperties AzureSQLDWTableDatasetTypeProperties + err = json.Unmarshal(*v, &azureSQLDWTableDatasetTypeProperties) if err != nil { return err } - astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties + asdtd.AzureSQLDWTableDatasetTypeProperties = &azureSQLDWTableDatasetTypeProperties } default: if v != nil { @@ -32501,10 +35056,10 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if astd.AdditionalProperties == nil { - astd.AdditionalProperties = make(map[string]interface{}) + if asdtd.AdditionalProperties == nil { + asdtd.AdditionalProperties = make(map[string]interface{}) } - astd.AdditionalProperties[k] = additionalProperties + asdtd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -32513,7 +35068,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Description = &description + asdtd.Description = &description } case "structure": if v != nil { @@ -32522,7 +35077,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Structure = structure + asdtd.Structure = structure } case "schema": if v != nil { @@ -32531,7 +35086,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Schema = schema + asdtd.Schema = schema } case "linkedServiceName": if v != nil { @@ -32540,7 +35095,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.LinkedServiceName = &linkedServiceName + asdtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -32549,7 +35104,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Parameters = parameters + asdtd.Parameters = parameters } case "annotations": if v != nil { @@ -32558,7 +35113,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Annotations = &annotations + asdtd.Annotations = &annotations } case "folder": if v != nil { @@ -32567,7 +35122,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Folder = &folder + asdtd.Folder = &folder } case "type": if v != nil { @@ -32576,7 +35131,7 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - astd.Type = typeVar + asdtd.Type = typeVar } } } @@ -32584,16 +35139,20 @@ 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). +// AzureSQLDWTableDatasetTypeProperties azure SQL Data Warehouse dataset properties. +type AzureSQLDWTableDatasetTypeProperties 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 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"` } -// AzureStorageLinkedService the storage account linked service. -type AzureStorageLinkedService struct { - // AzureStorageLinkedServiceTypeProperties - Azure Storage linked service properties. - *AzureStorageLinkedServiceTypeProperties `json:"typeProperties,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:""` // ConnectVia - The integration runtime reference. @@ -32604,500 +35163,505 @@ type AzureStorageLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 AzureStorageLinkedService. -func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { - asls.Type = TypeAzureStorage +// MarshalJSON is the custom marshaler for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) MarshalJSON() ([]byte, error) { + asmls.Type = TypeAzureSQLMI objectMap := make(map[string]interface{}) - if asls.AzureStorageLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties + if asmls.AzureSQLMILinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asmls.AzureSQLMILinkedServiceTypeProperties } - if asls.ConnectVia != nil { - objectMap["connectVia"] = asls.ConnectVia + if asmls.ConnectVia != nil { + objectMap["connectVia"] = asmls.ConnectVia } - if asls.Description != nil { - objectMap["description"] = asls.Description + if asmls.Description != nil { + objectMap["description"] = asmls.Description } - if asls.Parameters != nil { - objectMap["parameters"] = asls.Parameters + if asmls.Parameters != nil { + objectMap["parameters"] = asmls.Parameters } - if asls.Annotations != nil { - objectMap["annotations"] = asls.Annotations + if asmls.Annotations != nil { + objectMap["annotations"] = asmls.Annotations } - if asls.Type != "" { - objectMap["type"] = asls.Type + if asmls.Type != "" { + objectMap["type"] = asmls.Type } - for k, v := range asls.AdditionalProperties { + for k, v := range asmls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return &asmls, true +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return &asls, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. -func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &asls, true +// AsBasicLinkedService is the BasicLinkedService implementation for AzureSQLMILinkedService. +func (asmls AzureSQLMILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asmls, true } -// UnmarshalJSON is the custom unmarshaler for AzureStorageLinkedService struct. -func (asls *AzureStorageLinkedService) 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 { @@ -33107,12 +35671,12 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) + var azureSQLMILinkedServiceTypeProperties AzureSQLMILinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureSQLMILinkedServiceTypeProperties) if err != nil { return err } - asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties + asmls.AzureSQLMILinkedServiceTypeProperties = &azureSQLMILinkedServiceTypeProperties } default: if v != nil { @@ -33121,10 +35685,10 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if asls.AdditionalProperties == nil { - asls.AdditionalProperties = make(map[string]interface{}) + if asmls.AdditionalProperties == nil { + asmls.AdditionalProperties = make(map[string]interface{}) } - asls.AdditionalProperties[k] = additionalProperties + asmls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -33133,7 +35697,7 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asls.ConnectVia = &connectVia + asmls.ConnectVia = &connectVia } case "description": if v != nil { @@ -33142,7 +35706,7 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asls.Description = &description + asmls.Description = &description } case "parameters": if v != nil { @@ -33151,7 +35715,7 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asls.Parameters = parameters + asmls.Parameters = parameters } case "annotations": if v != nil { @@ -33160,7 +35724,7 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asls.Annotations = &annotations + asmls.Annotations = &annotations } case "type": if v != nil { @@ -33169,7 +35733,7 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - asls.Type = typeVar + asmls.Type = typeVar } } } @@ -33177,24 +35741,94 @@ 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. +// 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"` - // 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"` + // 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 *string `json:"encryptedCredential,omitempty"` + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// AzureTableDataset the Azure Table storage dataset. -type AzureTableDataset struct { - // AzureTableDatasetTypeProperties - Azure Table dataset properties. - *AzureTableDatasetTypeProperties `json:"typeProperties,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 connectionString interface{} + err = json.Unmarshal(*v, &connectionString) + if err != nil { + return err + } + asmlstp.ConnectionString = connectionString + } + case "password": + if v != nil { + var password AzureKeyVaultSecretReference + err = json.Unmarshal(*v, &password) + if err != nil { + return err + } + asmlstp.Password = &password + } + case "servicePrincipalId": + if v != nil { + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) + if err != nil { + return err + } + 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 + } + } + } + + return nil +} + +// 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. @@ -33211,449 +35845,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) MarshalJSON() ([]byte, error) { + asmtd.Type = TypeAzureSQLMITable objectMap := make(map[string]interface{}) - if atd.AzureTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties + if asmtd.AzureSQLMITableDatasetTypeProperties != nil { + objectMap["typeProperties"] = asmtd.AzureSQLMITableDatasetTypeProperties } - if atd.Description != nil { - objectMap["description"] = atd.Description + if asmtd.Description != nil { + objectMap["description"] = asmtd.Description } - if atd.Structure != nil { - objectMap["structure"] = atd.Structure + if asmtd.Structure != nil { + objectMap["structure"] = asmtd.Structure } - if atd.Schema != nil { - objectMap["schema"] = atd.Schema + if asmtd.Schema != nil { + objectMap["schema"] = asmtd.Schema } - if atd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = atd.LinkedServiceName + if asmtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = asmtd.LinkedServiceName } - if atd.Parameters != nil { - objectMap["parameters"] = atd.Parameters + if asmtd.Parameters != nil { + objectMap["parameters"] = asmtd.Parameters } - if atd.Annotations != nil { - objectMap["annotations"] = atd.Annotations + if asmtd.Annotations != nil { + objectMap["annotations"] = asmtd.Annotations } - if atd.Folder != nil { - objectMap["folder"] = atd.Folder + if asmtd.Folder != nil { + objectMap["folder"] = asmtd.Folder } - if atd.Type != "" { - objectMap["type"] = atd.Type + if asmtd.Type != "" { + objectMap["type"] = asmtd.Type } - for k, v := range atd.AdditionalProperties { + for k, v := range asmtd.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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) 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 AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { - return &atd, true +// AsCustomDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// 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 } -// AsParquetDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureTableDataset. -func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &atd, true +// AsJSONDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureTableDataset struct. -func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsAvroDataset is the BasicDataset implementation for AzureSQLMITableDataset. +func (asmtd AzureSQLMITableDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -33663,12 +36332,12 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties - err = json.Unmarshal(*v, &azureTableDatasetTypeProperties) + var azureSQLMITableDatasetTypeProperties AzureSQLMITableDatasetTypeProperties + err = json.Unmarshal(*v, &azureSQLMITableDatasetTypeProperties) if err != nil { return err } - atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties + asmtd.AzureSQLMITableDatasetTypeProperties = &azureSQLMITableDatasetTypeProperties } default: if v != nil { @@ -33677,10 +36346,10 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if atd.AdditionalProperties == nil { - atd.AdditionalProperties = make(map[string]interface{}) + if asmtd.AdditionalProperties == nil { + asmtd.AdditionalProperties = make(map[string]interface{}) } - atd.AdditionalProperties[k] = additionalProperties + asmtd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -33689,7 +36358,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Description = &description + asmtd.Description = &description } case "structure": if v != nil { @@ -33698,7 +36367,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Structure = structure + asmtd.Structure = structure } case "schema": if v != nil { @@ -33707,7 +36376,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Schema = schema + asmtd.Schema = schema } case "linkedServiceName": if v != nil { @@ -33716,7 +36385,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.LinkedServiceName = &linkedServiceName + asmtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -33725,7 +36394,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Parameters = parameters + asmtd.Parameters = parameters } case "annotations": if v != nil { @@ -33734,7 +36403,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Annotations = &annotations + asmtd.Annotations = &annotations } case "folder": if v != nil { @@ -33743,7 +36412,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Folder = &folder + asmtd.Folder = &folder } case "type": if v != nil { @@ -33752,7 +36421,7 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - atd.Type = typeVar + asmtd.Type = typeVar } } } @@ -33760,22 +36429,30 @@ 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). +// 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"` } -// 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"` +// 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"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,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. @@ -33788,207 +36465,228 @@ type AzureTableSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `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 AzureSQLSink. +func (ass AzureSQLSink) MarshalJSON() ([]byte, error) { + ass.Type = TypeAzureSQLSink objectMap := make(map[string]interface{}) - if ats.AzureTableDefaultPartitionKeyValue != nil { - objectMap["azureTableDefaultPartitionKeyValue"] = ats.AzureTableDefaultPartitionKeyValue + if ass.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = ass.SQLWriterStoredProcedureName } - if ats.AzureTablePartitionKeyName != nil { - objectMap["azureTablePartitionKeyName"] = ats.AzureTablePartitionKeyName + if ass.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = ass.SQLWriterTableType } - if ats.AzureTableRowKeyName != nil { - objectMap["azureTableRowKeyName"] = ats.AzureTableRowKeyName + if ass.PreCopyScript != nil { + objectMap["preCopyScript"] = ass.PreCopyScript } - if ats.AzureTableInsertType != nil { - objectMap["azureTableInsertType"] = ats.AzureTableInsertType + if ass.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters } - if ats.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ats.WriteBatchSize + if ass.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = ass.StoredProcedureTableTypeParameterName } - if ats.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ats.WriteBatchTimeout + if ass.TableOption != nil { + objectMap["tableOption"] = ass.TableOption } - if ats.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ats.SinkRetryCount + if ass.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ass.WriteBatchSize } - if ats.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ats.SinkRetryWait + if ass.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ass.WriteBatchTimeout } - if ats.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections + if ass.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ass.SinkRetryCount } - if ats.Type != "" { - objectMap["type"] = ats.Type + if ass.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ass.SinkRetryWait } - for k, v := range ats.AdditionalProperties { + 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) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsInformixSink() (*InformixSink, bool) { +// AsInformixSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSQLMISink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureSQLSink() (*AzureSQLSink, 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 } -// AsSQLServerSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsBlobSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) { +// AsBinarySink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsBinarySink() (*BinarySink, bool) { +// AsParquetSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsParquetSink() (*ParquetSink, bool) { +// AsAvroSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureTableSink() (*AzureTableSink, bool) { - return &ats, true +// AsAzureTableSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsCopySink() (*CopySink, bool) { +// AsJSONSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for AzureTableSink. -func (ats AzureTableSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ats, true +// AsDelimitedTextSink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureTableSink struct. -func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { +// AsCopySink is the BasicCopySink implementation for AzureSQLSink. +func (ass AzureSQLSink) AsCopySink() (*CopySink, 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 { @@ -33996,71 +36694,89 @@ func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "azureTableDefaultPartitionKeyValue": + case "sqlWriterStoredProcedureName": if v != nil { - var azureTableDefaultPartitionKeyValue interface{} - err = json.Unmarshal(*v, &azureTableDefaultPartitionKeyValue) + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) if err != nil { return err } - ats.AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue + ass.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName } - case "azureTablePartitionKeyName": + case "sqlWriterTableType": if v != nil { - var azureTablePartitionKeyName interface{} - err = json.Unmarshal(*v, &azureTablePartitionKeyName) + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) if err != nil { return err } - ats.AzureTablePartitionKeyName = azureTablePartitionKeyName + ass.SQLWriterTableType = SQLWriterTableType } - case "azureTableRowKeyName": + case "preCopyScript": if v != nil { - var azureTableRowKeyName interface{} - err = json.Unmarshal(*v, &azureTableRowKeyName) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - ats.AzureTableRowKeyName = azureTableRowKeyName + ass.PreCopyScript = preCopyScript } - case "azureTableInsertType": + case "storedProcedureParameters": if v != nil { - var azureTableInsertType interface{} - err = json.Unmarshal(*v, &azureTableInsertType) + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) if err != nil { return err } - ats.AzureTableInsertType = azureTableInsertType + ass.StoredProcedureParameters = storedProcedureParameters } - default: + case "storedProcedureTableTypeParameterName": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) if err != nil { return err } - if ats.AdditionalProperties == nil { - ats.AdditionalProperties = make(map[string]interface{}) - } - ats.AdditionalProperties[k] = additionalProperties + ass.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName } - case "writeBatchSize": + case "tableOption": if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) if err != nil { return err } - ats.WriteBatchSize = writeBatchSize + ass.TableOption = tableOption } - case "writeBatchTimeout": + default: if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ats.WriteBatchTimeout = writeBatchTimeout + 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 { @@ -34069,7 +36785,7 @@ func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.SinkRetryCount = sinkRetryCount + ass.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -34078,7 +36794,7 @@ func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.SinkRetryWait = sinkRetryWait + ass.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -34087,7 +36803,7 @@ func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.MaxConcurrentConnections = maxConcurrentConnections + ass.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -34096,7 +36812,7 @@ func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.Type = typeVar + ass.Type = typeVar } } } @@ -34104,12 +36820,18 @@ func (ats *AzureTableSink) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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"` + // 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"` // 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). @@ -34118,450 +36840,489 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureTableSource. -func (ats AzureTableSource) MarshalJSON() ([]byte, error) { - ats.Type = TypeAzureTableSource +// MarshalJSON is the custom marshaler for AzureSQLSource. +func (ass AzureSQLSource) MarshalJSON() ([]byte, error) { + ass.Type = TypeAzureSQLSource objectMap := make(map[string]interface{}) - if ats.AzureTableSourceQuery != nil { - objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery + if ass.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = ass.SQLReaderQuery } - if ats.AzureTableSourceIgnoreTableNotFound != nil { - objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound + if ass.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = ass.SQLReaderStoredProcedureName } - if ats.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ats.SourceRetryCount + if ass.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ass.StoredProcedureParameters } - if ats.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ats.SourceRetryWait + if ass.ProduceAdditionalTypes != nil { + objectMap["produceAdditionalTypes"] = ass.ProduceAdditionalTypes } - if ats.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ats.MaxConcurrentConnections + if ass.QueryTimeout != nil { + objectMap["queryTimeout"] = ass.QueryTimeout } - if ats.Type != "" { - objectMap["type"] = ats.Type + if ass.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ass.SourceRetryCount } - for k, v := range ats.AdditionalProperties { + 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 AzureTableSource. -func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsODataSource() (*ODataSource, 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 } -// AsSybaseSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDb2Source() (*Db2Source, bool) { +// AsSapEccSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsInformixSource() (*InformixSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) { +// AsDb2Source is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) { - return &ats, true +// AsInformixSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsInformixSource() (*InformixSource, bool) { + return nil, false } -// AsBinarySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ass, true +} + +// AsBinarySource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsCopySource() (*CopySource, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for AzureTableSource. -func (ats AzureTableSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ats, true +// AsDelimitedTextSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureTableSource struct. -func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { +// AsParquetSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for AzureSQLSource. +func (ass AzureSQLSource) AsAvroSource() (*AvroSource, 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 { @@ -34569,23 +37330,50 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "azureTableSourceQuery": + case "sqlReaderQuery": if v != nil { - var azureTableSourceQuery interface{} - err = json.Unmarshal(*v, &azureTableSourceQuery) + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) if err != nil { return err } - ats.AzureTableSourceQuery = azureTableSourceQuery + ass.SQLReaderQuery = SQLReaderQuery } - case "azureTableSourceIgnoreTableNotFound": + case "sqlReaderStoredProcedureName": if v != nil { - var azureTableSourceIgnoreTableNotFound interface{} - err = json.Unmarshal(*v, &azureTableSourceIgnoreTableNotFound) + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) if err != nil { return err } - ats.AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound + ass.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + ass.StoredProcedureParameters = storedProcedureParameters + } + case "produceAdditionalTypes": + if v != nil { + var produceAdditionalTypes interface{} + err = json.Unmarshal(*v, &produceAdditionalTypes) + if err != nil { + return err + } + ass.ProduceAdditionalTypes = produceAdditionalTypes + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ass.QueryTimeout = queryTimeout } default: if v != nil { @@ -34594,10 +37382,10 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ats.AdditionalProperties == nil { - ats.AdditionalProperties = make(map[string]interface{}) + if ass.AdditionalProperties == nil { + ass.AdditionalProperties = make(map[string]interface{}) } - ats.AdditionalProperties[k] = additionalProperties + ass.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -34606,7 +37394,7 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.SourceRetryCount = sourceRetryCount + ass.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -34615,7 +37403,7 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.SourceRetryWait = sourceRetryWait + ass.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -34624,7 +37412,7 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.MaxConcurrentConnections = maxConcurrentConnections + ass.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -34633,7 +37421,7 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ats.Type = typeVar + ass.Type = typeVar } } } @@ -34641,514 +37429,504 @@ 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) { + astd.Type = TypeAzureSQLTable objectMap := make(map[string]interface{}) - if atsls.AzureStorageLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = atsls.AzureStorageLinkedServiceTypeProperties + if astd.AzureSQLTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = astd.AzureSQLTableDatasetTypeProperties } - if atsls.ConnectVia != nil { - objectMap["connectVia"] = atsls.ConnectVia + if astd.Description != nil { + objectMap["description"] = astd.Description } - if atsls.Description != nil { - objectMap["description"] = atsls.Description + if astd.Structure != nil { + objectMap["structure"] = astd.Structure } - if atsls.Parameters != nil { - objectMap["parameters"] = atsls.Parameters + if astd.Schema != nil { + objectMap["schema"] = astd.Schema } - if atsls.Annotations != nil { - objectMap["annotations"] = atsls.Annotations + if astd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = astd.LinkedServiceName } - if atsls.Type != "" { - objectMap["type"] = atsls.Type + if astd.Parameters != nil { + objectMap["parameters"] = astd.Parameters } - for k, v := range atsls.AdditionalProperties { + if astd.Annotations != nil { + objectMap["annotations"] = astd.Annotations + } + if astd.Folder != nil { + objectMap["folder"] = astd.Folder + } + if astd.Type != "" { + objectMap["type"] = astd.Type + } + for k, v := range astd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return nil, false +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return &astd, true } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsParquetDataset() (*ParquetDataset, 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) { +// AsAvroDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. -func (atsls AzureTableStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) 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 AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &astd, true } -// UnmarshalJSON is the custom unmarshaler for AzureTableStorageLinkedService struct. -func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -35158,12 +37936,12 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) + var azureSQLTableDatasetTypeProperties AzureSQLTableDatasetTypeProperties + err = json.Unmarshal(*v, &azureSQLTableDatasetTypeProperties) if err != nil { return err } - atsls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties + astd.AzureSQLTableDatasetTypeProperties = &azureSQLTableDatasetTypeProperties } default: if v != nil { @@ -35172,28 +37950,46 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if atsls.AdditionalProperties == nil { - atsls.AdditionalProperties = make(map[string]interface{}) + if astd.AdditionalProperties == nil { + astd.AdditionalProperties = make(map[string]interface{}) } - atsls.AdditionalProperties[k] = additionalProperties + astd.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 } - atsls.ConnectVia = &connectVia + astd.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 } - atsls.Description = &description + astd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + astd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + astd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -35202,7 +37998,7 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - atsls.Parameters = parameters + astd.Parameters = parameters } case "annotations": if v != nil { @@ -35211,16 +38007,25 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - atsls.Annotations = &annotations + astd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + astd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - atsls.Type = typeVar + astd.Type = typeVar } } } @@ -35228,469 +38033,529 @@ func (atsls *AzureTableStorageLinkedService) UnmarshalJSON(body []byte) error { return nil } -// 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:""` - // 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. +// AzureSQLTableDatasetTypeProperties azure SQL dataset properties. +type AzureSQLTableDatasetTypeProperties 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 database. Type: string (or Expression with resultType string). 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"` + // Table - The table name of the Azure SQL database. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` } -// MarshalJSON is the custom marshaler for BinaryDataset. -func (bd BinaryDataset) MarshalJSON() ([]byte, error) { - bd.Type = TypeBinary +// 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:""` + // 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', 'TypeAzureMariaDB', '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 AzureStorageLinkedService. +func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { + asls.Type = TypeAzureStorage objectMap := make(map[string]interface{}) - if bd.BinaryDatasetTypeProperties != nil { - objectMap["typeProperties"] = bd.BinaryDatasetTypeProperties - } - if bd.Description != nil { - objectMap["description"] = bd.Description - } - if bd.Structure != nil { - objectMap["structure"] = bd.Structure - } - if bd.Schema != nil { - objectMap["schema"] = bd.Schema + if asls.AzureStorageLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = asls.AzureStorageLinkedServiceTypeProperties } - if bd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = bd.LinkedServiceName + if asls.ConnectVia != nil { + objectMap["connectVia"] = asls.ConnectVia } - if bd.Parameters != nil { - objectMap["parameters"] = bd.Parameters + if asls.Description != nil { + objectMap["description"] = asls.Description } - if bd.Annotations != nil { - objectMap["annotations"] = bd.Annotations + if asls.Parameters != nil { + objectMap["parameters"] = asls.Parameters } - if bd.Folder != nil { - objectMap["folder"] = bd.Folder + if asls.Annotations != nil { + objectMap["annotations"] = asls.Annotations } - if bd.Type != "" { - objectMap["type"] = bd.Type + if asls.Type != "" { + objectMap["type"] = asls.Type } - for k, v := range bd.AdditionalProperties { + for k, v := range asls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsBinaryDataset() (*BinaryDataset, bool) { - return &bd, true +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsDataset() (*Dataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for BinaryDataset. -func (bd BinaryDataset) AsBasicDataset() (BasicDataset, bool) { - return &bd, true +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for BinaryDataset struct. -func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return &asls, true +} + +// AsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &asls, true +} + +// 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 { @@ -35700,12 +38565,12 @@ func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var binaryDatasetTypeProperties BinaryDatasetTypeProperties - err = json.Unmarshal(*v, &binaryDatasetTypeProperties) + var azureStorageLinkedServiceTypeProperties AzureStorageLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureStorageLinkedServiceTypeProperties) if err != nil { return err } - bd.BinaryDatasetTypeProperties = &binaryDatasetTypeProperties + asls.AzureStorageLinkedServiceTypeProperties = &azureStorageLinkedServiceTypeProperties } default: if v != nil { @@ -35714,46 +38579,28 @@ func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if bd.AdditionalProperties == nil { - bd.AdditionalProperties = make(map[string]interface{}) - } - bd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - bd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if asls.AdditionalProperties == nil { + asls.AdditionalProperties = make(map[string]interface{}) } - bd.Structure = structure + asls.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 } - bd.Schema = schema + asls.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 } - bd.LinkedServiceName = &linkedServiceName + asls.Description = &description } case "parameters": if v != nil { @@ -35762,7 +38609,7 @@ func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - bd.Parameters = parameters + asls.Parameters = parameters } case "annotations": if v != nil { @@ -35771,25 +38618,16 @@ func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - bd.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - bd.Folder = &folder + asls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - bd.Type = typeVar + asls.Type = typeVar } } } @@ -35797,795 +38635,518 @@ func (bd *BinaryDataset) UnmarshalJSON(body []byte) error { 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 +// 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"` } -// BinarySink a copy activity Binary sink. -type BinarySink struct { - // StoreSettings - Binary store settings. - StoreSettings *StoreReadSettings `json:"storeSettings,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:""` - // 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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for BinarySink. -func (bs BinarySink) MarshalJSON() ([]byte, error) { - bs.Type = TypeBinarySink +// MarshalJSON is the custom marshaler for AzureTableDataset. +func (atd AzureTableDataset) MarshalJSON() ([]byte, error) { + atd.Type = TypeAzureTable objectMap := make(map[string]interface{}) - if bs.StoreSettings != nil { - objectMap["storeSettings"] = bs.StoreSettings + if atd.AzureTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = atd.AzureTableDatasetTypeProperties } - if bs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = bs.WriteBatchSize + if atd.Description != nil { + objectMap["description"] = atd.Description } - if bs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout + if atd.Structure != nil { + objectMap["structure"] = atd.Structure } - if bs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = bs.SinkRetryCount + if atd.Schema != nil { + objectMap["schema"] = atd.Schema } - if bs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = bs.SinkRetryWait + if atd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = atd.LinkedServiceName } - if bs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections + if atd.Parameters != nil { + objectMap["parameters"] = atd.Parameters } - if bs.Type != "" { - objectMap["type"] = bs.Type + if atd.Annotations != nil { + objectMap["annotations"] = atd.Annotations } - for k, v := range bs.AdditionalProperties { + 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) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsInformixSink() (*InformixSink, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsOdbcSink() (*OdbcSink, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsOracleSink() (*OracleSink, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSQLMISink() (*SQLMISink, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSQLSink() (*SQLSink, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsBlobSink() (*BlobSink, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsBinarySink() (*BinarySink, bool) { - return &bs, true +// AsJiraObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false } -// AsParquetSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsParquetSink() (*ParquetSink, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsCopySink() (*CopySink, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for BinarySink. -func (bs BinarySink) AsBasicCopySink() (BasicCopySink, bool) { - return &bs, true +// AsDrillTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false } -// 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 { - return err - } - 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 - } - bs.StoreSettings = &storeSettings - } - 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 "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - bs.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - bs.WriteBatchTimeout = writeBatchTimeout - } - case "sinkRetryCount": - if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) - if err != nil { - return err - } - bs.SinkRetryCount = sinkRetryCount - } - case "sinkRetryWait": - if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) - if err != nil { - return err - } - bs.SinkRetryWait = sinkRetryWait - } - 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 TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - bs.Type = typeVar - } - } - } - - return nil +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false } -// 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:""` - // 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"` +// AsConcurObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for BinarySource. -func (bs BinarySource) MarshalJSON() ([]byte, error) { - bs.Type = TypeBinarySource - objectMap := make(map[string]interface{}) - if bs.StoreSettings != nil { - objectMap["storeSettings"] = bs.StoreSettings - } - if bs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = bs.SourceRetryCount - } - if bs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = bs.SourceRetryWait - } - 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) +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsResponsysSource() (*ResponsysSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsVerticaSource() (*VerticaSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsZohoSource() (*ZohoSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsXeroSource() (*XeroSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSquareSource() (*SquareSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSparkSource() (*SparkSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsShopifySource() (*ShopifySource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsPaypalSource() (*PaypalSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMarketoSource() (*MarketoSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMagentoSource() (*MagentoSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsJiraSource() (*JiraSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsHiveSource() (*HiveSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsHBaseSource() (*HBaseSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsEloquaSource() (*EloquaSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDrillSource() (*DrillSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsConcurSource() (*ConcurSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - -// AsCassandraSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false -} - -// AsWebSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsWebSource() (*WebSource, bool) { - return nil, false -} - -// AsTeradataSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false -} - -// AsOracleSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - -// AsAzureMySQLSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false -} - -// AsHdfsSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsSQLDWSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false -} - -// AsSQLMISource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSQLMISource() (*SQLMISource, bool) { - return nil, false -} - -// AsAzureSQLSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzureSQLSource() (*AzureSQLSource, bool) { - return nil, false -} - -// AsSQLServerSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false -} - -// AsSQLSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - -// AsRestSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsRestSource() (*RestSource, bool) { - return nil, false -} - -// AsSapTableSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false -} - -// AsSapOpenHubSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false -} - -// AsSapHanaSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - -// AsSalesforceSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false -} - -// AsODataSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsODataSource() (*ODataSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsSybaseSource() (*SybaseSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMySQLSource() (*MySQLSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsOdbcSource() (*OdbcSource, bool) { +// AsCustomDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDb2Source() (*Db2Source, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsInformixSource() (*InformixSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false +// AsAzureTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return &atd, true } -// AsDynamicsCrmSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsJSONDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsBlobSource() (*BlobSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsParquetDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsBinarySource() (*BinarySource, bool) { - return &bs, true -} - -// AsDelimitedTextSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAvroDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsParquetSource() (*ParquetSource, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsCopySource() (*CopySource, bool) { +// AsDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for BinarySource. -func (bs BinarySource) AsBasicCopySource() (BasicCopySource, bool) { - return &bs, true +// AsBasicDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &atd, true } -// UnmarshalJSON is the custom unmarshaler for BinarySource struct. -func (bs *BinarySource) 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 { @@ -36593,14 +39154,14 @@ func (bs *BinarySource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "storeSettings": + case "typeProperties": if v != nil { - var storeSettings StoreReadSettings - err = json.Unmarshal(*v, &storeSettings) + var azureTableDatasetTypeProperties AzureTableDatasetTypeProperties + err = json.Unmarshal(*v, &azureTableDatasetTypeProperties) if err != nil { return err } - bs.StoreSettings = &storeSettings + atd.AzureTableDatasetTypeProperties = &azureTableDatasetTypeProperties } default: if v != nil { @@ -36609,215 +39170,82 @@ func (bs *BinarySource) UnmarshalJSON(body []byte) error { 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 + if atd.AdditionalProperties == nil { + atd.AdditionalProperties = make(map[string]interface{}) } - bs.MaxConcurrentConnections = maxConcurrentConnections + atd.AdditionalProperties[k] = additionalProperties } - case "type": + case "description": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - bs.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: '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 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 } } } @@ -36825,28 +39253,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. @@ -36859,207 +39281,222 @@ 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', '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 } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsInformixSink() (*InformixSink, bool) { +// AsInformixSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSQLMISink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsSQLSink() (*SQLSink, bool) { +// AsSQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsBlobSink() (*BlobSink, bool) { - return &bs, true +// AsBlobSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsBlobSink() (*BlobSink, bool) { + return nil, false } -// AsBinarySink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsBinarySink() (*BinarySink, bool) { +// AsBinarySink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsParquetSink() (*ParquetSink, bool) { +// AsParquetSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAvroSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// 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 BlobSink. -func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsCopySink() (*CopySink, bool) { +// AsJSONSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for BlobSink. -func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) { - return &bs, true +// AsDelimitedTextSink is the BasicCopySink implementation for AzureTableSink. +func (ats AzureTableSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for BlobSink struct. -func (bs *BlobSink) UnmarshalJSON(body []byte) error { +// 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 { @@ -37067,41 +39504,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 { @@ -37110,10 +39547,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 { @@ -37122,7 +39559,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.WriteBatchSize = writeBatchSize + ats.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -37131,7 +39568,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.WriteBatchTimeout = writeBatchTimeout + ats.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -37140,7 +39577,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.SinkRetryCount = sinkRetryCount + ats.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -37149,7 +39586,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.SinkRetryWait = sinkRetryWait + ats.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -37158,7 +39595,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.MaxConcurrentConnections = maxConcurrentConnections + ats.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -37167,7 +39604,7 @@ func (bs *BlobSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - bs.Type = typeVar + ats.Type = typeVar } } } @@ -37175,14 +39612,14 @@ 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"` + // 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"` // 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). @@ -37191,631 +39628,483 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' 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 ats.AzureTableSourceQuery != nil { + objectMap["azureTableSourceQuery"] = ats.AzureTableSourceQuery } - if bs.SkipHeaderLineCount != nil { - objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount + if ats.AzureTableSourceIgnoreTableNotFound != nil { + objectMap["azureTableSourceIgnoreTableNotFound"] = ats.AzureTableSourceIgnoreTableNotFound } - if bs.Recursive != nil { - objectMap["recursive"] = bs.Recursive + if ats.QueryTimeout != nil { + objectMap["queryTimeout"] = ats.QueryTimeout } - 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) { +// AsHTTPSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsODataSource() (*ODataSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDb2Source() (*Db2Source, bool) { +// AsSapHanaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsInformixSource() (*InformixSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsMySQLSource() (*MySQLSource, 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) { +// AsOdbcSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsBinarySource() (*BinarySource, bool) { +// AsDb2Source is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsInformixSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false +// AsAzureTableSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAzureTableSource() (*AzureTableSource, bool) { + return &ats, true } -// AsCopySource is the BasicCopySource implementation for BlobSource. -func (bs BlobSource) AsCopySource() (*CopySource, bool) { +// AsTabularSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsTabularSource() (*TabularSource, 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 { - 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 - } - } - } - - return nil -} - -// 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: '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 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) +// AsBasicTabularSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ats, true } -// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { +// AsBinarySource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { +// AsJSONSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBlobEventsTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) { - return &bt, true -} - -// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsParquetSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsAvroSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. -func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { - return &bt, true -} - -// 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 { @@ -37823,23 +40112,32 @@ 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 + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ats.QueryTimeout = queryTimeout } default: if v != nil { @@ -37848,46 +40146,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 } } } @@ -37895,20 +40193,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. @@ -37919,500 +40207,505 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, 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 } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// 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 CassandraLinkedService. -func (cls CassandraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CassandraLinkedService. -func (cls CassandraLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cls, true +// AsBasicLinkedService is the BasicLinkedService implementation for AzureTableStorageLinkedService. +func (atsls AzureTableStorageLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &atsls, true } -// UnmarshalJSON is the custom unmarshaler for CassandraLinkedService struct. -func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -38422,12 +40715,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 { @@ -38436,10 +40729,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 { @@ -38448,7 +40741,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.ConnectVia = &connectVia + atsls.ConnectVia = &connectVia } case "description": if v != nil { @@ -38457,7 +40750,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Description = &description + atsls.Description = &description } case "parameters": if v != nil { @@ -38466,7 +40759,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Parameters = parameters + atsls.Parameters = parameters } case "annotations": if v != nil { @@ -38475,7 +40768,7 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cls.Annotations = &annotations + atsls.Annotations = &annotations } case "type": if v != nil { @@ -38484,91 +40777,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 } } } @@ -38576,464 +40785,504 @@ 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRestResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) { - return &cs, true +// AsSapOpenHubTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false } -// AsWebSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsWebSource() (*WebSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsTeradataSource() (*TeradataSource, 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) { +// AsSapBwCubeDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLMISource() (*SQLMISource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsRestSource() (*RestSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapTableSource() (*SapTableSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsODataSource() (*ODataSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsSybaseSource() (*SybaseSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMySQLSource() (*MySQLSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsCustomDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return &bd, true +} + +// AsJSONDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsCopySource() (*CopySource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CassandraSource. -func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) { - return &cs, true +// AsParquetDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CassandraSource struct. -func (cs *CassandraSource) UnmarshalJSON(body []byte) error { +// AsAvroDataset is the BasicDataset implementation for BinaryDataset. +func (bd BinaryDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -39041,71 +41290,98 @@ 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 "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + bd.Annotations = &annotations + } + 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 TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cs.Type = typeVar + bd.Type = typeVar } } } @@ -39113,1097 +41389,1326 @@ func (cs *CassandraSource) UnmarshalJSON(body []byte) error { return nil } -// CassandraTableDataset the Cassandra database dataset. -type CassandraTableDataset struct { - // CassandraTableDatasetTypeProperties - Cassandra dataset properties. - *CassandraTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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 BasicStoreWriteSettings `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', '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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', '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 ctd.Description != nil { - objectMap["description"] = ctd.Description - } - if ctd.Structure != nil { - objectMap["structure"] = ctd.Structure - } - if ctd.Schema != nil { - objectMap["schema"] = ctd.Schema + objectMap["storeSettings"] = bs.StoreSettings + 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) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsOracleSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false +// AsBinarySink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsBinarySink() (*BinarySink, bool) { + return &bs, true } -// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAvroSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsJSONSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCopySink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for BinarySink. +func (bs BinarySink) AsBasicCopySink() (BasicCopySink, bool) { + return &bs, true } -// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false +// 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 { + return err + } + for k, v := range m { + switch k { + case "storeSettings": + if v != nil { + storeSettings, err := unmarshalBasicStoreWriteSettings(*v) + if err != nil { + return err + } + bs.StoreSettings = storeSettings + } + 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 "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + bs.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + bs.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + bs.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + bs.SinkRetryWait = sinkRetryWait + } + 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 TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + bs.Type = typeVar + } + } + } + + return nil } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// 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:""` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for BinarySource. +func (bs BinarySource) MarshalJSON() ([]byte, error) { + bs.Type = TypeBinarySource + objectMap := make(map[string]interface{}) + if bs.StoreSettings != nil { + objectMap["storeSettings"] = bs.StoreSettings + } + if bs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = bs.SourceRetryCount + } + if bs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = bs.SourceRetryWait + } + 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) +} + +// AsHTTPSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsRestSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsODataSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return &ctd, true +// AsSparkSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset. -func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &ctd, true +// AsJiraSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -// 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 { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties - err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties) - if err != nil { - return err - } - ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - 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 - } - ctd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - ctd.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - 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 TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ctd.Type = typeVar - } - } - } +// AsImpalaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} - return nil +// AsHubspotSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -// 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"` +// AsHiveSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// CloudError the object that defines the structure of an Azure Data Factory error response. -type CloudError struct { - // CloudErrorBody - Error data - *CloudErrorBody `json:"error,omitempty"` +// AsHBaseSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// 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) +// AsGreenplumSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -// 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 - } - } - } +// AsGoogleBigQuerySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} - return nil +// AsEloquaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false } -// 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"` +// AsDrillSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDrillSource() (*DrillSource, bool) { + return nil, false } -// 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. - 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"` +// AsCouchbaseSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) MarshalJSON() ([]byte, error) { - cdsfaed.Type = TypeCommonDataServiceForAppsEntity - objectMap := make(map[string]interface{}) - if cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties != nil { - objectMap["typeProperties"] = cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties - } - if cdsfaed.Description != nil { - objectMap["description"] = cdsfaed.Description - } - if cdsfaed.Structure != nil { - objectMap["structure"] = cdsfaed.Structure - } - if cdsfaed.Schema != nil { - objectMap["schema"] = cdsfaed.Schema - } - if cdsfaed.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cdsfaed.LinkedServiceName - } - if cdsfaed.Parameters != nil { - objectMap["parameters"] = cdsfaed.Parameters - } - if cdsfaed.Annotations != nil { - objectMap["annotations"] = cdsfaed.Annotations - } - if cdsfaed.Folder != nil { - objectMap["folder"] = cdsfaed.Folder - } - if cdsfaed.Type != "" { - objectMap["type"] = cdsfaed.Type - } - for k, v := range cdsfaed.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsConcurSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsConcurSource() (*ConcurSource, bool) { + return nil, false } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsTabularSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false +// AsBinarySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBinarySource() (*BinarySource, bool) { + return &bs, true } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsJSONSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsParquetSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsAvroSource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCopySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false +// AsBasicCopySource is the BasicCopySource implementation for BinarySource. +func (bs BinarySource) AsBasicCopySource() (BasicCopySource, bool) { + return &bs, true } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false +// 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 { + return err + } + 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 + } + bs.StoreSettings = &storeSettings + } + 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 + } + } + } + + return nil } -// AsHTTPDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false +// 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"` } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false +// 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) } -// AsWebTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false +// AsBlobEventsTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { + return &bet, true } -// AsSQLServerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsBlobTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBlobTrigger() (*BlobTrigger, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsScheduleTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return &bet, true } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsTrigger() (*Trigger, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false +// AsBasicTrigger is the BasicTrigger implementation for BlobEventsTrigger. +func (bet BlobEventsTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &bet, true } -// AsSalesforceObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// 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": + if v != nil { + var blobEventsTriggerTypeProperties BlobEventsTriggerTypeProperties + err = json.Unmarshal(*v, &blobEventsTriggerTypeProperties) + if err != nil { + return err + } + bet.BlobEventsTriggerTypeProperties = &blobEventsTriggerTypeProperties + } + case "pipelines": + if v != nil { + var pipelines []TriggerPipelineReference + err = json.Unmarshal(*v, &pipelines) + if err != nil { + return err + } + bet.Pipelines = &pipelines + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if bet.AdditionalProperties == nil { + bet.AdditionalProperties = make(map[string]interface{}) + } + bet.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + bet.Description = &description + } + case "runtimeState": + if v != nil { + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) + if err != nil { + return err + } + bet.RuntimeState = runtimeState + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + bet.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + bet.Type = typeVar + } + } + } + + return nil } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false +// 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"` } -// AsPostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// 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:""` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for BlobSink. +func (bs BlobSink) MarshalJSON() ([]byte, error) { + bs.Type = TypeBlobSink + objectMap := make(map[string]interface{}) + if bs.BlobWriterOverwriteFiles != nil { + objectMap["blobWriterOverwriteFiles"] = bs.BlobWriterOverwriteFiles + } + if bs.BlobWriterDateTimeFormat != nil { + objectMap["blobWriterDateTimeFormat"] = bs.BlobWriterDateTimeFormat + } + if bs.BlobWriterAddHeader != nil { + objectMap["blobWriterAddHeader"] = bs.BlobWriterAddHeader + } + if bs.CopyBehavior != nil { + objectMap["copyBehavior"] = bs.CopyBehavior + } + if bs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = bs.WriteBatchSize + } + if bs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = bs.WriteBatchTimeout + } + if bs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = bs.SinkRetryCount + } + if bs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = bs.SinkRetryWait + } + 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) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { - return &cdsfaed, true +// AsAzureSQLSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureSQLSink() (*AzureSQLSink, bool) { + return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) 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 CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) 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 CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) 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 CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsBlobSink() (*BlobSink, bool) { + return &bs, true +} + +// AsBinarySink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAvroSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsJSONSink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) 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 CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) 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 CommonDataServiceForAppsEntityDataset. -func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBasicDataset() (BasicDataset, bool) { - return &cdsfaed, true +// AsBasicCopySink is the BasicCopySink implementation for BlobSink. +func (bs BlobSink) AsBasicCopySink() (BasicCopySink, bool) { + return &bs, true } -// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsEntityDataset struct. -func (cdsfaed *CommonDataServiceForAppsEntityDataset) 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 { @@ -40211,98 +42716,107 @@ func (cdsfaed *CommonDataServiceForAppsEntityDataset) UnmarshalJSON(body []byte) } for k, v := range m { switch k { - case "typeProperties": + case "blobWriterOverwriteFiles": if v != nil { - var commonDataServiceForAppsEntityDatasetTypeProperties CommonDataServiceForAppsEntityDatasetTypeProperties - err = json.Unmarshal(*v, &commonDataServiceForAppsEntityDatasetTypeProperties) + var blobWriterOverwriteFiles interface{} + err = json.Unmarshal(*v, &blobWriterOverwriteFiles) if err != nil { return err } - cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties = &commonDataServiceForAppsEntityDatasetTypeProperties + 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 cdsfaed.AdditionalProperties == nil { - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.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 } - cdsfaed.Type = typeVar + bs.Type = typeVar } } } @@ -40310,625 +42824,499 @@ func (cdsfaed *CommonDataServiceForAppsEntityDataset) UnmarshalJSON(body []byte) return nil } -// 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"` -} - -// CommonDataServiceForAppsLinkedService common Data Service for Apps linked service. -type CommonDataServiceForAppsLinkedService struct { - // CommonDataServiceForAppsLinkedServiceTypeProperties - Common Data Service for Apps linked service properties. - *CommonDataServiceForAppsLinkedServiceTypeProperties `json:"typeProperties,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:""` - // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) MarshalJSON() ([]byte, error) { - cdsfals.Type = TypeCommonDataServiceForApps +// MarshalJSON is the custom marshaler for BlobSource. +func (bs BlobSource) MarshalJSON() ([]byte, error) { + bs.Type = TypeBlobSource objectMap := make(map[string]interface{}) - if cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties + if bs.TreatEmptyAsNull != nil { + objectMap["treatEmptyAsNull"] = bs.TreatEmptyAsNull } - if cdsfals.ConnectVia != nil { - objectMap["connectVia"] = cdsfals.ConnectVia + if bs.SkipHeaderLineCount != nil { + objectMap["skipHeaderLineCount"] = bs.SkipHeaderLineCount } - if cdsfals.Description != nil { - objectMap["description"] = cdsfals.Description + if bs.Recursive != nil { + objectMap["recursive"] = bs.Recursive } - if cdsfals.Parameters != nil { - objectMap["parameters"] = cdsfals.Parameters + if bs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = bs.SourceRetryCount } - if cdsfals.Annotations != nil { - objectMap["annotations"] = cdsfals.Annotations + if bs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = bs.SourceRetryWait } - if cdsfals.Type != "" { - objectMap["type"] = cdsfals.Type + if bs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = bs.MaxConcurrentConnections } - for k, v := range cdsfals.AdditionalProperties { + if bs.Type != "" { + objectMap["type"] = bs.Type + } + for k, v := range bs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false +// AsBlobSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBlobSource() (*BlobSource, bool) { + return &bs, true } -// AsPaypalLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false -} - -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// 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) { +// AsMySQLSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. -func (cdsfals CommonDataServiceForAppsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsCopySource() (*CopySource, 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 { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var commonDataServiceForAppsLinkedServiceTypeProperties CommonDataServiceForAppsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &commonDataServiceForAppsLinkedServiceTypeProperties) - if err != nil { - return err - } - cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties = &commonDataServiceForAppsLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if cdsfals.AdditionalProperties == nil { - cdsfals.AdditionalProperties = make(map[string]interface{}) - } - cdsfals.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - cdsfals.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - cdsfals.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - cdsfals.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - cdsfals.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - cdsfals.Type = typeVar - } - } - } - - return nil -} - -// 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"` +// AsBasicCopySource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsBasicCopySource() (BasicCopySource, bool) { + return &bs, true } -// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsLinkedServiceTypeProperties struct. -func (cdsfalstp *CommonDataServiceForAppsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -40936,85 +43324,80 @@ func (cdsfalstp *CommonDataServiceForAppsLinkedServiceTypeProperties) UnmarshalJ } for k, v := range m { switch k { - case "deploymentType": + case "treatEmptyAsNull": if v != nil { - var deploymentType DynamicsDeploymentType - err = json.Unmarshal(*v, &deploymentType) + var treatEmptyAsNull interface{} + err = json.Unmarshal(*v, &treatEmptyAsNull) if err != nil { return err } - cdsfalstp.DeploymentType = deploymentType + bs.TreatEmptyAsNull = treatEmptyAsNull } - case "hostName": + case "skipHeaderLineCount": if v != nil { - var hostName interface{} - err = json.Unmarshal(*v, &hostName) + var skipHeaderLineCount interface{} + err = json.Unmarshal(*v, &skipHeaderLineCount) if err != nil { return err } - cdsfalstp.HostName = hostName + bs.SkipHeaderLineCount = skipHeaderLineCount } - case "port": + case "recursive": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - cdsfalstp.Port = port + bs.Recursive = recursive } - case "serviceUri": + default: if v != nil { - var serviceURI interface{} - err = json.Unmarshal(*v, &serviceURI) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) 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 + if bs.AdditionalProperties == nil { + bs.AdditionalProperties = make(map[string]interface{}) } - cdsfalstp.OrganizationName = organizationName + bs.AdditionalProperties[k] = additionalProperties } - case "authenticationType": + case "sourceRetryCount": if v != nil { - var authenticationType DynamicsAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - cdsfalstp.AuthenticationType = authenticationType + bs.SourceRetryCount = sourceRetryCount } - case "username": + case "sourceRetryWait": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - cdsfalstp.Username = username + bs.SourceRetryWait = sourceRetryWait } - case "password": + case "maxConcurrentConnections": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - cdsfalstp.Password = password + bs.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 } - cdsfalstp.EncryptedCredential = encryptedCredential + bs.Type = typeVar } } } @@ -41022,219 +43405,96 @@ func (cdsfalstp *CommonDataServiceForAppsLinkedServiceTypeProperties) UnmarshalJ 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"` +// 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:""` - // 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"` + // 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 CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) MarshalJSON() ([]byte, error) { - cdsfas.Type = TypeCommonDataServiceForAppsSink +// MarshalJSON is the custom marshaler for BlobTrigger. +func (bt BlobTrigger) MarshalJSON() ([]byte, error) { + bt.Type = TypeBlobTrigger objectMap := make(map[string]interface{}) - if cdsfas.WriteBehavior != nil { - objectMap["writeBehavior"] = cdsfas.WriteBehavior - } - if cdsfas.IgnoreNullValues != nil { - objectMap["ignoreNullValues"] = cdsfas.IgnoreNullValues - } - if cdsfas.WriteBatchSize != nil { - objectMap["writeBatchSize"] = cdsfas.WriteBatchSize - } - if cdsfas.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = cdsfas.WriteBatchTimeout + if bt.BlobTriggerTypeProperties != nil { + objectMap["typeProperties"] = bt.BlobTriggerTypeProperties } - if cdsfas.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = cdsfas.SinkRetryCount + if bt.Pipelines != nil { + objectMap["pipelines"] = bt.Pipelines } - if cdsfas.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = cdsfas.SinkRetryWait + if bt.Description != nil { + objectMap["description"] = bt.Description } - if cdsfas.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections + if bt.Annotations != nil { + objectMap["annotations"] = bt.Annotations } - if cdsfas.Type != "" { - objectMap["type"] = cdsfas.Type + if bt.Type != "" { + objectMap["type"] = bt.Type } - for k, v := range cdsfas.AdditionalProperties { + for k, v := range bt.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// 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 -} - -// AsDynamicsSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsDynamicsSink() (*DynamicsSink, bool) { - return nil, false -} - -// AsMicrosoftAccessSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { - return nil, false -} - -// AsInformixSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsInformixSink() (*InformixSink, bool) { - return nil, false -} - -// AsOdbcSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsOdbcSink() (*OdbcSink, bool) { - return nil, false -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { - return nil, false -} - -// AsAzureBlobFSSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false -} - -// AsOracleSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsOracleSink() (*OracleSink, bool) { - return nil, false -} - -// AsSQLDWSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSQLDWSink() (*SQLDWSink, bool) { - return nil, false -} - -// AsSQLMISink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSQLMISink() (*SQLMISink, bool) { - return nil, false -} - -// AsAzureSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { - return nil, false -} - -// AsSQLServerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSQLServerSink() (*SQLServerSink, bool) { - return nil, false -} - -// AsSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSQLSink() (*SQLSink, bool) { - return nil, false -} - -// AsDocumentDbCollectionSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { - return nil, false -} - -// AsFileSystemSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsFileSystemSink() (*FileSystemSink, bool) { - return nil, false -} - -// AsBlobSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsBlobSink() (*BlobSink, bool) { - return nil, false -} - -// AsBinarySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsBinarySink() (*BinarySink, bool) { +// AsRerunTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsRerunTumblingWindowTrigger() (*RerunTumblingWindowTrigger, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsParquetSink() (*ParquetSink, bool) { +// AsTumblingWindowTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsBlobEventsTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBlobEventsTrigger() (*BlobEventsTrigger, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { - return nil, false +// AsBlobTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBlobTrigger() (*BlobTrigger, bool) { + return &bt, true } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsScheduleTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { - return nil, false +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return &bt, true } -// AsCopySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsCopySink() (*CopySink, bool) { +// AsTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsTrigger() (*Trigger, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. -func (cdsfas CommonDataServiceForAppsSink) AsBasicCopySink() (BasicCopySink, bool) { - return &cdsfas, true +// AsBasicTrigger is the BasicTrigger implementation for BlobTrigger. +func (bt BlobTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &bt, true } -// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsSink struct. -func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error { +// 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 { @@ -41242,23 +43502,23 @@ func (cdsfas *CommonDataServiceForAppsSink) 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 blobTriggerTypeProperties BlobTriggerTypeProperties + err = json.Unmarshal(*v, &blobTriggerTypeProperties) if err != nil { return err } - cdsfas.WriteBehavior = &writeBehavior + bt.BlobTriggerTypeProperties = &blobTriggerTypeProperties } - case "ignoreNullValues": + case "pipelines": if v != nil { - var ignoreNullValues interface{} - err = json.Unmarshal(*v, &ignoreNullValues) + var pipelines []TriggerPipelineReference + err = json.Unmarshal(*v, &pipelines) if err != nil { return err } - cdsfas.IgnoreNullValues = ignoreNullValues + bt.Pipelines = &pipelines } default: if v != nil { @@ -41267,64 +43527,46 @@ func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdsfas.AdditionalProperties == nil { - cdsfas.AdditionalProperties = make(map[string]interface{}) - } - cdsfas.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - cdsfas.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err + if bt.AdditionalProperties == nil { + bt.AdditionalProperties = make(map[string]interface{}) } - cdsfas.WriteBatchTimeout = writeBatchTimeout + bt.AdditionalProperties[k] = additionalProperties } - 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 } - cdsfas.SinkRetryCount = sinkRetryCount + bt.Description = &description } - case "sinkRetryWait": + case "runtimeState": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) if err != nil { return err } - cdsfas.SinkRetryWait = sinkRetryWait + bt.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 } - cdsfas.MaxConcurrentConnections = maxConcurrentConnections + bt.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicTrigger err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cdsfas.Type = typeVar + bt.Type = typeVar } } } @@ -41332,459 +43574,529 @@ func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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:""` - // 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"` + // 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', 'TypeAzureMariaDB', '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 CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) MarshalJSON() ([]byte, error) { - cdsfas.Type = TypeCommonDataServiceForAppsSource +// MarshalJSON is the custom marshaler for CassandraLinkedService. +func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) { + cls.Type = TypeCassandra objectMap := make(map[string]interface{}) - if cdsfas.Query != nil { - objectMap["query"] = cdsfas.Query + if cls.CassandraLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cls.CassandraLinkedServiceTypeProperties } - if cdsfas.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cdsfas.SourceRetryCount + if cls.ConnectVia != nil { + objectMap["connectVia"] = cls.ConnectVia } - if cdsfas.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cdsfas.SourceRetryWait + if cls.Description != nil { + objectMap["description"] = cls.Description } - if cdsfas.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters } - if cdsfas.Type != "" { - objectMap["type"] = cdsfas.Type + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations } - for k, v := range cdsfas.AdditionalProperties { + if cls.Type != "" { + objectMap["type"] = cls.Type + } + for k, v := range cls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDrillSource() (*DrillSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsConcurSource() (*ConcurSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsOffice365Source() (*Office365Source, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsWebSource() (*WebSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsTeradataSource() (*TeradataSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSQLMISource() (*SQLMISource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSalesforceSource() (*SalesforceSource, 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 } -// AsODataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsODataSource() (*ODataSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsSybaseSource() (*SybaseSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMySQLSource() (*MySQLSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsOdbcSource() (*OdbcSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsInformixSource() (*InformixSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return &cdsfas, true +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsBlobSource() (*BlobSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsBinarySource() (*BinarySource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsCopySource() (*CopySource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. -func (cdsfas CommonDataServiceForAppsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &cdsfas, true +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CommonDataServiceForAppsSource struct. -func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -41792,14 +44104,14 @@ func (cdsfas *CommonDataServiceForAppsSource) 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 cassandraLinkedServiceTypeProperties CassandraLinkedServiceTypeProperties + err = json.Unmarshal(*v, &cassandraLinkedServiceTypeProperties) if err != nil { return err } - cdsfas.Query = query + cls.CassandraLinkedServiceTypeProperties = &cassandraLinkedServiceTypeProperties } default: if v != nil { @@ -41808,46 +44120,55 @@ func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdsfas.AdditionalProperties == nil { - cdsfas.AdditionalProperties = make(map[string]interface{}) + if cls.AdditionalProperties == nil { + cls.AdditionalProperties = make(map[string]interface{}) } - cdsfas.AdditionalProperties[k] = additionalProperties + cls.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 } - cdsfas.SourceRetryCount = sourceRetryCount + cls.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 } - cdsfas.SourceRetryWait = sourceRetryWait + cls.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 } - cdsfas.MaxConcurrentConnections = maxConcurrentConnections + cls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + cls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cdsfas.Type = typeVar + cls.Type = typeVar } } } @@ -41855,514 +44176,583 @@ func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error { return nil } -// ConcurLinkedService concur Service linked service. -type ConcurLinkedService struct { - // ConcurLinkedServiceTypeProperties - Concur Service linked service properties. - *ConcurLinkedServiceTypeProperties `json:"typeProperties,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 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 + } + } + } + + 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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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 CassandraSource. +func (cs CassandraSource) MarshalJSON() ([]byte, error) { + cs.Type = TypeCassandraSource objectMap := make(map[string]interface{}) - if cls.ConcurLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties + if cs.Query != nil { + objectMap["query"] = cs.Query } - if cls.ConnectVia != nil { - objectMap["connectVia"] = cls.ConnectVia + if cs.ConsistencyLevel != "" { + objectMap["consistencyLevel"] = cs.ConsistencyLevel } - if cls.Description != nil { - objectMap["description"] = cls.Description + if cs.QueryTimeout != nil { + objectMap["queryTimeout"] = cs.QueryTimeout } - if cls.Parameters != nil { - objectMap["parameters"] = cls.Parameters + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount } - if cls.Annotations != nil { - objectMap["annotations"] = cls.Annotations + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait } - if cls.Type != "" { - objectMap["type"] = cls.Type + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - for k, v := range cls.AdditionalProperties { + if cs.Type != "" { + objectMap["type"] = cs.Type + } + for k, v := range cs.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) { +// AsHTTPSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSquareSource() (*SquareSource, 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) { +// AsSparkSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false +// AsCassandraSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsCassandraSource() (*CassandraSource, bool) { + return &cs, true } -// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &cs, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. -func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) 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 CassandraSource. +func (cs CassandraSource) AsBasicCopySource() (BasicCopySource, bool) { + return &cs, true } -// UnmarshalJSON is the custom unmarshaler for ConcurLinkedService struct. -func (cls *ConcurLinkedService) 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 { @@ -42370,166 +44760,80 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties - err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties) - if err != nil { - return err - } - cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - 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 - } - cls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - cls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - cls.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 } - cls.Annotations = &annotations + cs.Query = query } - case "type": + case "consistencyLevel": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var consistencyLevel CassandraSourceReadConsistencyLevels + err = json.Unmarshal(*v, &consistencyLevel) if err != nil { return err } - cls.Type = typeVar + cs.ConsistencyLevel = consistencyLevel } - } - } - - 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"` -} - -// 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": + case "queryTimeout": if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - clstp.ClientID = clientID + cs.QueryTimeout = queryTimeout } - case "username": + default: if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - clstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) } - clstp.Password = password + cs.AdditionalProperties[k] = additionalProperties } - case "useEncryptedEndpoints": + case "sourceRetryCount": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - clstp.UseEncryptedEndpoints = useEncryptedEndpoints + cs.SourceRetryCount = sourceRetryCount } - case "useHostVerification": + case "sourceRetryWait": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - clstp.UseHostVerification = useHostVerification + cs.SourceRetryWait = sourceRetryWait } - case "usePeerVerification": + case "maxConcurrentConnections": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - clstp.UsePeerVerification = usePeerVerification + cs.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 } - clstp.EncryptedCredential = encryptedCredential + cs.Type = typeVar } } } @@ -42537,10 +44841,10 @@ 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"` +// 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:""` // Description - Dataset description. @@ -42557,449 +44861,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `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 CassandraTableDataset. +func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) { + ctd.Type = TypeCassandraTable objectMap := make(map[string]interface{}) - if cod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = cod.GenericDatasetTypeProperties + if ctd.CassandraTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = ctd.CassandraTableDatasetTypeProperties } - if cod.Description != nil { - objectMap["description"] = cod.Description + if ctd.Description != nil { + objectMap["description"] = ctd.Description } - if cod.Structure != nil { - objectMap["structure"] = cod.Structure + if ctd.Structure != nil { + objectMap["structure"] = ctd.Structure } - if cod.Schema != nil { - objectMap["schema"] = cod.Schema + if ctd.Schema != nil { + objectMap["schema"] = ctd.Schema } - if cod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cod.LinkedServiceName + if ctd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ctd.LinkedServiceName } - if cod.Parameters != nil { - objectMap["parameters"] = cod.Parameters + if ctd.Parameters != nil { + objectMap["parameters"] = ctd.Parameters } - if cod.Annotations != nil { - objectMap["annotations"] = cod.Annotations + if ctd.Annotations != nil { + objectMap["annotations"] = ctd.Annotations } - if cod.Folder != nil { - objectMap["folder"] = cod.Folder + if ctd.Folder != nil { + objectMap["folder"] = ctd.Folder } - if cod.Type != "" { - objectMap["type"] = cod.Type + if ctd.Type != "" { + objectMap["type"] = ctd.Type } - for k, v := range cod.AdditionalProperties { + for k, v := range ctd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDrillTableDataset() (*DrillTableDataset, 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) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// 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 } -// AsDelimitedTextDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ConcurObjectDataset. -func (cod ConcurObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &cod, true +// AsBinaryDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ConcurObjectDataset struct. -func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { +// AsJSONDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ctd, true +} + +// 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 { @@ -43009,12 +45348,12 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var cassandraTableDatasetTypeProperties CassandraTableDatasetTypeProperties + err = json.Unmarshal(*v, &cassandraTableDatasetTypeProperties) if err != nil { return err } - cod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + ctd.CassandraTableDatasetTypeProperties = &cassandraTableDatasetTypeProperties } default: if v != nil { @@ -43023,10 +45362,10 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cod.AdditionalProperties == nil { - cod.AdditionalProperties = make(map[string]interface{}) + if ctd.AdditionalProperties == nil { + ctd.AdditionalProperties = make(map[string]interface{}) } - cod.AdditionalProperties[k] = additionalProperties + ctd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -43035,7 +45374,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Description = &description + ctd.Description = &description } case "structure": if v != nil { @@ -43044,7 +45383,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Structure = structure + ctd.Structure = structure } case "schema": if v != nil { @@ -43053,7 +45392,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Schema = schema + ctd.Schema = schema } case "linkedServiceName": if v != nil { @@ -43062,7 +45401,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.LinkedServiceName = &linkedServiceName + ctd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -43071,7 +45410,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Parameters = parameters + ctd.Parameters = parameters } case "annotations": if v != nil { @@ -43080,7 +45419,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Annotations = &annotations + ctd.Annotations = &annotations } case "folder": if v != nil { @@ -43089,7 +45428,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Folder = &folder + ctd.Folder = &folder } case "type": if v != nil { @@ -43098,7 +45437,7 @@ func (cod *ConcurObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cod.Type = typeVar + ctd.Type = typeVar } } } @@ -43106,459 +45445,563 @@ 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"` +// 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 + } + } + } + + 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:""` - // 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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `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 CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) MarshalJSON() ([]byte, error) { + cdsfaed.Type = TypeCommonDataServiceForAppsEntity objectMap := make(map[string]interface{}) - if cs.Query != nil { - objectMap["query"] = cs.Query + if cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties != nil { + objectMap["typeProperties"] = cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties } - if cs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cs.SourceRetryCount + if cdsfaed.Description != nil { + objectMap["description"] = cdsfaed.Description } - if cs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cs.SourceRetryWait + if cdsfaed.Structure != nil { + objectMap["structure"] = cdsfaed.Structure } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + if cdsfaed.Schema != nil { + objectMap["schema"] = cdsfaed.Schema } - if cs.Type != "" { - objectMap["type"] = cs.Type + if cdsfaed.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cdsfaed.LinkedServiceName } - for k, v := range cs.AdditionalProperties { + if cdsfaed.Parameters != nil { + objectMap["parameters"] = cdsfaed.Parameters + } + if cdsfaed.Annotations != nil { + objectMap["annotations"] = cdsfaed.Annotations + } + if cdsfaed.Folder != nil { + objectMap["folder"] = cdsfaed.Folder + } + if cdsfaed.Type != "" { + objectMap["type"] = cdsfaed.Type + } + for k, v := range cdsfaed.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) { - return &cs, true +// AsCouchbaseTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsWebSource() (*WebSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsTeradataSource() (*TeradataSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLMISource() (*SQLMISource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsRestSource() (*RestSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapTableSource() (*SapTableSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsODataSource() (*ODataSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsSybaseSource() (*SybaseSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMySQLSource() (*MySQLSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 } -// AsInformixSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsCustomDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) { +// AsJSONDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsCopySource() (*CopySource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ConcurSource. -func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) { - return &cs, true +// AsParquetDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ConcurSource struct. -func (cs *ConcurSource) UnmarshalJSON(body []byte) error { +// AsAvroDataset is the BasicDataset implementation for CommonDataServiceForAppsEntityDataset. +func (cdsfaed CommonDataServiceForAppsEntityDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -43566,14 +46009,14 @@ func (cs *ConcurSource) 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 commonDataServiceForAppsEntityDatasetTypeProperties CommonDataServiceForAppsEntityDatasetTypeProperties + err = json.Unmarshal(*v, &commonDataServiceForAppsEntityDatasetTypeProperties) if err != nil { return err } - cs.Query = query + cdsfaed.CommonDataServiceForAppsEntityDatasetTypeProperties = &commonDataServiceForAppsEntityDatasetTypeProperties } default: if v != nil { @@ -43582,46 +46025,82 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) + if cdsfaed.AdditionalProperties == nil { + cdsfaed.AdditionalProperties = make(map[string]interface{}) } - cs.AdditionalProperties[k] = additionalProperties + cdsfaed.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 + cdsfaed.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 + cdsfaed.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 + cdsfaed.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + cdsfaed.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + cdsfaed.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + cdsfaed.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + cdsfaed.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 + cdsfaed.Type = typeVar } } } @@ -43629,645 +46108,526 @@ 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) +// 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"` } -// ControlActivity base class for all control activities like IfCondition, ForEach , Until. -type ControlActivity struct { +// 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:""` - // 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', '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"` -} - -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 + // 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', 'TypeAzureMariaDB', '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 ControlActivity. -func (ca ControlActivity) MarshalJSON() ([]byte, error) { - ca.Type = TypeContainer +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) MarshalJSON() ([]byte, error) { + cdsfals.Type = TypeCommonDataServiceForApps objectMap := make(map[string]interface{}) - if ca.Name != nil { - objectMap["name"] = ca.Name + if cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties } - if ca.Description != nil { - objectMap["description"] = ca.Description + if cdsfals.ConnectVia != nil { + objectMap["connectVia"] = cdsfals.ConnectVia } - if ca.DependsOn != nil { - objectMap["dependsOn"] = ca.DependsOn + if cdsfals.Description != nil { + objectMap["description"] = cdsfals.Description } - if ca.UserProperties != nil { - objectMap["userProperties"] = ca.UserProperties + if cdsfals.Parameters != nil { + objectMap["parameters"] = cdsfals.Parameters } - if ca.Type != "" { - objectMap["type"] = ca.Type + if cdsfals.Annotations != nil { + objectMap["annotations"] = cdsfals.Annotations } - for k, v := range ca.AdditionalProperties { + if cdsfals.Type != "" { + objectMap["type"] = cdsfals.Type + } + for k, v := range cdsfals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsControlActivity() (*ControlActivity, bool) { - return &ca, true +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &ca, true +// AsEloquaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsActivity() (*Activity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ControlActivity. -func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) { - return &ca, true +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, 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 - } - } - } +// AsConcurLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} - return nil +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, 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', '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"` +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, 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) +// AsSapHanaLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) { - return &ca, true +// AsCassandraLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false } -// AsExecutionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ca, true +// AsODataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsActivity() (*Activity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for CopyActivity. -func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) { - return &ca, true +// AsHDInsightLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CopyActivity struct. -func (ca *CopyActivity) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CommonDataServiceForAppsLinkedService. +func (cdsfals CommonDataServiceForAppsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// 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 { @@ -44277,48 +46637,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 commonDataServiceForAppsLinkedServiceTypeProperties CommonDataServiceForAppsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &commonDataServiceForAppsLinkedServiceTypeProperties) if err != nil { return err } - ca.Policy = &policy + cdsfals.CommonDataServiceForAppsLinkedServiceTypeProperties = &commonDataServiceForAppsLinkedServiceTypeProperties } default: if v != nil { @@ -44327,19 +46651,19 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ca.AdditionalProperties == nil { - ca.AdditionalProperties = make(map[string]interface{}) + if cdsfals.AdditionalProperties == nil { + cdsfals.AdditionalProperties = make(map[string]interface{}) } - ca.AdditionalProperties[k] = additionalProperties + cdsfals.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 + cdsfals.ConnectVia = &connectVia } case "description": if v != nil { @@ -44348,34 +46672,34 @@ func (ca *CopyActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - ca.Description = &description + cdsfals.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 + cdsfals.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 + cdsfals.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 + cdsfals.Type = typeVar } } } @@ -44383,34 +46707,31 @@ 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"` +// 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"` } -// UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct. -func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -44418,102 +46739,85 @@ 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": + case "deploymentType": if v != nil { - var translator interface{} - err = json.Unmarshal(*v, &translator) + var deploymentType DynamicsDeploymentType + err = json.Unmarshal(*v, &deploymentType) if err != nil { return err } - catp.Translator = translator + cdsfalstp.DeploymentType = deploymentType } - case "enableStaging": + case "hostName": if v != nil { - var enableStaging interface{} - err = json.Unmarshal(*v, &enableStaging) + var hostName interface{} + err = json.Unmarshal(*v, &hostName) if err != nil { return err } - catp.EnableStaging = enableStaging + cdsfalstp.HostName = hostName } - case "stagingSettings": + case "port": if v != nil { - var stagingSettings StagingSettings - err = json.Unmarshal(*v, &stagingSettings) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - catp.StagingSettings = &stagingSettings + cdsfalstp.Port = port } - case "parallelCopies": + case "serviceUri": if v != nil { - var parallelCopies interface{} - err = json.Unmarshal(*v, ¶llelCopies) + var serviceURI interface{} + err = json.Unmarshal(*v, &serviceURI) if err != nil { return err } - catp.ParallelCopies = parallelCopies + cdsfalstp.ServiceURI = serviceURI } - case "dataIntegrationUnits": + case "organizationName": if v != nil { - var dataIntegrationUnits interface{} - err = json.Unmarshal(*v, &dataIntegrationUnits) + var organizationName interface{} + err = json.Unmarshal(*v, &organizationName) if err != nil { return err } - catp.DataIntegrationUnits = dataIntegrationUnits + cdsfalstp.OrganizationName = organizationName } - case "enableSkipIncompatibleRow": + case "authenticationType": if v != nil { - var enableSkipIncompatibleRow interface{} - err = json.Unmarshal(*v, &enableSkipIncompatibleRow) + var authenticationType DynamicsAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow + cdsfalstp.AuthenticationType = authenticationType } - 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 + cdsfalstp.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 + cdsfalstp.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 + cdsfalstp.EncryptedCredential = encryptedCredential } } } @@ -44521,42 +46825,12 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// 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 { +// 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. @@ -44569,344 +46843,216 @@ type CopySink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `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 - } - - 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 +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) MarshalJSON() ([]byte, error) { + cdsfas.Type = TypeCommonDataServiceForAppsSink + objectMap := make(map[string]interface{}) + if cdsfas.WriteBehavior != nil { + objectMap["writeBehavior"] = cdsfas.WriteBehavior } - - csArray := make([]BasicCopySink, len(rawMessages)) - - for index, rawMessage := range rawMessages { - cs, err := unmarshalBasicCopySink(*rawMessage) - if err != nil { - return nil, err - } - csArray[index] = cs + if cdsfas.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = cdsfas.IgnoreNullValues } - 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 cdsfas.WriteBatchSize != nil { + objectMap["writeBatchSize"] = cdsfas.WriteBatchSize } - if cs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout + if cdsfas.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = cdsfas.WriteBatchTimeout } - if cs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = cs.SinkRetryCount + if cdsfas.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = cdsfas.SinkRetryCount } - if cs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = cs.SinkRetryWait + if cdsfas.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = cdsfas.SinkRetryWait } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + if cdsfas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections } - if cs.Type != "" { - objectMap["type"] = cs.Type + if cdsfas.Type != "" { + objectMap["type"] = cdsfas.Type } - for k, v := range cs.AdditionalProperties { + for k, v := range cdsfas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, 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 } -// AsDynamicsCrmSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsInformixSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsInformixSink() (*InformixSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsOracleSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsOracleSink() (*OracleSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLMISink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLMISink() (*SQLMISink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSQLSink() (*SQLSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsBlobSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsBlobSink() (*BlobSink, bool) { +// AsBinarySink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsBinarySink() (*BinarySink, bool) { +// AsParquetSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsParquetSink() (*ParquetSink, bool) { +// AsAvroSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureTableSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsCopySink() (*CopySink, bool) { - return &cs, true +// AsJSONSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsJSONSink() (*JSONSink, bool) { + return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for CopySink. -func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) { - return &cs, true +// AsDelimitedTextSink is the BasicCopySink implementation for CommonDataServiceForAppsSink. +func (cdsfas CommonDataServiceForAppsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CopySink struct. -func (cs *CopySink) UnmarshalJSON(body []byte) error { +// 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 { @@ -44914,6 +47060,24 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "writeBehavior": + if v != nil { + var writeBehavior string + err = json.Unmarshal(*v, &writeBehavior) + if err != nil { + return err + } + 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 { var additionalProperties interface{} @@ -44921,10 +47085,10 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) + if cdsfas.AdditionalProperties == nil { + cdsfas.AdditionalProperties = make(map[string]interface{}) } - cs.AdditionalProperties[k] = additionalProperties + cdsfas.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -44933,7 +47097,7 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.WriteBatchSize = writeBatchSize + cdsfas.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -44942,7 +47106,7 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.WriteBatchTimeout = writeBatchTimeout + cdsfas.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -44951,7 +47115,7 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.SinkRetryCount = sinkRetryCount + cdsfas.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -44960,7 +47124,7 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.SinkRetryWait = sinkRetryWait + cdsfas.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -44969,7 +47133,7 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.MaxConcurrentConnections = maxConcurrentConnections + cdsfas.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -44978,7 +47142,7 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.Type = typeVar + cdsfas.Type = typeVar } } } @@ -44986,93 +47150,10 @@ func (cs *CopySink) UnmarshalJSON(body []byte) error { 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) - 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) -} - -// CopySource a copy activity source. -type CopySource struct { +// 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). @@ -45081,797 +47162,477 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' 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 +// MarshalJSON is the custom marshaler for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) MarshalJSON() ([]byte, error) { + cdsfas.Type = TypeCommonDataServiceForAppsSource objectMap := make(map[string]interface{}) - if cs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cs.SourceRetryCount + if cdsfas.Query != nil { + objectMap["query"] = cdsfas.Query } - if cs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cs.SourceRetryWait + if cdsfas.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cdsfas.SourceRetryCount } - if cs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections + if cdsfas.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cdsfas.SourceRetryWait } - if cs.Type != "" { - objectMap["type"] = cs.Type + if cdsfas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdsfas.MaxConcurrentConnections } - for k, v := range cs.AdditionalProperties { + if cdsfas.Type != "" { + objectMap["type"] = cdsfas.Type + } + for k, v := range cdsfas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) { +// 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 } -// AsMarketoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) { +// AsBlobSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsJiraSource() (*JiraSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHiveSource() (*HiveSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsVerticaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDrillSource() (*DrillSource, bool) { +// AsZohoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsXeroSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsConcurSource() (*ConcurSource, bool) { +// AsSquareSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSparkSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsShopifySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOffice365Source() (*Office365Source, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPaypalSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMarketoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsWebSource() (*WebSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsTeradataSource() (*TeradataSource, bool) { +// AsJiraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOracleSource() (*OracleSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHiveSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLMISource() (*SQLMISource, bool) { +// AsEloquaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsDrillSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSQLSource() (*SQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsRestSource() (*RestSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapTableSource() (*SapTableSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsODataSource() (*ODataSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDb2Source() (*Db2Source, bool) { +// AsSapEccSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsInformixSource() (*InformixSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsBlobSource() (*BlobSource, bool) { +// AsDb2Source is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsTabularSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsCopySource() (*CopySource, bool) { - return &cs, true +// AsBinarySource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CopySource. -func (cs CopySource) AsBasicCopySource() (BasicCopySource, bool) { - return &cs, true +// AsJSONSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsJSONSource() (*JSONSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CopySource struct. -func (cs *CopySource) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsAvroSource is the BasicCopySource implementation for CommonDataServiceForAppsSource. +func (cdsfas CommonDataServiceForAppsSource) AsAvroSource() (*AvroSource, 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 { @@ -45879,6 +47640,15 @@ 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 + } + cdsfas.Query = query + } default: if v != nil { var additionalProperties interface{} @@ -45886,10 +47656,10 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cs.AdditionalProperties == nil { - cs.AdditionalProperties = make(map[string]interface{}) + if cdsfas.AdditionalProperties == nil { + cdsfas.AdditionalProperties = make(map[string]interface{}) } - cs.AdditionalProperties[k] = additionalProperties + cdsfas.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -45898,7 +47668,7 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.SourceRetryCount = sourceRetryCount + cdsfas.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -45907,7 +47677,7 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.SourceRetryWait = sourceRetryWait + cdsfas.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -45916,7 +47686,7 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.MaxConcurrentConnections = maxConcurrentConnections + cdsfas.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -45925,7 +47695,7 @@ func (cs *CopySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - cs.Type = typeVar + cdsfas.Type = typeVar } } } @@ -45933,10 +47703,10 @@ 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"` +// 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. @@ -45947,500 +47717,505 @@ type CosmosDbLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { - cdls.Type = TypeCosmosDb +// MarshalJSON is the custom marshaler for ConcurLinkedService. +func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) { + cls.Type = TypeConcur objectMap := make(map[string]interface{}) - if cdls.CosmosDbLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties + if cls.ConcurLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cls.ConcurLinkedServiceTypeProperties } - if cdls.ConnectVia != nil { - objectMap["connectVia"] = cdls.ConnectVia + if cls.ConnectVia != nil { + objectMap["connectVia"] = cls.ConnectVia } - if cdls.Description != nil { - objectMap["description"] = cdls.Description + if cls.Description != nil { + objectMap["description"] = cls.Description } - if cdls.Parameters != nil { - objectMap["parameters"] = cdls.Parameters + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters } - if cdls.Annotations != nil { - objectMap["annotations"] = cdls.Annotations + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations } - if cdls.Type != "" { - objectMap["type"] = cdls.Type + if cls.Type != "" { + objectMap["type"] = cls.Type } - for k, v := range cdls.AdditionalProperties { + for k, v := range cls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) 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 CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsConcurLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return &cls, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return &cdls, true +// AsDynamicsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. -func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cdls, true +// AsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbLinkedService struct. -func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { +// AsBasicLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cls, true +} + +// 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 { @@ -46450,12 +48225,12 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties - err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties) + var concurLinkedServiceTypeProperties ConcurLinkedServiceTypeProperties + err = json.Unmarshal(*v, &concurLinkedServiceTypeProperties) if err != nil { return err } - cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties + cls.ConcurLinkedServiceTypeProperties = &concurLinkedServiceTypeProperties } default: if v != nil { @@ -46464,10 +48239,10 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdls.AdditionalProperties == nil { - cdls.AdditionalProperties = make(map[string]interface{}) + if cls.AdditionalProperties == nil { + cls.AdditionalProperties = make(map[string]interface{}) } - cdls.AdditionalProperties[k] = additionalProperties + cls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -46476,7 +48251,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.ConnectVia = &connectVia + cls.ConnectVia = &connectVia } case "description": if v != nil { @@ -46485,7 +48260,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.Description = &description + cls.Description = &description } case "parameters": if v != nil { @@ -46494,7 +48269,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.Parameters = parameters + cls.Parameters = parameters } case "annotations": if v != nil { @@ -46503,7 +48278,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.Annotations = &annotations + cls.Annotations = &annotations } case "type": if v != nil { @@ -46512,7 +48287,7 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdls.Type = typeVar + cls.Type = typeVar } } } @@ -46520,20 +48295,105 @@ 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"` +// 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"` } -// CosmosDbMongoDbAPICollectionDataset the CosmosDB (MongoDB API) database dataset. -type CosmosDbMongoDbAPICollectionDataset struct { - // CosmosDbMongoDbAPICollectionDatasetTypeProperties - CosmosDB (MongoDB API) database dataset properties. - *CosmosDbMongoDbAPICollectionDatasetTypeProperties `json:"typeProperties,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:""` // Description - Dataset description. @@ -46550,449 +48410,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 ConcurObjectDataset. +func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) { + cod.Type = TypeConcurObject objectMap := make(map[string]interface{}) - if cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties != nil { - objectMap["typeProperties"] = cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties + if cod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = cod.GenericDatasetTypeProperties } - if cdmdacd.Description != nil { - objectMap["description"] = cdmdacd.Description + if cod.Description != nil { + objectMap["description"] = cod.Description } - if cdmdacd.Structure != nil { - objectMap["structure"] = cdmdacd.Structure + if cod.Structure != nil { + objectMap["structure"] = cod.Structure } - if cdmdacd.Schema != nil { - objectMap["schema"] = cdmdacd.Schema + if cod.Schema != nil { + objectMap["schema"] = cod.Schema } - if cdmdacd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cdmdacd.LinkedServiceName + if cod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cod.LinkedServiceName } - if cdmdacd.Parameters != nil { - objectMap["parameters"] = cdmdacd.Parameters + if cod.Parameters != nil { + objectMap["parameters"] = cod.Parameters } - if cdmdacd.Annotations != nil { - objectMap["annotations"] = cdmdacd.Annotations + if cod.Annotations != nil { + objectMap["annotations"] = cod.Annotations } - if cdmdacd.Folder != nil { - objectMap["folder"] = cdmdacd.Folder + if cod.Folder != nil { + objectMap["folder"] = cod.Folder } - if cdmdacd.Type != "" { - objectMap["type"] = cdmdacd.Type + if cod.Type != "" { + objectMap["type"] = cod.Type } - for k, v := range cdmdacd.AdditionalProperties { + for k, v := range cod.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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, 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 } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) 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 ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return &cdmdacd, true +// AsAzureMySQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. -func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBasicDataset() (BasicDataset, bool) { - return &cdmdacd, true +// AsJSONDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPICollectionDataset struct. -func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsAvroDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -47002,12 +48897,12 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e switch k { case "typeProperties": if v != nil { - var cosmosDbMongoDbAPICollectionDatasetTypeProperties CosmosDbMongoDbAPICollectionDatasetTypeProperties - err = json.Unmarshal(*v, &cosmosDbMongoDbAPICollectionDatasetTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties = &cosmosDbMongoDbAPICollectionDatasetTypeProperties + cod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -47016,10 +48911,10 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - if cdmdacd.AdditionalProperties == nil { - cdmdacd.AdditionalProperties = make(map[string]interface{}) + if cod.AdditionalProperties == nil { + cod.AdditionalProperties = make(map[string]interface{}) } - cdmdacd.AdditionalProperties[k] = additionalProperties + cod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -47028,7 +48923,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Description = &description + cod.Description = &description } case "structure": if v != nil { @@ -47037,7 +48932,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Structure = structure + cod.Structure = structure } case "schema": if v != nil { @@ -47046,7 +48941,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Schema = schema + cod.Schema = schema } case "linkedServiceName": if v != nil { @@ -47055,7 +48950,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.LinkedServiceName = &linkedServiceName + cod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -47064,7 +48959,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Parameters = parameters + cod.Parameters = parameters } case "annotations": if v != nil { @@ -47073,7 +48968,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Annotations = &annotations + cod.Annotations = &annotations } case "folder": if v != nil { @@ -47082,7 +48977,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Folder = &folder + cod.Folder = &folder } case "type": if v != nil { @@ -47091,7 +48986,7 @@ func (cdmdacd *CosmosDbMongoDbAPICollectionDataset) UnmarshalJSON(body []byte) e if err != nil { return err } - cdmdacd.Type = typeVar + cod.Type = typeVar } } } @@ -47099,520 +48994,494 @@ 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"` -} - -// CosmosDbMongoDbAPILinkedService linked service for CosmosDB (MongoDB API) data source. -type CosmosDbMongoDbAPILinkedService struct { - // CosmosDbMongoDbAPILinkedServiceTypeProperties - CosmosDB (MongoDB API) linked service properties. - *CosmosDbMongoDbAPILinkedServiceTypeProperties `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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 ConcurSource. +func (cs ConcurSource) MarshalJSON() ([]byte, error) { + cs.Type = TypeConcurSource objectMap := make(map[string]interface{}) - if cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties + if cs.Query != nil { + objectMap["query"] = cs.Query } - if cdmdals.ConnectVia != nil { - objectMap["connectVia"] = cdmdals.ConnectVia + if cs.QueryTimeout != nil { + objectMap["queryTimeout"] = cs.QueryTimeout } - if cdmdals.Description != nil { - objectMap["description"] = cdmdals.Description + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount } - if cdmdals.Parameters != nil { - objectMap["parameters"] = cdmdals.Parameters + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait } - if cdmdals.Annotations != nil { - objectMap["annotations"] = cdmdals.Annotations + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - if cdmdals.Type != "" { - objectMap["type"] = cdmdals.Type + if cs.Type != "" { + objectMap["type"] = cs.Type } - for k, v := range cdmdals.AdditionalProperties { + for k, v := range cs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return &cdmdals, true -} - -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return nil, false +// AsConcurSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsConcurSource() (*ConcurSource, bool) { + return &cs, true } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &cs, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. -func (cdmdals CosmosDbMongoDbAPILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cdmdals, true +// AsBasicCopySource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) { + return &cs, true } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPILinkedService struct. -func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -47620,71 +49489,71 @@ func (cdmdals *CosmosDbMongoDbAPILinkedService) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var cosmosDbMongoDbAPILinkedServiceTypeProperties CosmosDbMongoDbAPILinkedServiceTypeProperties - err = json.Unmarshal(*v, &cosmosDbMongoDbAPILinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties = &cosmosDbMongoDbAPILinkedServiceTypeProperties + cs.Query = query } - default: + case "queryTimeout": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - if cdmdals.AdditionalProperties == nil { - cdmdals.AdditionalProperties = make(map[string]interface{}) - } - cdmdals.AdditionalProperties[k] = additionalProperties + cs.QueryTimeout = queryTimeout } - 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 } - cdmdals.ConnectVia = &connectVia + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) + } + 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 } - cdmdals.Description = &description + cs.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 } - cdmdals.Parameters = parameters + cs.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 } - cdmdals.Annotations = &annotations + cs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cdmdals.Type = typeVar + cs.Type = typeVar } } } @@ -47692,222 +49561,322 @@ 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"` +// 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) } -// 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"` +// 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:""` - // 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"` + // 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 CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) MarshalJSON() ([]byte, error) { - cdmdas.Type = TypeCosmosDbMongoDbAPISink - objectMap := make(map[string]interface{}) - if cdmdas.WriteBehavior != nil { - objectMap["writeBehavior"] = cdmdas.WriteBehavior +func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - if cdmdas.WriteBatchSize != nil { - objectMap["writeBatchSize"] = cdmdas.WriteBatchSize + + 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 cdmdas.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = cdmdas.WriteBatchTimeout +} +func unmarshalBasicControlActivityArray(body []byte) ([]BasicControlActivity, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err } - if cdmdas.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = cdmdas.SinkRetryCount + + caArray := make([]BasicControlActivity, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ca, err := unmarshalBasicControlActivity(*rawMessage) + if err != nil { + return nil, err + } + caArray[index] = ca } - if cdmdas.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = cdmdas.SinkRetryWait + 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 } - if cdmdas.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections + if ca.Description != nil { + objectMap["description"] = ca.Description } - if cdmdas.Type != "" { - objectMap["type"] = cdmdas.Type + if ca.DependsOn != nil { + objectMap["dependsOn"] = ca.DependsOn } - for k, v := range cdmdas.AdditionalProperties { + 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) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return &cdmdas, true +// AsAzureFunctionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsInformixSink() (*InformixSink, bool) { +// AsWebActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsOdbcSink() (*OdbcSink, bool) { +// AsLookupActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsDeleteActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) { +// AsCustomActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLMISink() (*SQLMISink, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSQLSink() (*SQLSink, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsCopyActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsBlobSink() (*BlobSink, bool) { +// AsExecutionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsBinarySink() (*BinarySink, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsParquetSink() (*ParquetSink, bool) { +// AsWebHookActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsFilterActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsValidationActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsUntilActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsCopySink() (*CopySink, bool) { +// AsWaitActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. -func (cdmdas CosmosDbMongoDbAPISink) AsBasicCopySink() (BasicCopySink, bool) { - return &cdmdas, true +// AsForEachActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISink struct. -func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { +// AsIfConditionActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, 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 ControlActivity. +func (ca ControlActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &ca, true +} + +// AsActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsBasicActivity() (BasicActivity, bool) { + return &ca, true +} + +// 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 { @@ -47915,15 +49884,6 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { } 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{} @@ -47931,64 +49891,55 @@ func (cdmdas *CosmosDbMongoDbAPISink) UnmarshalJSON(body []byte) error { 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 + if ca.AdditionalProperties == nil { + ca.AdditionalProperties = make(map[string]interface{}) } - cdmdas.WriteBatchSize = writeBatchSize + 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 } - cdmdas.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 } - cdmdas.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 } - cdmdas.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 } - cdmdas.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 } - cdmdas.Type = typeVar + ca.Type = typeVar } } } @@ -47996,469 +49947,402 @@ 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"` +// 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:""` - // 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"` + // 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 CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) { - cdmdas.Type = TypeCosmosDbMongoDbAPISource +// MarshalJSON is the custom marshaler for CopyActivity. +func (ca CopyActivity) MarshalJSON() ([]byte, error) { + ca.Type = TypeCopy objectMap := make(map[string]interface{}) - if cdmdas.Filter != nil { - objectMap["filter"] = cdmdas.Filter + if ca.CopyActivityTypeProperties != nil { + objectMap["typeProperties"] = ca.CopyActivityTypeProperties } - if cdmdas.CursorMethods != nil { - objectMap["cursorMethods"] = cdmdas.CursorMethods + if ca.Inputs != nil { + objectMap["inputs"] = ca.Inputs } - if cdmdas.BatchSize != nil { - objectMap["batchSize"] = cdmdas.BatchSize + if ca.Outputs != nil { + objectMap["outputs"] = ca.Outputs } - if cdmdas.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount + if ca.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ca.LinkedServiceName } - if cdmdas.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = cdmdas.SourceRetryWait + if ca.Policy != nil { + objectMap["policy"] = ca.Policy } - if cdmdas.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections + if ca.Name != nil { + objectMap["name"] = ca.Name } - if cdmdas.Type != "" { - objectMap["type"] = cdmdas.Type + if ca.Description != nil { + objectMap["description"] = ca.Description } - for k, v := range cdmdas.AdditionalProperties { + 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) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsResponsysSource() (*ResponsysSource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsVerticaSource() (*VerticaSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsZohoSource() (*ZohoSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsXeroSource() (*XeroSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSquareSource() (*SquareSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSparkSource() (*SparkSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsShopifySource() (*ShopifySource, bool) { +// AsWebActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsLookupActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPrestoSource() (*PrestoSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPaypalSource() (*PaypalSource, bool) { +// AsCustomActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMarketoSource() (*MarketoSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMagentoSource() (*MagentoSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsJiraSource() (*JiraSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHubspotSource() (*HubspotSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHiveSource() (*HiveSource, bool) { - return nil, false +// AsCopyActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsCopyActivity() (*CopyActivity, bool) { + return &ca, true } -// AsHBaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHBaseSource() (*HBaseSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ca, true } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsWebHookActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsEloquaSource() (*EloquaSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDrillSource() (*DrillSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsFilterActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsConcurSource() (*ConcurSource, bool) { +// AsValidationActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsUntilActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsWaitActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) { +// AsForEachActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOffice365Source() (*Office365Source, bool) { +// AsControlActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return &cdmdas, true -} - -// AsMongoDbV2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsBasicControlActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsBasicActivity() (BasicActivity, bool) { + return &ca, true } -// AsWebSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsWebSource() (*WebSource, bool) { - return nil, false -} +// 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 { + return err + } + for k, v := range m { + 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) + if err != nil { + return err + } + ca.Policy = &policy + } + 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 + } + } + } -// AsTeradataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false + return nil } -// AsOracleSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOracleSource() (*OracleSource, bool) { - return nil, false +// 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"` } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - -// AsAzureMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false -} - -// AsHdfsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsSQLDWSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false -} - -// AsSQLMISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLMISource() (*SQLMISource, bool) { - return nil, false -} - -// AsAzureSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureSQLSource() (*AzureSQLSource, bool) { - return nil, false -} - -// AsSQLServerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false -} - -// AsSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - -// AsRestSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsRestSource() (*RestSource, bool) { - return nil, false -} - -// AsSapTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false -} - -// AsSapOpenHubSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false -} - -// AsSapHanaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - -// AsSalesforceSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false -} - -// AsODataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsODataSource() (*ODataSource, bool) { - return nil, false -} - -// AsSybaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsSybaseSource() (*SybaseSource, bool) { - return nil, false -} - -// AsPostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { - return nil, false -} - -// AsMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMySQLSource() (*MySQLSource, bool) { - return nil, false -} - -// AsOdbcSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsOdbcSource() (*OdbcSource, bool) { - return nil, false -} - -// AsDb2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDb2Source() (*Db2Source, bool) { - return nil, false -} - -// AsMicrosoftAccessSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - -// AsInformixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsInformixSource() (*InformixSource, bool) { - return nil, false -} - -// AsRelationalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false -} - -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} - -// AsBlobSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsBlobSource() (*BlobSource, bool) { - return nil, false -} - -// AsAzureTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsBinarySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsBinarySource() (*BinarySource, bool) { - return nil, false -} - -// AsDelimitedTextSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false -} - -// AsParquetSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) { - return nil, false -} - -// AsCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsCopySource() (*CopySource, bool) { - return nil, false -} - -// AsBasicCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. -func (cdmdas CosmosDbMongoDbAPISource) AsBasicCopySource() (BasicCopySource, bool) { - return &cdmdas, true -} - -// UnmarshalJSON is the custom unmarshaler for CosmosDbMongoDbAPISource struct. -func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { +// 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 { @@ -48466,80 +50350,102 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "filter": + case "source": if v != nil { - var filter interface{} - err = json.Unmarshal(*v, &filter) + source, err := unmarshalBasicCopySource(*v) if err != nil { return err } - cdmdas.Filter = filter + catp.Source = source } - case "cursorMethods": + case "sink": if v != nil { - var cursorMethods MongoDbCursorMethodsProperties - err = json.Unmarshal(*v, &cursorMethods) + sink, err := unmarshalBasicCopySink(*v) if err != nil { return err } - cdmdas.CursorMethods = &cursorMethods + catp.Sink = sink } - case "batchSize": + case "translator": if v != nil { - var batchSize interface{} - err = json.Unmarshal(*v, &batchSize) + var translator interface{} + err = json.Unmarshal(*v, &translator) if err != nil { return err } - cdmdas.BatchSize = batchSize + catp.Translator = translator } - default: + case "enableStaging": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var enableStaging interface{} + err = json.Unmarshal(*v, &enableStaging) if err != nil { return err } - if cdmdas.AdditionalProperties == nil { - cdmdas.AdditionalProperties = make(map[string]interface{}) + catp.EnableStaging = enableStaging + } + case "stagingSettings": + if v != nil { + var stagingSettings StagingSettings + err = json.Unmarshal(*v, &stagingSettings) + if err != nil { + return err } - cdmdas.AdditionalProperties[k] = additionalProperties + catp.StagingSettings = &stagingSettings } - case "sourceRetryCount": + case "parallelCopies": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var parallelCopies interface{} + err = json.Unmarshal(*v, ¶llelCopies) if err != nil { return err } - cdmdas.SourceRetryCount = sourceRetryCount + catp.ParallelCopies = parallelCopies } - case "sourceRetryWait": + case "dataIntegrationUnits": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var dataIntegrationUnits interface{} + err = json.Unmarshal(*v, &dataIntegrationUnits) if err != nil { return err } - cdmdas.SourceRetryWait = sourceRetryWait + catp.DataIntegrationUnits = dataIntegrationUnits } - case "maxConcurrentConnections": + case "enableSkipIncompatibleRow": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var enableSkipIncompatibleRow interface{} + err = json.Unmarshal(*v, &enableSkipIncompatibleRow) if err != nil { return err } - cdmdas.MaxConcurrentConnections = maxConcurrentConnections + catp.EnableSkipIncompatibleRow = enableSkipIncompatibleRow } - case "type": + case "redirectIncompatibleRowSettings": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var redirectIncompatibleRowSettings RedirectIncompatibleRowSettings + err = json.Unmarshal(*v, &redirectIncompatibleRowSettings) if err != nil { return err } - cdmdas.Type = typeVar + 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 } } } @@ -48547,514 +50453,422 @@ 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"` +// 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) + AsAvroSink() (*AvroSink, bool) + AsAzureTableSink() (*AzureTableSink, bool) + AsAzureQueueSink() (*AzureQueueSink, bool) + AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) + AsAzureMySQLSink() (*AzureMySQLSink, bool) + AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) + AsJSONSink() (*JSONSink, 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', '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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { - cls.Type = TypeCouchbase +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(TypeAvroSink): + var as AvroSink + err := json.Unmarshal(body, &as) + return as, 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(TypeAzureMySQLSink): + var amss AzureMySQLSink + err := json.Unmarshal(body, &amss) + return amss, err + case string(TypeAzurePostgreSQLSink): + var apss AzurePostgreSQLSink + err := json.Unmarshal(body, &apss) + return apss, err + case string(TypeJSONSink): + var js JSONSink + err := json.Unmarshal(body, &js) + return js, 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 cls.CouchbaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties + if cs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = cs.WriteBatchSize } - if cls.ConnectVia != nil { - objectMap["connectVia"] = cls.ConnectVia + if cs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = cs.WriteBatchTimeout } - if cls.Description != nil { - objectMap["description"] = cls.Description + if cs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = cs.SinkRetryCount } - if cls.Parameters != nil { - objectMap["parameters"] = cls.Parameters + if cs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = cs.SinkRetryWait } - if cls.Annotations != nil { - objectMap["annotations"] = cls.Annotations + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - if cls.Type != "" { - objectMap["type"] = cls.Type + if cs.Type != "" { + objectMap["type"] = cs.Type } - for k, v := range cls.AdditionalProperties { + for k, v := range cs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} - -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { - return nil, false -} - -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { - return nil, false -} - -// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { - return nil, false -} - -// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} - -// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false -} - -// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false -} - -// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false -} - -// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false -} - -// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false -} - -// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false -} - -// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false -} - -// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false -} - -// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false -} - -// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false -} - -// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false -} - -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false -} - -// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false -} - -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return &cls, true -} - -// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false -} - -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return nil, false -} - -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSQLMISink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSQLServerSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsBinarySink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsParquetSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAvroSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsJSONSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false +// AsCopySink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsCopySink() (*CopySink, bool) { + return &cs, true } -// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. -func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cls, true +// AsBasicCopySink is the BasicCopySink implementation for CopySink. +func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) { + return &cs, true } -// UnmarshalJSON is the custom unmarshaler for CouchbaseLinkedService struct. -func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -49062,71 +50876,71 @@ func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + default: if v != nil { - var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties + if cs.AdditionalProperties == nil { + cs.AdditionalProperties = make(map[string]interface{}) + } + cs.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 cls.AdditionalProperties == nil { - cls.AdditionalProperties = make(map[string]interface{}) - } - cls.AdditionalProperties[k] = additionalProperties + cs.WriteBatchSize = writeBatchSize } - case "connectVia": + case "writeBatchTimeout": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) if err != nil { return err } - cls.ConnectVia = &connectVia + cs.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 } - cls.Description = &description + cs.SinkRetryCount = sinkRetryCount } - case "parameters": + case "sinkRetryWait": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - cls.Parameters = parameters + cs.SinkRetryWait = sinkRetryWait } - 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 + cs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - cls.Type = typeVar + cs.Type = typeVar } } } @@ -49134,20 +50948,99 @@ 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"` - // 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"` +// BasicCopySource a copy activity source. +type BasicCopySource interface { + AsHTTPSource() (*HTTPSource, bool) + AsAzureBlobFSSource() (*AzureBlobFSSource, bool) + AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) + AsOffice365Source() (*Office365Source, bool) + AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) + AsMongoDbV2Source() (*MongoDbV2Source, bool) + AsMongoDbSource() (*MongoDbSource, bool) + AsWebSource() (*WebSource, bool) + AsOracleSource() (*OracleSource, bool) + AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) + AsHdfsSource() (*HdfsSource, bool) + AsFileSystemSource() (*FileSystemSource, bool) + AsRestSource() (*RestSource, bool) + AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) + AsODataSource() (*ODataSource, bool) + AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) + AsRelationalSource() (*RelationalSource, bool) + AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) + AsDynamicsCrmSource() (*DynamicsCrmSource, bool) + AsDynamicsSource() (*DynamicsSource, bool) + AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) + AsBlobSource() (*BlobSource, bool) + 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) + AsAzureMariaDBSource() (*AzureMariaDBSource, 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) + AsCassandraSource() (*CassandraSource, bool) + AsTeradataSource() (*TeradataSource, bool) + AsAzureMySQLSource() (*AzureMySQLSource, bool) + AsSQLDWSource() (*SQLDWSource, bool) + AsSQLMISource() (*SQLMISource, bool) + AsAzureSQLSource() (*AzureSQLSource, bool) + AsSQLServerSource() (*SQLServerSource, bool) + AsSQLSource() (*SQLSource, bool) + AsSapTableSource() (*SapTableSource, bool) + AsSapOpenHubSource() (*SapOpenHubSource, bool) + AsSapHanaSource() (*SapHanaSource, bool) + AsSapEccSource() (*SapEccSource, bool) + AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) + AsSalesforceSource() (*SalesforceSource, bool) + AsSapBwSource() (*SapBwSource, bool) + AsSybaseSource() (*SybaseSource, bool) + AsPostgreSQLSource() (*PostgreSQLSource, bool) + AsMySQLSource() (*MySQLSource, bool) + AsOdbcSource() (*OdbcSource, bool) + AsDb2Source() (*Db2Source, bool) + AsInformixSource() (*InformixSource, bool) + AsAzureTableSource() (*AzureTableSource, bool) + AsTabularSource() (*TabularSource, bool) + AsBasicTabularSource() (BasicTabularSource, bool) + AsBinarySource() (*BinarySource, bool) + AsJSONSource() (*JSONSource, bool) + AsDelimitedTextSource() (*DelimitedTextSource, bool) + AsParquetSource() (*ParquetSource, bool) + AsAvroSource() (*AvroSource, 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). @@ -49156,17 +51049,387 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CouchbaseSource. -func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { - cs.Type = TypeCouchbaseSource - objectMap := make(map[string]interface{}) - if cs.Query != nil { - objectMap["query"] = cs.Query +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(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(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(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(TypeRestSource): + var rs RestSource + err := json.Unmarshal(body, &rs) + return rs, err + case string(TypeSalesforceServiceCloudSource): + var sscs SalesforceServiceCloudSource + err := json.Unmarshal(body, &sscs) + return sscs, err + case string(TypeODataSource): + var ods ODataSource + err := json.Unmarshal(body, &ods) + return ods, err + case string(TypeMicrosoftAccessSource): + var mas MicrosoftAccessSource + err := json.Unmarshal(body, &mas) + return mas, 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(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(TypeAzureMariaDBSource): + var amds AzureMariaDBSource + err := json.Unmarshal(body, &amds) + return amds, 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(TypeCassandraSource): + var cs CassandraSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeTeradataSource): + var ts TeradataSource + err := json.Unmarshal(body, &ts) + return ts, err + case string(TypeAzureMySQLSource): + var amss AzureMySQLSource + err := json.Unmarshal(body, &amss) + return amss, 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(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(TypeSapBwSource): + var sbs SapBwSource + err := json.Unmarshal(body, &sbs) + return sbs, 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(TypeInformixSource): + var is InformixSource + err := json.Unmarshal(body, &is) + return is, err + case string(TypeAzureTableSource): + var ats AzureTableSource + err := json.Unmarshal(body, &ats) + return ats, err + case string(TypeTabularSource): + var ts TabularSource + err := json.Unmarshal(body, &ts) + return ts, err + case string(TypeBinarySource): + var bs BinarySource + err := json.Unmarshal(body, &bs) + return bs, err + case string(TypeJSONSource): + var js JSONSource + err := json.Unmarshal(body, &js) + return js, 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 + case string(TypeAvroSource): + var as AvroSource + err := json.Unmarshal(body, &as) + return as, 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 } @@ -49185,418 +51448,448 @@ func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return &cs, true +// AsZohoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// AsConcurSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsODataSource() (*ODataSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDb2Source() (*Db2Source, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsInformixSource() (*InformixSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsBinarySource() (*BinarySource, bool) { +// AsInformixSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) { +// AsTabularSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource. -func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsBinarySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsCopySource() (*CopySource, bool) { return &cs, true } -// UnmarshalJSON is the custom unmarshaler for CouchbaseSource struct. -func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -49604,15 +51897,6 @@ func (cs *CouchbaseSource) 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 - } default: if v != nil { var additionalProperties interface{} @@ -49667,837 +51951,519 @@ 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDB', '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 CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { - ctd.Type = TypeCouchbaseTable +// MarshalJSON is the custom marshaler for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { + cdls.Type = TypeCosmosDb 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 cdls.CosmosDbLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cdls.CosmosDbLinkedServiceTypeProperties } - if ctd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ctd.LinkedServiceName + if cdls.ConnectVia != nil { + objectMap["connectVia"] = cdls.ConnectVia } - if ctd.Parameters != nil { - objectMap["parameters"] = ctd.Parameters + if cdls.Description != nil { + objectMap["description"] = cdls.Description } - if ctd.Annotations != nil { - objectMap["annotations"] = ctd.Annotations + if cdls.Parameters != nil { + objectMap["parameters"] = cdls.Parameters } - if ctd.Folder != nil { - objectMap["folder"] = ctd.Folder + if cdls.Annotations != nil { + objectMap["annotations"] = cdls.Annotations } - if ctd.Type != "" { - objectMap["type"] = ctd.Type + if cdls.Type != "" { + objectMap["type"] = cdls.Type } - for k, v := range ctd.AdditionalProperties { + for k, v := range cdls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// 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) { +// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSapTableResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false -} - -// AsRestResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false -} - -// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false -} - -// AsSapOpenHubTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false -} - -// AsSapHanaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false -} - -// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} - -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false -} - -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false -} - -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false -} - -// AsPostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { - return nil, false -} - -// AsMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { - return nil, false -} - -// AsOdbcTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { - return nil, false -} - -// AsInformixTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { - return nil, false -} - -// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false -} - -// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false -} - -// AsTeradataTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { - return nil, false -} - -// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false -} - -// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset. -func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &ctd, true -} - -// 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 { - 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 - } - ctd.GenericDatasetTypeProperties = &genericDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - 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 - } - ctd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - ctd.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - 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 TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ctd.Type = typeVar - } - } - } - - 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"` -} - -// 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:""` - // 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 CustomActivity. -func (ca CustomActivity) MarshalJSON() ([]byte, error) { - ca.Type = TypeCustom - objectMap := make(map[string]interface{}) - if ca.CustomActivityTypeProperties != nil { - objectMap["typeProperties"] = ca.CustomActivityTypeProperties - } - 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) -} - -// AsAzureFunctionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsWebActivity() (*WebActivity, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// 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) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// 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) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { - return nil, false +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return &cdls, true } -// AsFilterActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsActivity() (*Activity, bool) { +// AsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for CustomActivity. -func (ca CustomActivity) AsBasicActivity() (BasicActivity, bool) { - return &ca, true +// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cdls, true } -// UnmarshalJSON is the custom unmarshaler for CustomActivity struct. -func (ca *CustomActivity) UnmarshalJSON(body []byte) error { +// 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 { @@ -50507,30 +52473,12 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error { 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) + var cosmosDbLinkedServiceTypeProperties CosmosDbLinkedServiceTypeProperties + err = json.Unmarshal(*v, &cosmosDbLinkedServiceTypeProperties) if err != nil { return err } - ca.Policy = &policy + cdls.CosmosDbLinkedServiceTypeProperties = &cosmosDbLinkedServiceTypeProperties } default: if v != nil { @@ -50539,19 +52487,19 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ca.AdditionalProperties == nil { - ca.AdditionalProperties = make(map[string]interface{}) + if cdls.AdditionalProperties == nil { + cdls.AdditionalProperties = make(map[string]interface{}) } - ca.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 } - ca.Name = &name + cdls.ConnectVia = &connectVia } case "description": if v != nil { @@ -50560,34 +52508,34 @@ func (ca *CustomActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - ca.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 } - ca.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 } - ca.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 } - ca.Type = typeVar + cdls.Type = typeVar } } } @@ -50595,58 +52543,20 @@ 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"` -} - -// 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) +// 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"` } -// CustomDataset the custom dataset. -type CustomDataset struct { - // TypeProperties - Custom dataset properties. - TypeProperties interface{} `json:"typeProperties,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:""` // Description - Dataset description. @@ -50663,450 +52573,485 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for CustomDataset. -func (cd CustomDataset) MarshalJSON() ([]byte, error) { - cd.Type = TypeCustomDataset +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) MarshalJSON() ([]byte, error) { + cdmdacd.Type = TypeCosmosDbMongoDbAPICollection objectMap := make(map[string]interface{}) - if cd.TypeProperties != nil { - objectMap["typeProperties"] = cd.TypeProperties + if cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties != nil { + objectMap["typeProperties"] = cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties } - if cd.Description != nil { - objectMap["description"] = cd.Description + if cdmdacd.Description != nil { + objectMap["description"] = cdmdacd.Description } - if cd.Structure != nil { - objectMap["structure"] = cd.Structure + if cdmdacd.Structure != nil { + objectMap["structure"] = cdmdacd.Structure } - if cd.Schema != nil { - objectMap["schema"] = cd.Schema + if cdmdacd.Schema != nil { + objectMap["schema"] = cdmdacd.Schema } - if cd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = cd.LinkedServiceName + if cdmdacd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cdmdacd.LinkedServiceName } - if cd.Parameters != nil { - objectMap["parameters"] = cd.Parameters + if cdmdacd.Parameters != nil { + objectMap["parameters"] = cdmdacd.Parameters } - if cd.Annotations != nil { - objectMap["annotations"] = cd.Annotations + if cdmdacd.Annotations != nil { + objectMap["annotations"] = cdmdacd.Annotations } - if cd.Folder != nil { - objectMap["folder"] = cd.Folder + if cdmdacd.Folder != nil { + objectMap["folder"] = cdmdacd.Folder } - if cd.Type != "" { - objectMap["type"] = cd.Type + if cdmdacd.Type != "" { + objectMap["type"] = cdmdacd.Type } - for k, v := range cd.AdditionalProperties { + for k, v := range cdmdacd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { + return &cdmdacd, true +} + +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) { - return &cd, true +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for CustomDataset. -func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) { - return &cd, true +// AsJSONDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for CustomDataset struct. -func (cd *CustomDataset) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage +// AsDelimitedTextDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for CosmosDbMongoDbAPICollectionDataset. +func (cdmdacd CosmosDbMongoDbAPICollectionDataset) AsBasicDataset() (BasicDataset, bool) { + return &cdmdacd, true +} + +// 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 { return err @@ -51115,12 +53060,12 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var typeProperties interface{} - err = json.Unmarshal(*v, &typeProperties) + var cosmosDbMongoDbAPICollectionDatasetTypeProperties CosmosDbMongoDbAPICollectionDatasetTypeProperties + err = json.Unmarshal(*v, &cosmosDbMongoDbAPICollectionDatasetTypeProperties) if err != nil { return err } - cd.TypeProperties = typeProperties + cdmdacd.CosmosDbMongoDbAPICollectionDatasetTypeProperties = &cosmosDbMongoDbAPICollectionDatasetTypeProperties } default: if v != nil { @@ -51129,10 +53074,10 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cd.AdditionalProperties == nil { - cd.AdditionalProperties = make(map[string]interface{}) + if cdmdacd.AdditionalProperties == nil { + cdmdacd.AdditionalProperties = make(map[string]interface{}) } - cd.AdditionalProperties[k] = additionalProperties + cdmdacd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -51141,7 +53086,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Description = &description + cdmdacd.Description = &description } case "structure": if v != nil { @@ -51150,7 +53095,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Structure = structure + cdmdacd.Structure = structure } case "schema": if v != nil { @@ -51159,7 +53104,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Schema = schema + cdmdacd.Schema = schema } case "linkedServiceName": if v != nil { @@ -51168,7 +53113,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.LinkedServiceName = &linkedServiceName + cdmdacd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -51177,7 +53122,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Parameters = parameters + cdmdacd.Parameters = parameters } case "annotations": if v != nil { @@ -51186,7 +53131,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Annotations = &annotations + cdmdacd.Annotations = &annotations } case "folder": if v != nil { @@ -51195,7 +53140,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Folder = &folder + cdmdacd.Folder = &folder } case "type": if v != nil { @@ -51204,7 +53149,7 @@ func (cd *CustomDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - cd.Type = typeVar + cdmdacd.Type = typeVar } } } @@ -51212,10 +53157,16 @@ 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"` +// 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:""` // ConnectVia - The integration runtime reference. @@ -51226,500 +53177,505 @@ type CustomDataSourceLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { - cdsls.Type = TypeCustomDataSource +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) MarshalJSON() ([]byte, error) { + cdmdals.Type = TypeCosmosDbMongoDbAPI objectMap := make(map[string]interface{}) - if cdsls.TypeProperties != nil { - objectMap["typeProperties"] = cdsls.TypeProperties + if cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties } - if cdsls.ConnectVia != nil { - objectMap["connectVia"] = cdsls.ConnectVia + if cdmdals.ConnectVia != nil { + objectMap["connectVia"] = cdmdals.ConnectVia } - if cdsls.Description != nil { - objectMap["description"] = cdsls.Description + if cdmdals.Description != nil { + objectMap["description"] = cdmdals.Description } - if cdsls.Parameters != nil { - objectMap["parameters"] = cdsls.Parameters + if cdmdals.Parameters != nil { + objectMap["parameters"] = cdmdals.Parameters } - if cdsls.Annotations != nil { - objectMap["annotations"] = cdsls.Annotations + if cdmdals.Annotations != nil { + objectMap["annotations"] = cdmdals.Annotations } - if cdsls.Type != "" { - objectMap["type"] = cdsls.Type + if cdmdals.Type != "" { + objectMap["type"] = cdmdals.Type } - for k, v := range cdsls.AdditionalProperties { + for k, v := range cdmdals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return &cdsls, true +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return &cdmdals, true +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. -func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &cdsls, true +// AsBasicLinkedService is the BasicLinkedService implementation for CosmosDbMongoDbAPILinkedService. +func (cdmdals CosmosDbMongoDbAPILinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cdmdals, true } -// UnmarshalJSON is the custom unmarshaler for CustomDataSourceLinkedService struct. -func (cdsls *CustomDataSourceLinkedService) 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 { @@ -51729,12 +53685,12 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var typeProperties interface{} - err = json.Unmarshal(*v, &typeProperties) + var cosmosDbMongoDbAPILinkedServiceTypeProperties CosmosDbMongoDbAPILinkedServiceTypeProperties + err = json.Unmarshal(*v, &cosmosDbMongoDbAPILinkedServiceTypeProperties) if err != nil { return err } - cdsls.TypeProperties = typeProperties + cdmdals.CosmosDbMongoDbAPILinkedServiceTypeProperties = &cosmosDbMongoDbAPILinkedServiceTypeProperties } default: if v != nil { @@ -51743,10 +53699,10 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if cdsls.AdditionalProperties == nil { - cdsls.AdditionalProperties = make(map[string]interface{}) + if cdmdals.AdditionalProperties == nil { + cdmdals.AdditionalProperties = make(map[string]interface{}) } - cdsls.AdditionalProperties[k] = additionalProperties + cdmdals.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -51755,7 +53711,7 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdsls.ConnectVia = &connectVia + cdmdals.ConnectVia = &connectVia } case "description": if v != nil { @@ -51764,7 +53720,7 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdsls.Description = &description + cdmdals.Description = &description } case "parameters": if v != nil { @@ -51773,7 +53729,7 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdsls.Parameters = parameters + cdmdals.Parameters = parameters } case "annotations": if v != nil { @@ -51782,7 +53738,7 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdsls.Annotations = &annotations + cdmdals.Annotations = &annotations } case "type": if v != nil { @@ -51791,7 +53747,7 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - cdsls.Type = typeVar + cdmdals.Type = typeVar } } } @@ -51799,249 +53755,237 @@ func (cdsls *CustomDataSourceLinkedService) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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:""` - // 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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) { - dna.Type = TypeDatabricksNotebook +// MarshalJSON is the custom marshaler for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) MarshalJSON() ([]byte, error) { + cdmdas.Type = TypeCosmosDbMongoDbAPISink objectMap := make(map[string]interface{}) - if dna.DatabricksNotebookActivityTypeProperties != nil { - objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties - } - if dna.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dna.LinkedServiceName + if cdmdas.WriteBehavior != nil { + objectMap["writeBehavior"] = cdmdas.WriteBehavior } - if dna.Policy != nil { - objectMap["policy"] = dna.Policy + if cdmdas.WriteBatchSize != nil { + objectMap["writeBatchSize"] = cdmdas.WriteBatchSize } - if dna.Name != nil { - objectMap["name"] = dna.Name + if cdmdas.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = cdmdas.WriteBatchTimeout } - if dna.Description != nil { - objectMap["description"] = dna.Description + if cdmdas.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = cdmdas.SinkRetryCount } - if dna.DependsOn != nil { - objectMap["dependsOn"] = dna.DependsOn + if cdmdas.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = cdmdas.SinkRetryWait } - if dna.UserProperties != nil { - objectMap["userProperties"] = dna.UserProperties + if cdmdas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections } - if dna.Type != "" { - objectMap["type"] = dna.Type + if cdmdas.Type != "" { + objectMap["type"] = cdmdas.Type } - for k, v := range dna.AdditionalProperties { + for k, v := range cdmdas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { - return nil, false -} - -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { - return nil, false +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + return &cdmdas, true } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return &dna, true -} - -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsSalesforceSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) { +// AsDynamicsSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsInformixSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsOdbcSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsOracleSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSQLDWSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSQLMISink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSQLServerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dna, true -} - -// AsWebHookActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsFileSystemSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsBlobSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsBinarySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsParquetSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAvroSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureTableSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) { +// AsJSONSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) { +// AsCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity. -func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) { - return &dna, true +// AsBasicCopySink is the BasicCopySink implementation for CosmosDbMongoDbAPISink. +func (cdmdas CosmosDbMongoDbAPISink) AsBasicCopySink() (BasicCopySink, bool) { + return &cdmdas, true } -// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct. -func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { +// 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 { @@ -52049,89 +53993,80 @@ func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "writeBehavior": if v != nil { - var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties - err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties) + var writeBehavior interface{} + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties + cdmdas.WriteBehavior = writeBehavior } - 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 } - dna.LinkedServiceName = &linkedServiceName - } - case "policy": - if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) - if err != nil { - return err + if cdmdas.AdditionalProperties == nil { + cdmdas.AdditionalProperties = make(map[string]interface{}) } - dna.Policy = &policy + cdmdas.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 dna.AdditionalProperties == nil { - dna.AdditionalProperties = make(map[string]interface{}) - } - dna.AdditionalProperties[k] = additionalProperties + cdmdas.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 } - dna.Name = &name + cdmdas.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 } - dna.Description = &description + cdmdas.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 } - dna.DependsOn = &dependsOn + cdmdas.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 } - dna.UserProperties = &userProperties + cdmdas.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dna.Type = typeVar + cdmdas.Type = typeVar } } } @@ -52139,624 +54074,504 @@ 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"` +// 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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) { + cdmdas.Type = TypeCosmosDbMongoDbAPISource objectMap := make(map[string]interface{}) - if dsja.DatabricksSparkJarActivityTypeProperties != nil { - objectMap["typeProperties"] = dsja.DatabricksSparkJarActivityTypeProperties + if cdmdas.Filter != nil { + objectMap["filter"] = cdmdas.Filter } - if dsja.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dsja.LinkedServiceName + if cdmdas.CursorMethods != nil { + objectMap["cursorMethods"] = cdmdas.CursorMethods } - if dsja.Policy != nil { - objectMap["policy"] = dsja.Policy + if cdmdas.BatchSize != nil { + objectMap["batchSize"] = cdmdas.BatchSize } - if dsja.Name != nil { - objectMap["name"] = dsja.Name + if cdmdas.QueryTimeout != nil { + objectMap["queryTimeout"] = cdmdas.QueryTimeout } - if dsja.Description != nil { - objectMap["description"] = dsja.Description + if cdmdas.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount } - if dsja.DependsOn != nil { - objectMap["dependsOn"] = dsja.DependsOn + if cdmdas.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cdmdas.SourceRetryWait } - if dsja.UserProperties != nil { - objectMap["userProperties"] = dsja.UserProperties + if cdmdas.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cdmdas.MaxConcurrentConnections } - if dsja.Type != "" { - objectMap["type"] = dsja.Type + if cdmdas.Type != "" { + objectMap["type"] = cdmdas.Type } - for k, v := range dsja.AdditionalProperties { + for k, v := range cdmdas.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { - return &dsja, true +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return nil, false +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return &cdmdas, true } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsRestSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsODataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dsja, true +// AsAmazonRedshiftSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsControlActivity() (*ControlActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsActivity() (*Activity, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DatabricksSparkJarActivity. -func (dsja DatabricksSparkJarActivity) AsBasicActivity() (BasicActivity, bool) { - return &dsja, true +// AsQuickBooksSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsQuickBooksSource() (*QuickBooksSource, 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 - } - } - } +// AsPrestoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} - return nil +// AsPhoenixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPhoenixSource() (*PhoenixSource, 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"` +// AsPaypalSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPaypalSource() (*PaypalSource, 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', '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"` +// AsMarketoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMarketoSource() (*MarketoSource, 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) +// AsAzureMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { - return &dspa, true +// AsMagentoSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsJiraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsImpalaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsHubspotSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsHiveSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsHBaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsWebActivity() (*WebActivity, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsEloquaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsDrillSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsConcurSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsCassandraSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsTeradataSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dspa, true +// AsSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSQLSource() (*SQLSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsSapBwSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsControlActivity() (*ControlActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsActivity() (*Activity, bool) { +// AsInformixSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. -func (dspa DatabricksSparkPythonActivity) AsBasicActivity() (BasicActivity, bool) { - return &dspa, true +// AsAzureTableSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatabricksSparkPythonActivity struct. -func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { +// AsTabularSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBasicTabularSource() (BasicTabularSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for CosmosDbMongoDbAPISource. +func (cdmdas CosmosDbMongoDbAPISource) AsBasicCopySource() (BasicCopySource, bool) { + return &cdmdas, true +} + +// 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 { @@ -52764,89 +54579,89 @@ func (dspa *DatabricksSparkPythonActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "filter": if v != nil { - var databricksSparkPythonActivityTypeProperties DatabricksSparkPythonActivityTypeProperties - err = json.Unmarshal(*v, &databricksSparkPythonActivityTypeProperties) + var filter interface{} + err = json.Unmarshal(*v, &filter) if err != nil { return err } - dspa.DatabricksSparkPythonActivityTypeProperties = &databricksSparkPythonActivityTypeProperties + 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 } - dspa.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 } - dspa.Policy = &policy + cdmdas.BatchSize = batchSize } - default: + case "queryTimeout": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - if dspa.AdditionalProperties == nil { - dspa.AdditionalProperties = make(map[string]interface{}) - } - dspa.AdditionalProperties[k] = additionalProperties + cdmdas.QueryTimeout = queryTimeout } - 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 } - dspa.Name = &name + if cdmdas.AdditionalProperties == nil { + cdmdas.AdditionalProperties = make(map[string]interface{}) + } + 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 } - dspa.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 } - dspa.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 } - dspa.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 } - dspa.Type = typeVar + cdmdas.Type = typeVar } } } @@ -52854,259 +54669,519 @@ 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"` -} - -// 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDB', '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 DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) { - dlaua.Type = TypeDataLakeAnalyticsUSQL +// MarshalJSON is the custom marshaler for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { + cls.Type = TypeCouchbase 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 cls.CouchbaseLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = cls.CouchbaseLinkedServiceTypeProperties } - if dlaua.Name != nil { - objectMap["name"] = dlaua.Name + if cls.ConnectVia != nil { + objectMap["connectVia"] = cls.ConnectVia } - if dlaua.Description != nil { - objectMap["description"] = dlaua.Description + if cls.Description != nil { + objectMap["description"] = cls.Description } - if dlaua.DependsOn != nil { - objectMap["dependsOn"] = dlaua.DependsOn + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters } - if dlaua.UserProperties != nil { - objectMap["userProperties"] = dlaua.UserProperties + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations } - if dlaua.Type != "" { - objectMap["type"] = dlaua.Type + if cls.Type != "" { + objectMap["type"] = cls.Type } - for k, v := range dlaua.AdditionalProperties { + for k, v := range cls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return &dlaua, true +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &dlaua, true +// AsPaypalLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. -func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) { - return &dlaua, true +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return &cls, true } -// UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsUSQLActivity struct. -func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error { +// AsConcurLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for CouchbaseLinkedService. +func (cls CouchbaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &cls, true +} + +// 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 { @@ -53116,87 +55191,69 @@ func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var dataLakeAnalyticsUSQLActivityTypeProperties DataLakeAnalyticsUSQLActivityTypeProperties - err = json.Unmarshal(*v, &dataLakeAnalyticsUSQLActivityTypeProperties) + var couchbaseLinkedServiceTypeProperties CouchbaseLinkedServiceTypeProperties + err = json.Unmarshal(*v, &couchbaseLinkedServiceTypeProperties) if err != nil { return err } - dlaua.DataLakeAnalyticsUSQLActivityTypeProperties = &dataLakeAnalyticsUSQLActivityTypeProperties + cls.CouchbaseLinkedServiceTypeProperties = &couchbaseLinkedServiceTypeProperties } - 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 } - dlaua.LinkedServiceName = &linkedServiceName + if cls.AdditionalProperties == nil { + cls.AdditionalProperties = make(map[string]interface{}) + } + cls.AdditionalProperties[k] = additionalProperties } - case "policy": + case "connectVia": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - dlaua.Policy = &policy + cls.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 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 + 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 } - dlaua.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 } - dlaua.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 } - dlaua.Type = typeVar + cls.Type = typeVar } } } @@ -53204,939 +55261,504 @@ func (dlaua *DataLakeAnalyticsUSQLActivity) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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"` } -// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivityTypeProperties. -func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte, error) { +// 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for CouchbaseSource. +func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { + cs.Type = TypeCouchbaseSource objectMap := make(map[string]interface{}) - if dlauatp.ScriptPath != nil { - objectMap["scriptPath"] = dlauatp.ScriptPath + if cs.Query != nil { + objectMap["query"] = cs.Query } - if dlauatp.ScriptLinkedService != nil { - objectMap["scriptLinkedService"] = dlauatp.ScriptLinkedService + if cs.QueryTimeout != nil { + objectMap["queryTimeout"] = cs.QueryTimeout } - if dlauatp.DegreeOfParallelism != nil { - objectMap["degreeOfParallelism"] = dlauatp.DegreeOfParallelism + if cs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = cs.SourceRetryCount } - if dlauatp.Priority != nil { - objectMap["priority"] = dlauatp.Priority + if cs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = cs.SourceRetryWait } - if dlauatp.Parameters != nil { - objectMap["parameters"] = dlauatp.Parameters + if cs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = cs.MaxConcurrentConnections } - if dlauatp.RuntimeVersion != nil { - objectMap["runtimeVersion"] = dlauatp.RuntimeVersion + if cs.Type != "" { + objectMap["type"] = cs.Type } - if dlauatp.CompilationMode != nil { - objectMap["compilationMode"] = dlauatp.CompilationMode + for k, v := range cs.AdditionalProperties { + objectMap[k] = v } 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) - 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) +// AsHTTPSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHTTPSource() (*HTTPSource, 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"` +// AsAzureBlobFSSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, 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 - } - - 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 - } +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false } -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)) +// AsOffice365Source is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - d, err := unmarshalBasicDataset(*rawMessage) - if err != nil { - return nil, err - } - dArray[index] = d - } - return dArray, nil +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false } -// 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) +// AsMongoDbV2Source is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsRestSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, 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 } -// AsMySQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsTabularSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &cs, true +} + +// AsBinarySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsJSONSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsParquetSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAvroSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsDataset() (*Dataset, bool) { - return &d, true +// AsCopySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// AsBasicDataset is the BasicDataset implementation for Dataset. -func (d Dataset) AsBasicDataset() (BasicDataset, bool) { - return &d, true +// AsBasicCopySource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsBasicCopySource() (BasicCopySource, bool) { + return &cs, true } -// UnmarshalJSON is the custom unmarshaler for Dataset struct. -func (d *Dataset) UnmarshalJSON(body []byte) error { +// 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 { @@ -54144,89 +55766,71 @@ func (d *Dataset) 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 d.AdditionalProperties == nil { - d.AdditionalProperties = make(map[string]interface{}) - } - d.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 } - d.Description = &description + cs.Query = query } - case "structure": + case "queryTimeout": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - d.Structure = structure + cs.QueryTimeout = queryTimeout } - 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 } - d.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{}) } - d.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 } - d.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 } - d.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 } - d.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 } - d.Type = typeVar + cs.Type = typeVar } } } @@ -54234,625 +55838,504 @@ func (d *Dataset) UnmarshalJSON(body []byte) error { return nil } -// DatasetBZip2Compression the BZip2 compression method used on a dataset. -type DatasetBZip2Compression struct { +// 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 - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' - Type TypeBasicDatasetCompression `json:"type,omitempty"` -} - -// 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 + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { + ctd.Type = TypeCouchbaseTable + 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 ctd.Parameters != nil { + objectMap["parameters"] = ctd.Parameters + } + 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) } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { - return &dbz2c, true +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. -func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dbz2c, true +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, 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 - } - } - } +// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} - return nil +// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, 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) +// AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, 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"` +// AsXeroObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, 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 - } +// AsSquareObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, 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 - } +// AsSparkObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, 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)) +// AsShopifyObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, 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 +// AsServiceNowObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, 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) +// AsQuickBooksObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) { - return &dc, true +// AsAzureMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. -func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dc, true +// AsMariaDBTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, 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 - } - } - } +// AsMagentoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} - return nil +// AsJiraObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, 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"` +// AsImpalaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, 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) +// AsHubspotObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { - return &ddc, true +// AsHBaseObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. -func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &ddc, true +// AsDrillTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, 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 - } - } - } +// AsCouchbaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return &ctd, true +} - return nil +// AsConcurObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, 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"` +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, 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"` +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, 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) +// AsHTTPDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsWebTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { - return &dgzc, true +// AsSapTableResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. -func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dgzc, true +// AsSapOpenHubTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, 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 - } - } - } +// AsSapHanaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false +} - return nil +// AsSapEccResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, 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"` +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false } -// DatasetListResponseIterator provides access to a complete listing of DatasetResource values. -type DatasetListResponseIterator struct { - i int - page DatasetListResponsePage +// AsSapBwCubeDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, 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 +// AsSybaseTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, 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()) +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, 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()) +// AsSalesforceObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter DatasetListResponseIterator) Response() DatasetListResponse { - return iter.page.Response() +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, 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] +// AsPostgreSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { + return nil, false } -// Creates a new instance of the DatasetListResponseIterator type. -func NewDatasetListResponseIterator(page DatasetListResponsePage) DatasetListResponseIterator { - return DatasetListResponseIterator{page: page} +// AsMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, 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 +// AsOdbcTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, 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))) +// AsInformixTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false } -// DatasetListResponsePage contains a page of DatasetResource values. -type DatasetListResponsePage struct { - fn func(context.Context, DatasetListResponse) (DatasetListResponse, error) - dlr DatasetListResponse +// AsRelationalTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, 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 +// AsDb2TableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDb2TableDataset() (*Db2TableDataset, 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()) +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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() +// AsAzureMySQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page DatasetListResponsePage) Response() DatasetListResponse { - return page.dlr +// AsTeradataTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, 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 +// AsOracleTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, 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} +// AsODataResourceDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, 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"` +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, 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) +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetLocation struct. -func (dl *DatasetLocation) UnmarshalJSON(body []byte) error { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsOffice365Dataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { + return nil, false +} + +// AsAzureBlobFSDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { + return nil, false +} + +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLMITableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ctd, true +} + +// 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 { @@ -54860,6 +56343,15 @@ func (dl *DatasetLocation) 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 + } + ctd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + } default: if v != nil { var additionalProperties interface{} @@ -54867,136 +56359,82 @@ func (dl *DatasetLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dl.AdditionalProperties == nil { - dl.AdditionalProperties = make(map[string]interface{}) + if ctd.AdditionalProperties == nil { + ctd.AdditionalProperties = make(map[string]interface{}) } - dl.AdditionalProperties[k] = additionalProperties + ctd.AdditionalProperties[k] = additionalProperties } - 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 } - dl.Type = &typeVar + ctd.Description = &description } - case "folderPath": + case "structure": if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - dl.FolderPath = folderPath + ctd.Structure = structure } - case "fileName": + case "schema": if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - dl.FileName = fileName + ctd.Schema = schema } - } - } - - 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": + case "linkedServiceName": if v != nil { - properties, err := unmarshalBasicDataset(*v) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - dr.Properties = properties + ctd.LinkedServiceName = &linkedServiceName } - case "id": + case "parameters": if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - dr.ID = &ID + ctd.Parameters = parameters } - case "name": + case "annotations": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - dr.Name = &name + ctd.Annotations = &annotations } - case "type": + case "folder": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - dr.Type = &typeVar + ctd.Folder = &folder } - case "etag": + case "type": if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dr.Etag = &etag + ctd.Type = typeVar } } } @@ -55004,247 +56442,268 @@ func (dr *DatasetResource) UnmarshalJSON(body []byte) error { return nil } -// 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) +// 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"` } -// DatasetStorageFormat the format definition of a storage. -type DatasetStorageFormat struct { +// 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:""` - // 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"` + // 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"` } -func unmarshalBasicDatasetStorageFormat(body []byte) (BasicDatasetStorageFormat, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err +// 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 } - - 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 ca.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ca.LinkedServiceName } -} -func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err + if ca.Policy != nil { + objectMap["policy"] = ca.Policy } - - dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages)) - - for index, rawMessage := range rawMessages { - dsf, err := unmarshalBasicDatasetStorageFormat(*rawMessage) - if err != nil { - return nil, err - } - dsfArray[index] = dsf + if ca.Name != nil { + objectMap["name"] = ca.Name } - 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 + if ca.Description != nil { + objectMap["description"] = ca.Description } - if dsf.Deserializer != nil { - objectMap["deserializer"] = dsf.Deserializer + if ca.DependsOn != nil { + objectMap["dependsOn"] = ca.DependsOn } - if dsf.Type != "" { - objectMap["type"] = dsf.Type + if ca.UserProperties != nil { + objectMap["userProperties"] = ca.UserProperties } - for k, v := range dsf.AdditionalProperties { + if ca.Type != "" { + objectMap["type"] = ca.Type + } + for k, v := range ca.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { - return &dsf, true +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. -func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &dsf, true +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, 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 - } - } - } +// AsGetMetadataActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} - return nil +// AsWebActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsWebActivity() (*WebActivity, 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"` +// AsLookupActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsLookupActivity() (*LookupActivity, 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) +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { + return nil, false } -// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { - return &dzdc, true +// AsDeleteActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false } -// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, 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 } -// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. -func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { - return &dzdc, true +// AsHDInsightMapReduceActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DatasetZipDeflateCompression struct. -func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { +// AsHDInsightPigActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// 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 +} + +// AsAppendVariableActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { + return nil, false +} + +// AsSetVariableActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { + return nil, false +} + +// 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 { @@ -55252,14 +56711,32 @@ 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 customActivityTypeProperties CustomActivityTypeProperties + err = json.Unmarshal(*v, &customActivityTypeProperties) if err != nil { return err } - dzdc.Level = level + 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 { @@ -55268,19 +56745,55 @@ func (dzdc *DatasetZipDeflateCompression) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dzdc.AdditionalProperties == nil { - dzdc.AdditionalProperties = make(map[string]interface{}) + if ca.AdditionalProperties == nil { + ca.AdditionalProperties = make(map[string]interface{}) } - dzdc.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 { + 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 TypeBasicDatasetCompression + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dzdc.Type = typeVar + ca.Type = typeVar } } } @@ -55288,514 +56801,552 @@ 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `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 CustomDataset. +func (cd CustomDataset) MarshalJSON() ([]byte, error) { + cd.Type = TypeCustomDataset objectMap := make(map[string]interface{}) - if d2ls.Db2LinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties + if cd.TypeProperties != nil { + objectMap["typeProperties"] = cd.TypeProperties } - if d2ls.ConnectVia != nil { - objectMap["connectVia"] = d2ls.ConnectVia + if cd.Description != nil { + objectMap["description"] = cd.Description } - if d2ls.Description != nil { - objectMap["description"] = d2ls.Description + if cd.Structure != nil { + objectMap["structure"] = cd.Structure } - if d2ls.Parameters != nil { - objectMap["parameters"] = d2ls.Parameters + if cd.Schema != nil { + objectMap["schema"] = cd.Schema } - if d2ls.Annotations != nil { - objectMap["annotations"] = d2ls.Annotations + if cd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = cd.LinkedServiceName } - if d2ls.Type != "" { - objectMap["type"] = d2ls.Type + if cd.Parameters != nil { + objectMap["parameters"] = cd.Parameters } - for k, v := range d2ls.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) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsFileShareDataset() (*FileShareDataset, 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) { +// AsOffice365Dataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { - return nil, false +// AsCustomDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCustomDataset() (*CustomDataset, bool) { + return &cd, true } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for Db2LinkedService. -func (d2ls Db2LinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &d2ls, true +// AsBasicDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsBasicDataset() (BasicDataset, bool) { + return &cd, true } -// UnmarshalJSON is the custom unmarshaler for Db2LinkedService struct. -func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -55805,12 +57356,12 @@ func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties - err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties) + var typeProperties interface{} + err = json.Unmarshal(*v, &typeProperties) if err != nil { return err } - d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties + cd.TypeProperties = typeProperties } default: if v != nil { @@ -55819,19 +57370,10 @@ func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { 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 + if cd.AdditionalProperties == nil { + cd.AdditionalProperties = make(map[string]interface{}) } - d2ls.ConnectVia = &connectVia + cd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -55840,118 +57382,70 @@ func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { 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 + cd.Description = &description } - case "type": + case "structure": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - d2ls.Type = typeVar + cd.Structure = structure } - } - } - - 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": + case "schema": if v != nil { - var server interface{} - err = json.Unmarshal(*v, &server) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - d2lstp.Server = server + cd.Schema = schema } - case "database": + case "linkedServiceName": if v != nil { - var databaseVar interface{} - err = json.Unmarshal(*v, &databaseVar) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - d2lstp.Database = databaseVar + cd.LinkedServiceName = &linkedServiceName } - case "authenticationType": + case "parameters": if v != nil { - var authenticationType Db2AuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - d2lstp.AuthenticationType = authenticationType + cd.Parameters = parameters } - case "username": + case "annotations": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - d2lstp.Username = username + cd.Annotations = &annotations } - case "password": + case "folder": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - d2lstp.Password = password + cd.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 } - d2lstp.EncryptedCredential = encryptedCredential + cd.Type = typeVar } } } @@ -55959,459 +57453,519 @@ func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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:""` - // 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"` + // 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', 'TypeAzureMariaDB', '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 Db2Source. -func (d2s Db2Source) MarshalJSON() ([]byte, error) { - d2s.Type = TypeDb2Source +// MarshalJSON is the custom marshaler for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { + cdsls.Type = TypeCustomDataSource objectMap := make(map[string]interface{}) - if d2s.Query != nil { - objectMap["query"] = d2s.Query + if cdsls.TypeProperties != nil { + objectMap["typeProperties"] = cdsls.TypeProperties } - if d2s.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = d2s.SourceRetryCount + if cdsls.ConnectVia != nil { + objectMap["connectVia"] = cdsls.ConnectVia } - if d2s.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = d2s.SourceRetryWait + if cdsls.Description != nil { + objectMap["description"] = cdsls.Description } - if d2s.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = d2s.MaxConcurrentConnections + if cdsls.Parameters != nil { + objectMap["parameters"] = cdsls.Parameters } - if d2s.Type != "" { - objectMap["type"] = d2s.Type + if cdsls.Annotations != nil { + objectMap["annotations"] = cdsls.Annotations } - for k, v := range d2s.AdditionalProperties { - objectMap[k] = v + if cdsls.Type != "" { + objectMap["type"] = cdsls.Type + } + for k, v := range cdsls.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSquareSource() (*SquareSource, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsHiveSource() (*HiveSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsHBaseSource() (*HBaseSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsEloquaSource() (*EloquaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDrillSource() (*DrillSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsConcurSource() (*ConcurSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsHTTPSource() (*HTTPSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsOffice365Source() (*Office365Source, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsCassandraSource() (*CassandraSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsWebSource() (*WebSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsTeradataSource() (*TeradataSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzureMySQLSource() (*AzureMySQLSource, 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 } -// AsHdfsSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsFileSystemSource() (*FileSystemSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSQLDWSource() (*SQLDWSource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSQLMISource() (*SQLMISource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsRestSource() (*RestSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSalesforceSource() (*SalesforceSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsODataSource() (*ODataSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsSybaseSource() (*SybaseSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMySQLSource() (*MySQLSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsOdbcSource() (*OdbcSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDb2Source() (*Db2Source, bool) { - return &d2s, true +// AsAzureMLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsInformixSource() (*InformixSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsRelationalSource() (*RelationalSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsBlobSource() (*BlobSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsBinarySource() (*BinarySource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsCopySource() (*CopySource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for Db2Source. -func (d2s Db2Source) AsBasicCopySource() (BasicCopySource, bool) { - return &d2s, true +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for Db2Source struct. -func (d2s *Db2Source) UnmarshalJSON(body []byte) error { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// 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 { @@ -56419,14 +57973,14 @@ func (d2s *Db2Source) 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 } - d2s.Query = query + cdsls.TypeProperties = typeProperties } default: if v != nil { @@ -56435,46 +57989,55 @@ func (d2s *Db2Source) UnmarshalJSON(body []byte) error { if err != nil { return err } - if d2s.AdditionalProperties == nil { - d2s.AdditionalProperties = make(map[string]interface{}) + if cdsls.AdditionalProperties == nil { + cdsls.AdditionalProperties = make(map[string]interface{}) } - d2s.AdditionalProperties[k] = additionalProperties + cdsls.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 } - d2s.SourceRetryCount = sourceRetryCount + cdsls.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 } - d2s.SourceRetryWait = sourceRetryWait + cdsls.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 } - d2s.MaxConcurrentConnections = maxConcurrentConnections + 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 TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - d2s.Type = typeVar + cdsls.Type = typeVar } } } @@ -56482,10 +58045,10 @@ func (d2s *Db2Source) UnmarshalJSON(body []byte) error { return nil } -// DeleteActivity delete activity. -type DeleteActivity struct { - // DeleteActivityTypeProperties - Delete activity properties. - *DeleteActivityTypeProperties `json:"typeProperties,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. @@ -56504,227 +58067,227 @@ type DeleteActivity struct { Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DeleteActivity. -func (da DeleteActivity) MarshalJSON() ([]byte, error) { - da.Type = TypeDelete +// MarshalJSON is the custom marshaler for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) { + dna.Type = TypeDatabricksNotebook objectMap := make(map[string]interface{}) - if da.DeleteActivityTypeProperties != nil { - objectMap["typeProperties"] = da.DeleteActivityTypeProperties + if dna.DatabricksNotebookActivityTypeProperties != nil { + objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties } - if da.LinkedServiceName != nil { - objectMap["linkedServiceName"] = da.LinkedServiceName + if dna.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dna.LinkedServiceName } - if da.Policy != nil { - objectMap["policy"] = da.Policy + if dna.Policy != nil { + objectMap["policy"] = dna.Policy } - if da.Name != nil { - objectMap["name"] = da.Name + if dna.Name != nil { + objectMap["name"] = dna.Name } - if da.Description != nil { - objectMap["description"] = da.Description + if dna.Description != nil { + objectMap["description"] = dna.Description } - if da.DependsOn != nil { - objectMap["dependsOn"] = da.DependsOn + if dna.DependsOn != nil { + objectMap["dependsOn"] = dna.DependsOn } - if da.UserProperties != nil { - objectMap["userProperties"] = da.UserProperties + if dna.UserProperties != nil { + objectMap["userProperties"] = dna.UserProperties } - if da.Type != "" { - objectMap["type"] = da.Type + if dna.Type != "" { + objectMap["type"] = dna.Type } - for k, v := range da.AdditionalProperties { + for k, v := range dna.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { - return nil, false +// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return &dna, true } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsWebActivity() (*WebActivity, bool) { +// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) { - return &da, true +// AsDeleteActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &da, true +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dna, true } -// AsWebHookActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsWebHookActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsValidationActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsControlActivity() (*ControlActivity, bool) { +// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsActivity() (*Activity, bool) { +// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for DeleteActivity. -func (da DeleteActivity) AsBasicActivity() (BasicActivity, bool) { - return &da, true +// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) { + return &dna, true } -// UnmarshalJSON is the custom unmarshaler for DeleteActivity struct. -func (da *DeleteActivity) UnmarshalJSON(body []byte) error { +// 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 { @@ -56734,12 +58297,12 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var deleteActivityTypeProperties DeleteActivityTypeProperties - err = json.Unmarshal(*v, &deleteActivityTypeProperties) + var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties + err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties) if err != nil { return err } - da.DeleteActivityTypeProperties = &deleteActivityTypeProperties + dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties } case "linkedServiceName": if v != nil { @@ -56748,7 +58311,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.LinkedServiceName = &linkedServiceName + dna.LinkedServiceName = &linkedServiceName } case "policy": if v != nil { @@ -56757,7 +58320,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.Policy = &policy + dna.Policy = &policy } default: if v != nil { @@ -56766,10 +58329,10 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if da.AdditionalProperties == nil { - da.AdditionalProperties = make(map[string]interface{}) + if dna.AdditionalProperties == nil { + dna.AdditionalProperties = make(map[string]interface{}) } - da.AdditionalProperties[k] = additionalProperties + dna.AdditionalProperties[k] = additionalProperties } case "name": if v != nil { @@ -56778,7 +58341,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.Name = &name + dna.Name = &name } case "description": if v != nil { @@ -56787,7 +58350,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.Description = &description + dna.Description = &description } case "dependsOn": if v != nil { @@ -56796,7 +58359,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.DependsOn = &dependsOn + dna.DependsOn = &dependsOn } case "userProperties": if v != nil { @@ -56805,7 +58368,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.UserProperties = &userProperties + dna.UserProperties = &userProperties } case "type": if v != nil { @@ -56814,7 +58377,7 @@ func (da *DeleteActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - da.Type = typeVar + dna.Type = typeVar } } } @@ -56822,483 +58385,274 @@ 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"` +// 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"` } -// DelimitedTextDataset delimited text dataset. -type DelimitedTextDataset struct { - // DelimitedTextDatasetTypeProperties - Delimited text dataset properties. - *DelimitedTextDatasetTypeProperties `json:"typeProperties,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:""` - // 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', '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"` + // 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 DelimitedTextDataset. -func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) { - dtd.Type = TypeDelimitedText +// MarshalJSON is the custom marshaler for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) MarshalJSON() ([]byte, error) { + dsja.Type = TypeDatabricksSparkJar objectMap := make(map[string]interface{}) - if dtd.DelimitedTextDatasetTypeProperties != nil { - objectMap["typeProperties"] = dtd.DelimitedTextDatasetTypeProperties - } - if dtd.Description != nil { - objectMap["description"] = dtd.Description + if dsja.DatabricksSparkJarActivityTypeProperties != nil { + objectMap["typeProperties"] = dsja.DatabricksSparkJarActivityTypeProperties } - if dtd.Structure != nil { - objectMap["structure"] = dtd.Structure + if dsja.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dsja.LinkedServiceName } - if dtd.Schema != nil { - objectMap["schema"] = dtd.Schema + if dsja.Policy != nil { + objectMap["policy"] = dsja.Policy } - if dtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dtd.LinkedServiceName + if dsja.Name != nil { + objectMap["name"] = dsja.Name } - if dtd.Parameters != nil { - objectMap["parameters"] = dtd.Parameters + if dsja.Description != nil { + objectMap["description"] = dsja.Description } - if dtd.Annotations != nil { - objectMap["annotations"] = dtd.Annotations + if dsja.DependsOn != nil { + objectMap["dependsOn"] = dsja.DependsOn } - if dtd.Folder != nil { - objectMap["folder"] = dtd.Folder + if dsja.UserProperties != nil { + objectMap["userProperties"] = dsja.UserProperties } - if dtd.Type != "" { - objectMap["type"] = dtd.Type + if dsja.Type != "" { + objectMap["type"] = dsja.Type } - for k, v := range dtd.AdditionalProperties { + for k, v := range dsja.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { - return nil, false -} - -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return nil, false -} - -// AsResponsysObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false -} - -// AsVerticaTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false -} - -// AsNetezzaTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false -} - -// AsZohoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false -} - -// AsSquareObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false -} - -// AsSparkObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false -} - -// AsShopifyObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return nil, false -} - -// AsServiceNowObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false -} - -// AsPrestoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { + return &dsja, true } -// AsMarketoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsWebActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dsja, true } -// AsRestResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for DatabricksSparkJarActivity. +func (dsja DatabricksSparkJarActivity) AsBasicActivity() (BasicActivity, bool) { + return &dsja, true } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false -} - -// AsTeradataTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { - return nil, false -} - -// AsOracleTableDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false -} - -// AsODataResourceDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return nil, false -} - -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false -} - -// AsMongoDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false -} - -// AsFileShareDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false -} - -// AsOffice365Dataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsOffice365Dataset() (*Office365Dataset, bool) { - return nil, false -} - -// AsAzureBlobFSDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { - return nil, false -} - -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { - return nil, false -} - -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { - return nil, false -} - -// AsDynamicsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false -} - -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false -} - -// AsCustomDataset is the BasicDataset implementation for DelimitedTextDataset. -func (dtd DelimitedTextDataset) AsCustomDataset() (*CustomDataset, bool) { - return nil, false -} - -// 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 { +// 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 { @@ -57308,96 +58662,87 @@ func (dtd *DelimitedTextDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var delimitedTextDatasetTypeProperties DelimitedTextDatasetTypeProperties - err = json.Unmarshal(*v, &delimitedTextDatasetTypeProperties) + var databricksSparkJarActivityTypeProperties DatabricksSparkJarActivityTypeProperties + err = json.Unmarshal(*v, &databricksSparkJarActivityTypeProperties) if err != nil { return err } - dtd.DelimitedTextDatasetTypeProperties = &delimitedTextDatasetTypeProperties + dsja.DatabricksSparkJarActivityTypeProperties = &databricksSparkJarActivityTypeProperties } - 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 + dsja.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 + dsja.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 - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err + if dsja.AdditionalProperties == nil { + dsja.AdditionalProperties = make(map[string]interface{}) } - dtd.Schema = schema + dsja.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 } - dtd.LinkedServiceName = &linkedServiceName + dsja.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 } - dtd.Parameters = parameters + dsja.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 } - dtd.Annotations = &annotations + dsja.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 + dsja.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 + dsja.Type = typeVar } } } @@ -57405,312 +58750,259 @@ func (dtd *DelimitedTextDataset) UnmarshalJSON(body []byte) error { 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"` +// 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"` } -// 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"` +// 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:""` - // Type - The read setting type. - Type *string `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', '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 DelimitedTextReadSettings. -func (dtrs DelimitedTextReadSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) MarshalJSON() ([]byte, error) { + dspa.Type = TypeDatabricksSparkPython objectMap := make(map[string]interface{}) - if dtrs.SkipLineCount != nil { - objectMap["skipLineCount"] = dtrs.SkipLineCount + if dspa.DatabricksSparkPythonActivityTypeProperties != nil { + objectMap["typeProperties"] = dspa.DatabricksSparkPythonActivityTypeProperties } - if dtrs.Type != nil { - objectMap["type"] = dtrs.Type + if dspa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dspa.LinkedServiceName } - for k, v := range dtrs.AdditionalProperties { + 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) } -// 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 - } - } - } +// AsAzureFunctionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { + return nil, false +} - return nil +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { + return &dspa, true } -// 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"` +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, 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) +// AsDatabricksNotebookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsWebActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsLookupActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsDeleteActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsInformixSink() (*InformixSink, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsOdbcSink() (*OdbcSink, bool) { +// AsCustomActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLMISink() (*SQLMISink, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsCopyActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSQLSink() (*SQLSink, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dspa, true +} + +// AsWebHookActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsBlobSink() (*BlobSink, bool) { +// AsFilterActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsBinarySink() (*BinarySink, bool) { +// AsValidationActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsParquetSink() (*ParquetSink, bool) { +// AsUntilActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsWaitActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsForEachActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { - return &dts, true +// AsControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false } -// AsCopySink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsCopySink() (*CopySink, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DelimitedTextSink. -func (dts DelimitedTextSink) AsBasicCopySink() (BasicCopySink, bool) { - return &dts, true +// AsActivity is the BasicActivity implementation for DatabricksSparkPythonActivity. +func (dspa DatabricksSparkPythonActivity) AsActivity() (*Activity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DelimitedTextSink struct. -func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { +// 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 { @@ -57718,89 +59010,89 @@ func (dts *DelimitedTextSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "storeSettings": + case "typeProperties": if v != nil { - var storeSettings StoreWriteSettings - err = json.Unmarshal(*v, &storeSettings) + var databricksSparkPythonActivityTypeProperties DatabricksSparkPythonActivityTypeProperties + err = json.Unmarshal(*v, &databricksSparkPythonActivityTypeProperties) if err != nil { return err } - dts.StoreSettings = &storeSettings + dspa.DatabricksSparkPythonActivityTypeProperties = &databricksSparkPythonActivityTypeProperties } - case "formatSettings": + case "linkedServiceName": if v != nil { - var formatSettings DelimitedTextWriteSettings - err = json.Unmarshal(*v, &formatSettings) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - dts.FormatSettings = &formatSettings + dspa.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 dts.AdditionalProperties == nil { - dts.AdditionalProperties = make(map[string]interface{}) - } - dts.AdditionalProperties[k] = additionalProperties + dspa.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 } - dts.WriteBatchSize = writeBatchSize + if dspa.AdditionalProperties == nil { + dspa.AdditionalProperties = make(map[string]interface{}) + } + dspa.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 } - dts.WriteBatchTimeout = writeBatchTimeout + dspa.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 } - dts.SinkRetryCount = sinkRetryCount + dspa.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 } - dts.SinkRetryWait = sinkRetryWait + dspa.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 } - dts.MaxConcurrentConnections = maxConcurrentConnections + dspa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dts.Type = typeVar + dspa.Type = typeVar } } } @@ -57808,1200 +59100,1359 @@ 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"` +// 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:""` - // 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"` + // 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 DelimitedTextSource. -func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) { - dts.Type = TypeDelimitedTextSource +// MarshalJSON is the custom marshaler for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) { + dlaua.Type = TypeDataLakeAnalyticsUSQL objectMap := make(map[string]interface{}) - if dts.StoreSettings != nil { - objectMap["storeSettings"] = dts.StoreSettings + if dlaua.DataLakeAnalyticsUSQLActivityTypeProperties != nil { + objectMap["typeProperties"] = dlaua.DataLakeAnalyticsUSQLActivityTypeProperties } - if dts.FormatSettings != nil { - objectMap["formatSettings"] = dts.FormatSettings + if dlaua.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dlaua.LinkedServiceName } - if dts.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = dts.SourceRetryCount + if dlaua.Policy != nil { + objectMap["policy"] = dlaua.Policy } - if dts.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = dts.SourceRetryWait + if dlaua.Name != nil { + objectMap["name"] = dlaua.Name } - if dts.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections + if dlaua.Description != nil { + objectMap["description"] = dlaua.Description } - if dts.Type != "" { - objectMap["type"] = dts.Type + if dlaua.DependsOn != nil { + objectMap["dependsOn"] = dlaua.DependsOn } - for k, v := range dts.AdditionalProperties { + 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) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsVerticaSource() (*VerticaSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return &dlaua, true } -// AsZohoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSquareSource() (*SquareSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSparkSource() (*SparkSource, bool) { +// AsWebActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsShopifySource() (*ShopifySource, bool) { +// AsLookupActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsCustomActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPaypalSource() (*PaypalSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMarketoSource() (*MarketoSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMagentoSource() (*MagentoSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsJiraSource() (*JiraSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHubspotSource() (*HubspotSource, bool) { +// AsCopyActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHiveSource() (*HiveSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dlaua, true } -// AsGreenplumSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsWebHookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDrillSource() (*DrillSource, bool) { +// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsValidationActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsConcurSource() (*ConcurSource, bool) { +// AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsWaitActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsForEachActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOffice365Source() (*Office365Source, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicActivity() (BasicActivity, bool) { + return &dlaua, true } -// AsMongoDbSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMongoDbSource() (*MongoDbSource, 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 + } + } + } -// AsCassandraSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false + return nil } -// AsWebSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsWebSource() (*WebSource, 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"` } -// AsTeradataSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false +// 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) } -// AsOracleSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOracleSource() (*OracleSource, 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) + AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, 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) + AsSapBwCubeDataset() (*SapBwCubeDataset, bool) + AsSybaseTableDataset() (*SybaseTableDataset, 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) + AsDb2TableDataset() (*Db2TableDataset, bool) + AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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) + AsJSONDataset() (*JSONDataset, bool) + AsDelimitedTextDataset() (*DelimitedTextDataset, bool) + AsParquetDataset() (*ParquetDataset, bool) + AsAvroDataset() (*AvroDataset, bool) + AsAmazonS3Dataset() (*AmazonS3Dataset, bool) + AsDataset() (*Dataset, bool) } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// AsAzureMySQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 + } -// AsHdfsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsHdfsSource() (*HdfsSource, 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(TypeAzureMariaDBTable): + var amdtd AzureMariaDBTableDataset + err := json.Unmarshal(body, &amdtd) + return amdtd, 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(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) + 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(TypeDb2Table): + var d2td Db2TableDataset + err := json.Unmarshal(body, &d2td) + return d2td, err + case string(TypeAmazonRedshiftTable): + var artd AmazonRedshiftTableDataset + err := json.Unmarshal(body, &artd) + return artd, 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(TypeJSON): + var jd JSONDataset + err := json.Unmarshal(body, &jd) + return jd, 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(TypeAvro): + var ad AvroDataset + err := json.Unmarshal(body, &ad) + return ad, 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 + } -// AsFileSystemSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsFileSystemSource() (*FileSystemSource, 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 } -// AsSQLDWSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false +// 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) } -// AsSQLMISource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSQLSource() (*SQLSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsRestSource() (*RestSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapTableSource() (*SapTableSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapEccSource() (*SapEccSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsODataSource() (*ODataSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsSybaseSource() (*SybaseSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMySQLSource() (*MySQLSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsOdbcSource() (*OdbcSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDb2Source() (*Db2Source, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsInformixSource() (*InformixSource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsRelationalSource() (*RelationalSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsBlobSource() (*BlobSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsBinarySource() (*BinarySource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return &dts, true +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false } -// AsParquetSource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsParquetSource() (*ParquetSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsCopySource() (*CopySource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DelimitedTextSource. -func (dts DelimitedTextSource) AsBasicCopySource() (BasicCopySource, bool) { - return &dts, true +// AsCouchbaseTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false } -// 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 { - return err - } - 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": - if v != nil { - var formatSettings DelimitedTextReadSettings - 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 "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - dts.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - dts.SourceRetryWait = sourceRetryWait - } - 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 TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dts.Type = typeVar - } - } - } - - return nil +// AsConcurObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false } -// 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"` +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false } -// 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) +// AsAmazonMWSObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false } -// 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 - } - 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 - } - } - } - - return nil +// AsHTTPDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false } -// BasicDependencyReference referenced dependency. -type BasicDependencyReference interface { - AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) - AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) - AsTriggerDependencyReference() (*TriggerDependencyReference, bool) - AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) - AsDependencyReference() (*DependencyReference, bool) +// AsAzureSearchIndexDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// DependencyReference referenced dependency. -type DependencyReference struct { - // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' - Type TypeBasicDependencyReference `json:"type,omitempty"` +// AsWebTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsWebTableDataset() (*WebTableDataset, 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 - } +// AsSapTableResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -func unmarshalBasicDependencyReferenceArray(body []byte) ([]BasicDependencyReference, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - - 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 +// AsRestResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false } -// 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) +// AsSQLServerTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false } -// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsDependencyReference() (*DependencyReference, bool) { - return &dr, true +// AsSapBwCubeDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { + return nil, false } -// AsBasicDependencyReference is the BasicDependencyReference implementation for DependencyReference. -func (dr DependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { - return &dr, true +// AsSybaseTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSybaseTableDataset() (*SybaseTableDataset, 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"` +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, 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', '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"` +// AsSalesforceObjectDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, 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) +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { + return nil, false } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false -} - -// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false -} - -// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false -} - -// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false -} - -// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false -} - -// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false -} - -// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false -} - -// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false -} - -// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false -} - -// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false -} - -// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false -} - -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return nil, false -} - -// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return nil, false -} - -// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return nil, false -} - -// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} - -// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false -} - -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false -} - -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false -} - -// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false -} - -// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} - -// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSapTableResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false -} - -// AsRestResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false -} - -// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false -} - -// AsSapOpenHubTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false -} - -// AsSapHanaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false -} - -// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} - -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false -} - -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false -} - -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false -} - -// AsPostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { - return nil, false -} - -// AsMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { - return nil, false -} - -// AsOdbcTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { - return nil, false -} - -// AsInformixTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { - return nil, false -} - -// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false -} - -// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false -} - -// AsTeradataTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { - return nil, false -} - -// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false -} - -// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return nil, false -} - -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false -} - -// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsCassandraTableDataset() (*CassandraTableDataset, 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) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) 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 Dataset. +func (d Dataset) 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 Dataset. +func (d Dataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsJSONDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsParquetDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAvroDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) 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 DocumentDbCollectionDataset. -func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) { - return &ddcd, true +// AsBasicDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsBasicDataset() (BasicDataset, bool) { + return &d, true } -// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionDataset struct. -func (ddcd *DocumentDbCollectionDataset) 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 { @@ -59009,15 +60460,6 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties - err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties) - if err != nil { - return err - } - ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties - } default: if v != nil { var additionalProperties interface{} @@ -59025,10 +60467,10 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ddcd.AdditionalProperties == nil { - ddcd.AdditionalProperties = make(map[string]interface{}) + if d.AdditionalProperties == nil { + d.AdditionalProperties = make(map[string]interface{}) } - ddcd.AdditionalProperties[k] = additionalProperties + d.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -59037,7 +60479,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Description = &description + d.Description = &description } case "structure": if v != nil { @@ -59046,7 +60488,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Structure = structure + d.Structure = structure } case "schema": if v != nil { @@ -59055,7 +60497,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Schema = schema + d.Schema = schema } case "linkedServiceName": if v != nil { @@ -59064,7 +60506,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.LinkedServiceName = &linkedServiceName + d.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -59073,7 +60515,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Parameters = parameters + d.Parameters = parameters } case "annotations": if v != nil { @@ -59082,7 +60524,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Annotations = &annotations + d.Annotations = &annotations } case "folder": if v != nil { @@ -59091,7 +60533,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Folder = &folder + d.Folder = &folder } case "type": if v != nil { @@ -59100,7 +60542,7 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ddcd.Type = typeVar + d.Type = typeVar } } } @@ -59108,225 +60550,296 @@ 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"` -} - -// 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"` +// 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:""` - // 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"` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `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 DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) MarshalJSON() ([]byte, error) { + dbz2c.Type = TypeBZip2 objectMap := make(map[string]interface{}) - if ddcs.NestingSeparator != nil { - objectMap["nestingSeparator"] = ddcs.NestingSeparator - } - if ddcs.WriteBehavior != nil { - objectMap["writeBehavior"] = ddcs.WriteBehavior - } - if ddcs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ddcs.WriteBatchSize - } - if ddcs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout - } - if ddcs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ddcs.SinkRetryCount - } - if ddcs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ddcs.SinkRetryWait - } - if ddcs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections - } - if ddcs.Type != "" { - objectMap["type"] = ddcs.Type + if dbz2c.Type != "" { + objectMap["type"] = dbz2c.Type } - for k, v := range ddcs.AdditionalProperties { + for k, v := range dbz2c.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { + return &dbz2c, true } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetBZip2Compression. +func (dbz2c DatasetBZip2Compression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dbz2c, true } -// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, 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 + } + } + } -// AsMicrosoftAccessSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { - return nil, false + return nil } -// AsInformixSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsInformixSink() (*InformixSink, 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) } -// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, 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"` } -// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, 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 + } -// AsAzureBlobFSSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureBlobFSSink() (*AzureBlobFSSink, 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 + } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { - return nil, false -} + dcArray := make([]BasicDatasetCompression, len(rawMessages)) -// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, 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 } -// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, 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) } -// AsSQLMISink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLMISink() (*SQLMISink, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { - return &ddcs, true +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsDatasetCompression() (*DatasetCompression, bool) { + return &dc, true } -// AsFileSystemSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsFileSystemSink() (*FileSystemSink, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetCompression. +func (dc DatasetCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dc, true } -// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, 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 + } + } + } -// AsBinarySink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsBinarySink() (*BinarySink, bool) { - return nil, false + return nil } -// AsParquetSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsParquetSink() (*ParquetSink, 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"` } -// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, 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) } -// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { - return nil, false +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { + return &ddc, true } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. -func (ddcs DocumentDbCollectionSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ddcs, true +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetDeflateCompression. +func (ddc DatasetDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &ddc, true } -// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSink struct. -func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { +// 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 { @@ -59334,23 +60847,14 @@ func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { } 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": + case "level": if v != nil { - var writeBehavior interface{} - err = json.Unmarshal(*v, &writeBehavior) + var level interface{} + err = json.Unmarshal(*v, &level) if err != nil { return err } - ddcs.WriteBehavior = writeBehavior + ddc.Level = level } default: if v != nil { @@ -59359,64 +60863,19 @@ func (ddcs *DocumentDbCollectionSink) UnmarshalJSON(body []byte) error { 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 + if ddc.AdditionalProperties == nil { + ddc.AdditionalProperties = make(map[string]interface{}) } - ddcs.MaxConcurrentConnections = maxConcurrentConnections + ddc.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicDatasetCompression err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ddcs.Type = typeVar + ddc.Type = typeVar } } } @@ -59424,464 +60883,684 @@ 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"` +// 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"` +} + +// 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:""` - // 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"` + // Type - Possible values include: 'TypeDatasetCompression', 'TypeZipDeflate', 'TypeDeflate', 'TypeGZip', 'TypeBZip2' + Type TypeBasicDatasetCompression `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 DatasetGZipCompression. +func (dgzc DatasetGZipCompression) MarshalJSON() ([]byte, error) { + dgzc.Type = TypeGZip 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 dgzc.Level != nil { + objectMap["level"] = dgzc.Level } - if ddcs.Type != "" { - objectMap["type"] = ddcs.Type + if dgzc.Type != "" { + objectMap["type"] = dgzc.Type } - for k, v := range ddcs.AdditionalProperties { + for k, v := range dgzc.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { + return &dgzc, true } -// AsDynamicsAXSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetGZipCompression. +func (dgzc DatasetGZipCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dgzc, true } -// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, 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 + } + } + } + + return nil } -// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, 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"` } -// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false +// DatasetListResponseIterator provides access to a complete listing of DatasetResource values. +type DatasetListResponseIterator struct { + i int + page DatasetListResponsePage } -// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, 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 } -// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, 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()) } -// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, 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()) } -// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (iter DatasetListResponseIterator) Response() DatasetListResponse { + return iter.page.Response() } -// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, 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] } -// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false +// Creates a new instance of the DatasetListResponseIterator type. +func NewDatasetListResponseIterator(page DatasetListResponsePage) DatasetListResponseIterator { + return DatasetListResponseIterator{page: page} } -// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, 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 } -// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, 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))) } -// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false +// DatasetListResponsePage contains a page of DatasetResource values. +type DatasetListResponsePage struct { + fn func(context.Context, DatasetListResponse) (DatasetListResponse, error) + dlr DatasetListResponse } -// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, 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 } -// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, 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()) } -// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, 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() } -// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) { - return nil, false -} - -// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false -} - -// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} - -// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - -// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - -// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false -} - -// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - -// AsTeradataSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false -} - -// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - -// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page DatasetListResponsePage) Response() DatasetListResponse { + return page.dlr } -// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, 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 } -// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, 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} } -// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, 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"` } -// AsSQLMISource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLMISource() (*SQLMISource, 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) } -// AsAzureSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureSQLSource() (*AzureSQLSource, 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 + } + } + } -// AsSQLServerSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false + return nil } -// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, 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"` } -// AsRestSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsRestSource() (*RestSource, 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) } -// AsSapTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapTableSource() (*SapTableSource, 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"` } -// AsSapOpenHubSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapOpenHubSource() (*SapOpenHubSource, 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 + } + } + } -// AsSapHanaSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false + return nil } -// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, 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) } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, 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"` } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, 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 + } -// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, 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 + } } +func unmarshalBasicDatasetStorageFormatArray(body []byte) ([]BasicDatasetStorageFormat, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsODataSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsODataSource() (*ODataSource, bool) { - return nil, false -} + dsfArray := make([]BasicDatasetStorageFormat, len(rawMessages)) -// AsSybaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsSybaseSource() (*SybaseSource, 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 } -// AsPostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsPostgreSQLSource() (*PostgreSQLSource, 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) } -// AsMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMySQLSource() (*MySQLSource, bool) { +// AsParquetFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsParquetFormat() (*ParquetFormat, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsOdbcSource() (*OdbcSource, bool) { +// AsOrcFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsOrcFormat() (*OrcFormat, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDb2Source() (*Db2Source, bool) { +// AsAvroFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsAvroFormat() (*AvroFormat, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsJSONFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsJSONFormat() (*JSONFormat, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsInformixSource() (*InformixSource, bool) { +// AsTextFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsTextFormat() (*TextFormat, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { + return &dsf, true } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for DatasetStorageFormat. +func (dsf DatasetStorageFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &dsf, true } -// AsDynamicsCrmSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDynamicsCrmSource() (*DynamicsCrmSource, 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 + } + } + } -// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false + return nil } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return &ddcs, true +// 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"` } -// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, 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) } -// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false +// AsDatasetZipDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetZipDeflateCompression() (*DatasetZipDeflateCompression, bool) { + return &dzdc, true } -// AsBinarySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsBinarySource() (*BinarySource, bool) { +// AsDatasetDeflateCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetDeflateCompression() (*DatasetDeflateCompression, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDatasetGZipCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetGZipCompression() (*DatasetGZipCompression, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) { +// AsDatasetBZip2Compression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetBZip2Compression() (*DatasetBZip2Compression, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) { +// AsDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsDatasetCompression() (*DatasetCompression, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. -func (ddcs DocumentDbCollectionSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ddcs, true +// AsBasicDatasetCompression is the BasicDatasetCompression implementation for DatasetZipDeflateCompression. +func (dzdc DatasetZipDeflateCompression) AsBasicDatasetCompression() (BasicDatasetCompression, bool) { + return &dzdc, true } -// UnmarshalJSON is the custom unmarshaler for DocumentDbCollectionSource struct. -func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -59889,23 +61568,14 @@ func (ddcs *DocumentDbCollectionSource) 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 - } - ddcs.Query = query - } - case "nestingSeparator": + case "level": if v != nil { - var nestingSeparator interface{} - err = json.Unmarshal(*v, &nestingSeparator) + var level interface{} + err = json.Unmarshal(*v, &level) if err != nil { return err } - ddcs.NestingSeparator = nestingSeparator + dzdc.Level = level } default: if v != nil { @@ -59914,46 +61584,19 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ddcs.AdditionalProperties == nil { - ddcs.AdditionalProperties = make(map[string]interface{}) - } - ddcs.AdditionalProperties[k] = additionalProperties - } - case "sourceRetryCount": - if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) - if err != nil { - return err - } - ddcs.SourceRetryCount = sourceRetryCount - } - case "sourceRetryWait": - if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) - if err != nil { - return err - } - ddcs.SourceRetryWait = sourceRetryWait - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err + if dzdc.AdditionalProperties == nil { + dzdc.AdditionalProperties = make(map[string]interface{}) } - ddcs.MaxConcurrentConnections = maxConcurrentConnections + dzdc.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDatasetCompression err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ddcs.Type = typeVar + dzdc.Type = typeVar } } } @@ -59961,10 +61604,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"` +// 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. @@ -59975,500 +61618,505 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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 Db2LinkedService. +func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) { + d2ls.Type = TypeDb2 objectMap := make(map[string]interface{}) - if dls.DrillLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties + if d2ls.Db2LinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = d2ls.Db2LinkedServiceTypeProperties } - if dls.ConnectVia != nil { - objectMap["connectVia"] = dls.ConnectVia + if d2ls.ConnectVia != nil { + objectMap["connectVia"] = d2ls.ConnectVia } - if dls.Description != nil { - objectMap["description"] = dls.Description + if d2ls.Description != nil { + objectMap["description"] = d2ls.Description } - if dls.Parameters != nil { - objectMap["parameters"] = dls.Parameters + if d2ls.Parameters != nil { + objectMap["parameters"] = d2ls.Parameters } - if dls.Annotations != nil { - objectMap["annotations"] = dls.Annotations + if d2ls.Annotations != nil { + objectMap["annotations"] = d2ls.Annotations } - if dls.Type != "" { - objectMap["type"] = dls.Type + if d2ls.Type != "" { + objectMap["type"] = d2ls.Type } - for k, v := range dls.AdditionalProperties { + for k, v := range d2ls.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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) 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 Db2LinkedService. +func (d2ls Db2LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return &dls, true +// AsEloquaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return nil, false +// AsDb2LinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return &d2ls, true } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for DrillLinkedService. -func (dls DrillLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &dls, true +// AsLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DrillLinkedService struct. -func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -60478,12 +62126,12 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties - err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties) + var db2LinkedServiceTypeProperties Db2LinkedServiceTypeProperties + err = json.Unmarshal(*v, &db2LinkedServiceTypeProperties) if err != nil { return err } - dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties + d2ls.Db2LinkedServiceTypeProperties = &db2LinkedServiceTypeProperties } default: if v != nil { @@ -60492,10 +62140,10 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dls.AdditionalProperties == nil { - dls.AdditionalProperties = make(map[string]interface{}) + if d2ls.AdditionalProperties == nil { + d2ls.AdditionalProperties = make(map[string]interface{}) } - dls.AdditionalProperties[k] = additionalProperties + d2ls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -60504,7 +62152,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.ConnectVia = &connectVia + d2ls.ConnectVia = &connectVia } case "description": if v != nil { @@ -60513,7 +62161,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Description = &description + d2ls.Description = &description } case "parameters": if v != nil { @@ -60522,7 +62170,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Parameters = parameters + d2ls.Parameters = parameters } case "annotations": if v != nil { @@ -60531,7 +62179,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Annotations = &annotations + d2ls.Annotations = &annotations } case "type": if v != nil { @@ -60540,7 +62188,7 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dls.Type = typeVar + d2ls.Type = typeVar } } } @@ -60548,20 +62196,96 @@ 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"` +// 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"` } -// 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). +// 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 +} + +// 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"` + // 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"` // 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). @@ -60570,447 +62294,480 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `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 Db2Source. +func (d2s Db2Source) MarshalJSON() ([]byte, error) { + d2s.Type = TypeDb2Source objectMap := make(map[string]interface{}) - if ds.Query != nil { - objectMap["query"] = ds.Query + if d2s.Query != nil { + objectMap["query"] = d2s.Query } - if ds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ds.SourceRetryCount + if d2s.QueryTimeout != nil { + objectMap["queryTimeout"] = d2s.QueryTimeout } - if ds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ds.SourceRetryWait + if d2s.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = d2s.SourceRetryCount } - if ds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections + if d2s.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = d2s.SourceRetryWait } - if ds.Type != "" { - objectMap["type"] = ds.Type + if d2s.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = d2s.MaxConcurrentConnections } - for k, v := range ds.AdditionalProperties { + if d2s.Type != "" { + objectMap["type"] = d2s.Type + } + for k, v := range d2s.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDrillSource() (*DrillSource, bool) { - return &ds, true +// AsNetezzaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsODataSource() (*ODataSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDb2Source() (*Db2Source, bool) { +// AsSapHanaSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsInformixSource() (*InformixSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsBlobSource() (*BlobSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDb2Source() (*Db2Source, bool) { + return &d2s, true +} + +// AsInformixSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsTabularSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBasicTabularSource() (BasicTabularSource, bool) { + return &d2s, true +} + +// AsBinarySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsCopySource() (*CopySource, bool) { +// AsJSONSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DrillSource. -func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ds, true +// AsDelimitedTextSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DrillSource struct. -func (ds *DrillSource) UnmarshalJSON(body []byte) error { +// AsParquetSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for Db2Source. +func (d2s Db2Source) AsBasicCopySource() (BasicCopySource, bool) { + return &d2s, true +} + +// 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 { @@ -61025,7 +62782,16 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ds.Query = query + d2s.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + d2s.QueryTimeout = queryTimeout } default: if v != nil { @@ -61034,10 +62800,10 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ds.AdditionalProperties == nil { - ds.AdditionalProperties = make(map[string]interface{}) + if d2s.AdditionalProperties == nil { + d2s.AdditionalProperties = make(map[string]interface{}) } - ds.AdditionalProperties[k] = additionalProperties + d2s.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -61046,7 +62812,7 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ds.SourceRetryCount = sourceRetryCount + d2s.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -61055,7 +62821,7 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ds.SourceRetryWait = sourceRetryWait + d2s.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -61064,7 +62830,7 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ds.MaxConcurrentConnections = maxConcurrentConnections + d2s.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -61073,7 +62839,7 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ds.Type = typeVar + d2s.Type = typeVar } } } @@ -61081,10 +62847,10 @@ 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"` +// Db2TableDataset the Db2 table dataset. +type Db2TableDataset struct { + // Db2TableDatasetTypeProperties - Db2 table dataset properties. + *Db2TableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -61101,449 +62867,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `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 Db2TableDataset. +func (d2td Db2TableDataset) MarshalJSON() ([]byte, error) { + d2td.Type = TypeDb2Table objectMap := make(map[string]interface{}) - if dtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = dtd.GenericDatasetTypeProperties + if d2td.Db2TableDatasetTypeProperties != nil { + objectMap["typeProperties"] = d2td.Db2TableDatasetTypeProperties } - if dtd.Description != nil { - objectMap["description"] = dtd.Description + if d2td.Description != nil { + objectMap["description"] = d2td.Description } - if dtd.Structure != nil { - objectMap["structure"] = dtd.Structure + if d2td.Structure != nil { + objectMap["structure"] = d2td.Structure } - if dtd.Schema != nil { - objectMap["schema"] = dtd.Schema + if d2td.Schema != nil { + objectMap["schema"] = d2td.Schema } - if dtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dtd.LinkedServiceName + if d2td.LinkedServiceName != nil { + objectMap["linkedServiceName"] = d2td.LinkedServiceName } - if dtd.Parameters != nil { - objectMap["parameters"] = dtd.Parameters + if d2td.Parameters != nil { + objectMap["parameters"] = d2td.Parameters } - if dtd.Annotations != nil { - objectMap["annotations"] = dtd.Annotations + if d2td.Annotations != nil { + objectMap["annotations"] = d2td.Annotations } - if dtd.Folder != nil { - objectMap["folder"] = dtd.Folder + if d2td.Folder != nil { + objectMap["folder"] = d2td.Folder } - if dtd.Type != "" { - objectMap["type"] = dtd.Type + if d2td.Type != "" { + objectMap["type"] = d2td.Type } - for k, v := range dtd.AdditionalProperties { + for k, v := range d2td.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { - return &dtd, true +// AsEloquaObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return &d2td, true +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DrillTableDataset. -func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &dtd, true +// AsJSONDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DrillTableDataset struct. -func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { +// AsDelimitedTextDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for Db2TableDataset. +func (d2td Db2TableDataset) AsBasicDataset() (BasicDataset, bool) { + return &d2td, true +} + +// UnmarshalJSON is the custom unmarshaler for Db2TableDataset struct. +func (d2td *Db2TableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -61553,12 +63354,12 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var db2TableDatasetTypeProperties Db2TableDatasetTypeProperties + err = json.Unmarshal(*v, &db2TableDatasetTypeProperties) if err != nil { return err } - dtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + d2td.Db2TableDatasetTypeProperties = &db2TableDatasetTypeProperties } default: if v != nil { @@ -61567,10 +63368,10 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dtd.AdditionalProperties == nil { - dtd.AdditionalProperties = make(map[string]interface{}) + if d2td.AdditionalProperties == nil { + d2td.AdditionalProperties = make(map[string]interface{}) } - dtd.AdditionalProperties[k] = additionalProperties + d2td.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -61579,7 +63380,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Description = &description + d2td.Description = &description } case "structure": if v != nil { @@ -61588,7 +63389,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Structure = structure + d2td.Structure = structure } case "schema": if v != nil { @@ -61597,7 +63398,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Schema = schema + d2td.Schema = schema } case "linkedServiceName": if v != nil { @@ -61606,7 +63407,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.LinkedServiceName = &linkedServiceName + d2td.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -61615,7 +63416,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Parameters = parameters + d2td.Parameters = parameters } case "annotations": if v != nil { @@ -61624,7 +63425,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Annotations = &annotations + d2td.Annotations = &annotations } case "folder": if v != nil { @@ -61633,7 +63434,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Folder = &folder + d2td.Folder = &folder } case "type": if v != nil { @@ -61642,7 +63443,7 @@ func (dtd *DrillTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dtd.Type = typeVar + d2td.Type = typeVar } } } @@ -61650,514 +63451,259 @@ 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"` +// Db2TableDatasetTypeProperties db2 table dataset properties. +type Db2TableDatasetTypeProperties struct { + // TableName - This property will be retired. Please consider using schema + table properties instead. + TableName interface{} `json:"tableName,omitempty"` + // Schema - The Db2 schema name. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // Table - The Db2 table name. Type: string (or Expression with resultType string). + Table interface{} `json:"table,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:""` - // 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', '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"` + // 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 DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) { - dals.Type = TypeDynamicsAX +// MarshalJSON is the custom marshaler for DeleteActivity. +func (da DeleteActivity) MarshalJSON() ([]byte, error) { + da.Type = TypeDelete objectMap := make(map[string]interface{}) - if dals.DynamicsAXLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dals.DynamicsAXLinkedServiceTypeProperties + if da.DeleteActivityTypeProperties != nil { + objectMap["typeProperties"] = da.DeleteActivityTypeProperties } - if dals.ConnectVia != nil { - objectMap["connectVia"] = dals.ConnectVia + if da.LinkedServiceName != nil { + objectMap["linkedServiceName"] = da.LinkedServiceName } - if dals.Description != nil { - objectMap["description"] = dals.Description + if da.Policy != nil { + objectMap["policy"] = da.Policy } - if dals.Parameters != nil { - objectMap["parameters"] = dals.Parameters + if da.Name != nil { + objectMap["name"] = da.Name } - if dals.Annotations != nil { - objectMap["annotations"] = dals.Annotations + if da.Description != nil { + objectMap["description"] = da.Description } - if dals.Type != "" { - objectMap["type"] = dals.Type + if da.DependsOn != nil { + objectMap["dependsOn"] = da.DependsOn } - for k, v := range dals.AdditionalProperties { + 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) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return &dals, true -} - -// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return nil, false +// AsDeleteActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsDeleteActivity() (*DeleteActivity, bool) { + return &da, true } -// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &da, true } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for DeleteActivity. +func (da DeleteActivity) AsBasicActivity() (BasicActivity, bool) { + return &da, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false -} - -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return nil, false -} - -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return nil, false -} - -// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false -} - -// AsWebLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false -} - -// AsODataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return nil, false -} - -// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return nil, false -} - -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { - return nil, false -} - -// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { - return nil, false -} - -// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false -} - -// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false -} - -// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. -func (dals DynamicsAXLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false -} - -// 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 { +// 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 { @@ -62167,153 +63713,87 @@ func (dals *DynamicsAXLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var dynamicsAXLinkedServiceTypeProperties DynamicsAXLinkedServiceTypeProperties - err = json.Unmarshal(*v, &dynamicsAXLinkedServiceTypeProperties) - if err != nil { - return err - } - dals.DynamicsAXLinkedServiceTypeProperties = &dynamicsAXLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if dals.AdditionalProperties == nil { - dals.AdditionalProperties = make(map[string]interface{}) - } - dals.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - dals.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var deleteActivityTypeProperties DeleteActivityTypeProperties + err = json.Unmarshal(*v, &deleteActivityTypeProperties) if err != nil { return err } - dals.Description = &description + da.DeleteActivityTypeProperties = &deleteActivityTypeProperties } - case "parameters": + case "linkedServiceName": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - dals.Parameters = parameters + da.LinkedServiceName = &linkedServiceName } - case "annotations": + case "policy": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - dals.Annotations = &annotations + da.Policy = &policy } - 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 } - dals.Type = typeVar - } - } - } - - 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"` -} - -// 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 { - 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 + if da.AdditionalProperties == nil { + da.AdditionalProperties = make(map[string]interface{}) } - dalstp.URL = URL + da.AdditionalProperties[k] = additionalProperties } - case "servicePrincipalId": + case "name": if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - dalstp.ServicePrincipalID = servicePrincipalID + da.Name = &name } - case "servicePrincipalKey": + case "description": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - dalstp.ServicePrincipalKey = servicePrincipalKey + da.Description = &description } - case "tenant": + case "dependsOn": if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - dalstp.Tenant = tenant + da.DependsOn = &dependsOn } - case "aadResourceId": + case "userProperties": if v != nil { - var aadResourceID interface{} - err = json.Unmarshal(*v, &aadResourceID) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - dalstp.AadResourceID = aadResourceID + da.UserProperties = &userProperties } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dalstp.EncryptedCredential = encryptedCredential + da.Type = typeVar } } } @@ -62321,10 +63801,24 @@ 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"` +// 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:""` // Description - Dataset description. @@ -62341,449 +63835,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) { - dard.Type = TypeDynamicsAXResource +// MarshalJSON is the custom marshaler for DelimitedTextDataset. +func (dtd DelimitedTextDataset) MarshalJSON() ([]byte, error) { + dtd.Type = TypeDelimitedText objectMap := make(map[string]interface{}) - if dard.DynamicsAXResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = dard.DynamicsAXResourceDatasetTypeProperties + if dtd.DelimitedTextDatasetTypeProperties != nil { + objectMap["typeProperties"] = dtd.DelimitedTextDatasetTypeProperties } - if dard.Description != nil { - objectMap["description"] = dard.Description + if dtd.Description != nil { + objectMap["description"] = dtd.Description } - if dard.Structure != nil { - objectMap["structure"] = dard.Structure + if dtd.Structure != nil { + objectMap["structure"] = dtd.Structure } - if dard.Schema != nil { - objectMap["schema"] = dard.Schema + if dtd.Schema != nil { + objectMap["schema"] = dtd.Schema } - if dard.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dard.LinkedServiceName + if dtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dtd.LinkedServiceName } - if dard.Parameters != nil { - objectMap["parameters"] = dard.Parameters + if dtd.Parameters != nil { + objectMap["parameters"] = dtd.Parameters } - if dard.Annotations != nil { - objectMap["annotations"] = dard.Annotations + if dtd.Annotations != nil { + objectMap["annotations"] = dtd.Annotations } - if dard.Folder != nil { - objectMap["folder"] = dard.Folder + if dtd.Folder != nil { + objectMap["folder"] = dtd.Folder } - if dard.Type != "" { - objectMap["type"] = dard.Type + if dtd.Type != "" { + objectMap["type"] = dtd.Type } - for k, v := range dard.AdditionalProperties { + for k, v := range dtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { - return &dard, true +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DynamicsAXResourceDataset. -func (dard DynamicsAXResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &dard, true +// AsBinaryDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsAXResourceDataset struct. -func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { +// AsJSONDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsJSONDataset() (*JSONDataset, 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 +} + +// AsAvroDataset is the BasicDataset implementation for DelimitedTextDataset. +func (dtd DelimitedTextDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -62793,12 +64322,12 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var dynamicsAXResourceDatasetTypeProperties DynamicsAXResourceDatasetTypeProperties - err = json.Unmarshal(*v, &dynamicsAXResourceDatasetTypeProperties) + var delimitedTextDatasetTypeProperties DelimitedTextDatasetTypeProperties + err = json.Unmarshal(*v, &delimitedTextDatasetTypeProperties) if err != nil { return err } - dard.DynamicsAXResourceDatasetTypeProperties = &dynamicsAXResourceDatasetTypeProperties + dtd.DelimitedTextDatasetTypeProperties = &delimitedTextDatasetTypeProperties } default: if v != nil { @@ -62807,10 +64336,10 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dard.AdditionalProperties == nil { - dard.AdditionalProperties = make(map[string]interface{}) + if dtd.AdditionalProperties == nil { + dtd.AdditionalProperties = make(map[string]interface{}) } - dard.AdditionalProperties[k] = additionalProperties + dtd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -62819,7 +64348,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Description = &description + dtd.Description = &description } case "structure": if v != nil { @@ -62828,7 +64357,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Structure = structure + dtd.Structure = structure } case "schema": if v != nil { @@ -62837,7 +64366,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Schema = schema + dtd.Schema = schema } case "linkedServiceName": if v != nil { @@ -62846,7 +64375,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.LinkedServiceName = &linkedServiceName + dtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -62855,7 +64384,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Parameters = parameters + dtd.Parameters = parameters } case "annotations": if v != nil { @@ -62864,7 +64393,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Annotations = &annotations + dtd.Annotations = &annotations } case "folder": if v != nil { @@ -62873,7 +64402,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Folder = &folder + dtd.Folder = &folder } case "type": if v != nil { @@ -62882,7 +64411,7 @@ func (dard *DynamicsAXResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - dard.Type = typeVar + dtd.Type = typeVar } } } @@ -62890,465 +64419,325 @@ 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"` +// 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"` } -// 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"` +// 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:""` - // 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). + // 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 BasicStoreWriteSettings `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: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', '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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsAXSource. -func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { - das.Type = TypeDynamicsAXSource +// MarshalJSON is the custom marshaler for DelimitedTextSink. +func (dts DelimitedTextSink) MarshalJSON() ([]byte, error) { + dts.Type = TypeDelimitedTextSink objectMap := make(map[string]interface{}) - if das.Query != nil { - objectMap["query"] = das.Query + objectMap["storeSettings"] = dts.StoreSettings + if dts.FormatSettings != nil { + objectMap["formatSettings"] = dts.FormatSettings } - if das.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = das.SourceRetryCount + if dts.WriteBatchSize != nil { + objectMap["writeBatchSize"] = dts.WriteBatchSize } - if das.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = das.SourceRetryWait + if dts.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = dts.WriteBatchTimeout } - if das.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = das.MaxConcurrentConnections + if dts.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = dts.SinkRetryCount } - if das.Type != "" { - objectMap["type"] = das.Type + if dts.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = dts.SinkRetryWait } - for k, v := range das.AdditionalProperties { + 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 DynamicsAXSource. -func (das DynamicsAXSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSalesforceSink() (*SalesforceSink, 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) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// AsServiceNowSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false -} - -// AsPhoenixSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false -} - -// 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 -} - -// AsCouchbaseSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - -// AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - -// AsCassandraSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false -} - -// AsWebSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - -// AsTeradataSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false -} - -// AsOracleSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - -// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false -} - -// AsHdfsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsSQLDWSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false -} - -// AsSQLMISource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLMISource() (*SQLMISource, bool) { - return nil, false -} - -// AsAzureSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSQLSource() (*SQLSource, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsRestSource() (*RestSource, bool) { +// AsDynamicsSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapTableSource() (*SapTableSource, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsInformixSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsOracleSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsODataSource() (*ODataSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLMISink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDb2Source() (*Db2Source, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsFileSystemSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsInformixSource() (*InformixSource, bool) { +// AsBlobSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsRelationalSource() (*RelationalSource, bool) { +// AsBinarySink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsParquetSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAvroSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsBlobSource() (*BlobSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsBinarySource() (*BinarySource, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsJSONSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false +// AsDelimitedTextSink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return &dts, true } -// AsCopySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsCopySource() (*CopySource, bool) { +// AsCopySink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DynamicsAXSource. -func (das DynamicsAXSource) AsBasicCopySource() (BasicCopySource, bool) { - return &das, true +// AsBasicCopySink is the BasicCopySink implementation for DelimitedTextSink. +func (dts DelimitedTextSink) AsBasicCopySink() (BasicCopySink, bool) { + return &dts, true } -// UnmarshalJSON is the custom unmarshaler for DynamicsAXSource struct. -func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -63356,14 +64745,22 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "storeSettings": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + storeSettings, err := unmarshalBasicStoreWriteSettings(*v) if err != nil { return err } - das.Query = query + 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 { @@ -63372,28 +64769,46 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if das.AdditionalProperties == nil { - das.AdditionalProperties = make(map[string]interface{}) + if dts.AdditionalProperties == nil { + dts.AdditionalProperties = make(map[string]interface{}) } - das.AdditionalProperties[k] = additionalProperties + dts.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 } - das.SourceRetryCount = sourceRetryCount + dts.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 } - das.SourceRetryWait = sourceRetryWait + 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 { @@ -63402,16 +64817,16 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - das.MaxConcurrentConnections = maxConcurrentConnections + dts.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - das.Type = typeVar + dts.Type = typeVar } } } @@ -63419,469 +64834,494 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { return nil } -// DynamicsCrmEntityDataset the Dynamics CRM entity dataset. -type DynamicsCrmEntityDataset struct { - // DynamicsCrmEntityDatasetTypeProperties - Dynamics CRM entity dataset properties. - *DynamicsCrmEntityDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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:""` - // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) MarshalJSON() ([]byte, error) { - dced.Type = TypeDynamicsCrmEntity +// MarshalJSON is the custom marshaler for DelimitedTextSource. +func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) { + dts.Type = TypeDelimitedTextSource objectMap := make(map[string]interface{}) - if dced.DynamicsCrmEntityDatasetTypeProperties != nil { - objectMap["typeProperties"] = dced.DynamicsCrmEntityDatasetTypeProperties - } - if dced.Description != nil { - objectMap["description"] = dced.Description - } - if dced.Structure != nil { - objectMap["structure"] = dced.Structure - } - if dced.Schema != nil { - objectMap["schema"] = dced.Schema + if dts.StoreSettings != nil { + objectMap["storeSettings"] = dts.StoreSettings } - if dced.LinkedServiceName != nil { - objectMap["linkedServiceName"] = dced.LinkedServiceName + if dts.FormatSettings != nil { + objectMap["formatSettings"] = dts.FormatSettings } - if dced.Parameters != nil { - objectMap["parameters"] = dced.Parameters + if dts.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = dts.SourceRetryCount } - if dced.Annotations != nil { - objectMap["annotations"] = dced.Annotations + if dts.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = dts.SourceRetryWait } - if dced.Folder != nil { - objectMap["folder"] = dced.Folder + if dts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dts.MaxConcurrentConnections } - if dced.Type != "" { - objectMap["type"] = dced.Type + if dts.Type != "" { + objectMap["type"] = dts.Type } - for k, v := range dced.AdditionalProperties { + for k, v := range dts.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsRestSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { - return &dced, true +// AsSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSQLSource() (*SQLSource, bool) { + return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsInformixSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsDataset() (*Dataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. -func (dced DynamicsCrmEntityDataset) AsBasicDataset() (BasicDataset, bool) { - return &dced, true +// AsTabularSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsTabularSource() (*TabularSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsCrmEntityDataset struct. -func (dced *DynamicsCrmEntityDataset) UnmarshalJSON(body []byte) error { +// AsBasicTabularSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for DelimitedTextSource. +func (dts DelimitedTextSource) AsAvroSource() (*AvroSource, 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 { @@ -63889,14 +65329,23 @@ func (dced *DynamicsCrmEntityDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var dynamicsCrmEntityDatasetTypeProperties DynamicsCrmEntityDatasetTypeProperties - err = json.Unmarshal(*v, &dynamicsCrmEntityDatasetTypeProperties) + var storeSettings StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - dced.DynamicsCrmEntityDatasetTypeProperties = &dynamicsCrmEntityDatasetTypeProperties + dts.StoreSettings = &storeSettings + } + case "formatSettings": + if v != nil { + var formatSettings DelimitedTextReadSettings + err = json.Unmarshal(*v, &formatSettings) + if err != nil { + return err + } + dts.FormatSettings = &formatSettings } default: if v != nil { @@ -63905,82 +65354,130 @@ func (dced *DynamicsCrmEntityDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dced.AdditionalProperties == nil { - dced.AdditionalProperties = make(map[string]interface{}) + if dts.AdditionalProperties == nil { + dts.AdditionalProperties = make(map[string]interface{}) } - dced.AdditionalProperties[k] = additionalProperties + 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 } - dced.Description = &description + dts.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 } - dced.Structure = structure + dts.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 } - dced.Schema = schema + dts.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 } - dced.LinkedServiceName = &linkedServiceName + dts.Type = typeVar } - case "parameters": + } + } + + 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"` + // 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 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 { + return err + } + for k, v := range m { + switch k { + case "quoteAllText": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var quoteAllText interface{} + err = json.Unmarshal(*v, "eAllText) if err != nil { return err } - dced.Parameters = parameters + dtws.QuoteAllText = quoteAllText } - case "annotations": + case "fileExtension": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var fileExtension interface{} + err = json.Unmarshal(*v, &fileExtension) if err != nil { return err } - dced.Annotations = &annotations + dtws.FileExtension = fileExtension } - case "folder": + default: if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - dced.Folder = &folder + if dtws.AdditionalProperties == nil { + dtws.AdditionalProperties = make(map[string]interface{}) + } + dtws.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar string err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - dced.Type = typeVar + dtws.Type = &typeVar } } } @@ -63988,520 +65485,614 @@ func (dced *DynamicsCrmEntityDataset) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// BasicDependencyReference referenced dependency. +type BasicDependencyReference interface { + AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) + AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) + AsTriggerDependencyReference() (*TriggerDependencyReference, bool) + AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) + AsDependencyReference() (*DependencyReference, bool) } -// 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:""` - // 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"` +// DependencyReference referenced dependency. +type DependencyReference struct { + // Type - Possible values include: 'TypeDependencyReference', 'TypeSelfDependencyTumblingWindowTriggerReference', 'TypeTumblingWindowTriggerDependencyReference', 'TypeTriggerDependencyReference' + Type TypeBasicDependencyReference `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) MarshalJSON() ([]byte, error) { - dcls.Type = TypeDynamicsCrm - objectMap := make(map[string]interface{}) - if dcls.DynamicsCrmLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dcls.DynamicsCrmLinkedServiceTypeProperties - } - if dcls.ConnectVia != nil { - objectMap["connectVia"] = dcls.ConnectVia - } - if dcls.Description != nil { - objectMap["description"] = dcls.Description +func unmarshalBasicDependencyReference(body []byte) (BasicDependencyReference, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err } - if dcls.Parameters != nil { - objectMap["parameters"] = dcls.Parameters + + 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 dcls.Annotations != nil { - objectMap["annotations"] = dcls.Annotations +} +func unmarshalBasicDependencyReferenceArray(body []byte) ([]BasicDependencyReference, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err } - if dcls.Type != "" { - objectMap["type"] = dcls.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 dcls.AdditionalProperties { - objectMap[k] = v + 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) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSelfDependencyTumblingWindowTriggerReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsSelfDependencyTumblingWindowTriggerReference() (*SelfDependencyTumblingWindowTriggerReference, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsTumblingWindowTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsTumblingWindowTriggerDependencyReference() (*TumblingWindowTriggerDependencyReference, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsTriggerDependencyReference() (*TriggerDependencyReference, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsBasicTriggerDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsBasicTriggerDependencyReference() (BasicTriggerDependencyReference, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false +// AsDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsDependencyReference() (*DependencyReference, bool) { + return &dr, true } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false +// AsBasicDependencyReference is the BasicDependencyReference implementation for DependencyReference. +func (dr DependencyReference) AsBasicDependencyReference() (BasicDependencyReference, bool) { + return &dr, true } -// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// 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 } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { - return &dcls, true +// AsCassandraTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. -func (dcls DynamicsCrmLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &dcls, true +// AsBasicDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsBasicDataset() (BasicDataset, bool) { + return &ddcd, true } -// UnmarshalJSON is the custom unmarshaler for DynamicsCrmLinkedService struct. -func (dcls *DynamicsCrmLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -64511,12 +66102,12 @@ func (dcls *DynamicsCrmLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var dynamicsCrmLinkedServiceTypeProperties DynamicsCrmLinkedServiceTypeProperties - err = json.Unmarshal(*v, &dynamicsCrmLinkedServiceTypeProperties) + var documentDbCollectionDatasetTypeProperties DocumentDbCollectionDatasetTypeProperties + err = json.Unmarshal(*v, &documentDbCollectionDatasetTypeProperties) if err != nil { return err } - dcls.DynamicsCrmLinkedServiceTypeProperties = &dynamicsCrmLinkedServiceTypeProperties + ddcd.DocumentDbCollectionDatasetTypeProperties = &documentDbCollectionDatasetTypeProperties } default: if v != nil { @@ -64525,19 +66116,10 @@ func (dcls *DynamicsCrmLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dcls.AdditionalProperties == nil { - dcls.AdditionalProperties = make(map[string]interface{}) - } - dcls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if ddcd.AdditionalProperties == nil { + ddcd.AdditionalProperties = make(map[string]interface{}) } - dcls.ConnectVia = &connectVia + ddcd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -64546,151 +66128,70 @@ func (dcls *DynamicsCrmLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - dcls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - dcls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - dcls.Type = typeVar - } - } - } - - return nil -} - -// 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 DynamicsCrmLinkedServiceTypeProperties struct. -func (dclstp *DynamicsCrmLinkedServiceTypeProperties) 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 - } - dclstp.DeploymentType = deploymentType - } - case "hostName": - if v != nil { - var hostName interface{} - err = json.Unmarshal(*v, &hostName) - if err != nil { - return err - } - dclstp.HostName = hostName + ddcd.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 } - dclstp.Port = port + ddcd.Structure = structure } - case "serviceUri": + case "schema": if v != nil { - var serviceURI interface{} - err = json.Unmarshal(*v, &serviceURI) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - dclstp.ServiceURI = serviceURI + ddcd.Schema = schema } - case "organizationName": + case "linkedServiceName": if v != nil { - var organizationName interface{} - err = json.Unmarshal(*v, &organizationName) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - dclstp.OrganizationName = organizationName + ddcd.LinkedServiceName = &linkedServiceName } - case "authenticationType": + case "parameters": if v != nil { - var authenticationType DynamicsAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - dclstp.AuthenticationType = authenticationType + ddcd.Parameters = parameters } - case "username": + case "annotations": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - dclstp.Username = username + ddcd.Annotations = &annotations } - case "password": + case "folder": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - dclstp.Password = password + ddcd.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 } - dclstp.EncryptedCredential = encryptedCredential + ddcd.Type = typeVar } } } @@ -64698,12 +66199,18 @@ func (dclstp *DynamicsCrmLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// 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"` +// 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:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -64716,201 +66223,216 @@ type DynamicsCrmSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsCrmSink. -func (dcs DynamicsCrmSink) MarshalJSON() ([]byte, error) { - dcs.Type = TypeDynamicsCrmSink +// MarshalJSON is the custom marshaler for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) MarshalJSON() ([]byte, error) { + ddcs.Type = TypeDocumentDbCollectionSink objectMap := make(map[string]interface{}) - if dcs.WriteBehavior != nil { - objectMap["writeBehavior"] = dcs.WriteBehavior + if ddcs.NestingSeparator != nil { + objectMap["nestingSeparator"] = ddcs.NestingSeparator } - if dcs.IgnoreNullValues != nil { - objectMap["ignoreNullValues"] = dcs.IgnoreNullValues + if ddcs.WriteBehavior != nil { + objectMap["writeBehavior"] = ddcs.WriteBehavior } - if dcs.WriteBatchSize != nil { - objectMap["writeBatchSize"] = dcs.WriteBatchSize + if ddcs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ddcs.WriteBatchSize } - if dcs.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = dcs.WriteBatchTimeout + if ddcs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ddcs.WriteBatchTimeout } - if dcs.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = dcs.SinkRetryCount + if ddcs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ddcs.SinkRetryCount } - if dcs.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = dcs.SinkRetryWait + if ddcs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ddcs.SinkRetryWait } - if dcs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections + if ddcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ddcs.MaxConcurrentConnections } - if dcs.Type != "" { - objectMap["type"] = dcs.Type + if ddcs.Type != "" { + objectMap["type"] = ddcs.Type } - for k, v := range dcs.AdditionalProperties { + for k, v := range ddcs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return &dcs, true +// AsDynamicsCrmSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsInformixSink() (*InformixSink, bool) { +// AsInformixSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSQLMISink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSQLSink() (*SQLSink, bool) { +// AsSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, 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 } -// AsFileSystemSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsBlobSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsBlobSink() (*BlobSink, bool) { +// AsBinarySink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsBinarySink() (*BinarySink, bool) { +// AsParquetSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsParquetSink() (*ParquetSink, bool) { +// AsAvroSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsCopySink() (*CopySink, bool) { +// AsJSONSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DynamicsCrmSink. -func (dcs DynamicsCrmSink) AsBasicCopySink() (BasicCopySink, bool) { - return &dcs, true +// AsDelimitedTextSink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsCrmSink struct. -func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { +// AsCopySink is the BasicCopySink implementation for DocumentDbCollectionSink. +func (ddcs DocumentDbCollectionSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// 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 { @@ -64918,23 +66440,23 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "writeBehavior": + case "nestingSeparator": if v != nil { - var writeBehavior string - err = json.Unmarshal(*v, &writeBehavior) + var nestingSeparator interface{} + err = json.Unmarshal(*v, &nestingSeparator) if err != nil { return err } - dcs.WriteBehavior = &writeBehavior + ddcs.NestingSeparator = nestingSeparator } - case "ignoreNullValues": + case "writeBehavior": if v != nil { - var ignoreNullValues interface{} - err = json.Unmarshal(*v, &ignoreNullValues) + var writeBehavior interface{} + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - dcs.IgnoreNullValues = ignoreNullValues + ddcs.WriteBehavior = writeBehavior } default: if v != nil { @@ -64943,10 +66465,10 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dcs.AdditionalProperties == nil { - dcs.AdditionalProperties = make(map[string]interface{}) + if ddcs.AdditionalProperties == nil { + ddcs.AdditionalProperties = make(map[string]interface{}) } - dcs.AdditionalProperties[k] = additionalProperties + ddcs.AdditionalProperties[k] = additionalProperties } case "writeBatchSize": if v != nil { @@ -64955,7 +66477,7 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.WriteBatchSize = writeBatchSize + ddcs.WriteBatchSize = writeBatchSize } case "writeBatchTimeout": if v != nil { @@ -64964,7 +66486,7 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.WriteBatchTimeout = writeBatchTimeout + ddcs.WriteBatchTimeout = writeBatchTimeout } case "sinkRetryCount": if v != nil { @@ -64973,7 +66495,7 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.SinkRetryCount = sinkRetryCount + ddcs.SinkRetryCount = sinkRetryCount } case "sinkRetryWait": if v != nil { @@ -64982,7 +66504,7 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.SinkRetryWait = sinkRetryWait + ddcs.SinkRetryWait = sinkRetryWait } case "maxConcurrentConnections": if v != nil { @@ -64991,7 +66513,7 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.MaxConcurrentConnections = maxConcurrentConnections + ddcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -65000,7 +66522,7 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.Type = typeVar + ddcs.Type = typeVar } } } @@ -65008,10 +66530,14 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { return nil } -// 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). +// 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"` + // 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"` // 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). @@ -65020,447 +66546,483 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for DynamicsCrmSource. -func (dcs DynamicsCrmSource) MarshalJSON() ([]byte, error) { - dcs.Type = TypeDynamicsCrmSource +// MarshalJSON is the custom marshaler for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) { + ddcs.Type = TypeDocumentDbCollectionSource objectMap := make(map[string]interface{}) - if dcs.Query != nil { - objectMap["query"] = dcs.Query + if ddcs.Query != nil { + objectMap["query"] = ddcs.Query } - if dcs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = dcs.SourceRetryCount + if ddcs.NestingSeparator != nil { + objectMap["nestingSeparator"] = ddcs.NestingSeparator } - if dcs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = dcs.SourceRetryWait + if ddcs.QueryTimeout != nil { + objectMap["queryTimeout"] = ddcs.QueryTimeout } - if dcs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections + if ddcs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ddcs.SourceRetryCount } - if dcs.Type != "" { - objectMap["type"] = dcs.Type + if ddcs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ddcs.SourceRetryWait } - for k, v := range dcs.AdditionalProperties { + 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 DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return &ddcs, true } -// AsJiraSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsODataSource() (*ODataSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDb2Source() (*Db2Source, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsInformixSource() (*InformixSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return &dcs, true +// AsSybaseSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsSybaseSource() (*SybaseSource, bool) { + return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsBlobSource() (*BlobSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsBinarySource() (*BinarySource, bool) { +// AsInformixSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsParquetSource() (*ParquetSource, bool) { +// AsTabularSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsCopySource() (*CopySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for DynamicsCrmSource. -func (dcs DynamicsCrmSource) AsBasicCopySource() (BasicCopySource, bool) { - return &dcs, true +// AsBinarySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsBinarySource() (*BinarySource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsCrmSource struct. -func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { +// AsJSONSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// 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 { @@ -65475,7 +67037,25 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.Query = query + ddcs.Query = query + } + case "nestingSeparator": + if v != nil { + var nestingSeparator interface{} + err = json.Unmarshal(*v, &nestingSeparator) + if err != nil { + return err + } + ddcs.NestingSeparator = nestingSeparator + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ddcs.QueryTimeout = queryTimeout } default: if v != nil { @@ -65484,10 +67064,10 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if dcs.AdditionalProperties == nil { - dcs.AdditionalProperties = make(map[string]interface{}) + if ddcs.AdditionalProperties == nil { + ddcs.AdditionalProperties = make(map[string]interface{}) } - dcs.AdditionalProperties[k] = additionalProperties + ddcs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -65496,7 +67076,7 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.SourceRetryCount = sourceRetryCount + ddcs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -65505,7 +67085,7 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.SourceRetryWait = sourceRetryWait + ddcs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -65514,7 +67094,7 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.MaxConcurrentConnections = maxConcurrentConnections + ddcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -65523,7 +67103,7 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - dcs.Type = typeVar + ddcs.Type = typeVar } } } @@ -65531,469 +67111,529 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { return nil } -// DynamicsEntityDataset the Dynamics entity dataset. -type DynamicsEntityDataset struct { - // DynamicsEntityDatasetTypeProperties - Dynamics entity dataset properties. - *DynamicsEntityDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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. + *DrillLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 DynamicsEntityDataset. -func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { - ded.Type = TypeDynamicsEntity +// MarshalJSON is the custom marshaler for DrillLinkedService. +func (dls DrillLinkedService) MarshalJSON() ([]byte, error) { + dls.Type = TypeDrill 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 dls.DrillLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dls.DrillLinkedServiceTypeProperties } - if ded.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ded.LinkedServiceName + if dls.ConnectVia != nil { + objectMap["connectVia"] = dls.ConnectVia } - if ded.Parameters != nil { - objectMap["parameters"] = ded.Parameters + if dls.Description != nil { + objectMap["description"] = dls.Description } - if ded.Annotations != nil { - objectMap["annotations"] = ded.Annotations + if dls.Parameters != nil { + objectMap["parameters"] = dls.Parameters } - if ded.Folder != nil { - objectMap["folder"] = ded.Folder + if dls.Annotations != nil { + objectMap["annotations"] = dls.Annotations } - if ded.Type != "" { - objectMap["type"] = ded.Type + if dls.Type != "" { + objectMap["type"] = dls.Type } - for k, v := range ded.AdditionalProperties { + for k, v := range dls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return &dls, true +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return &ded, true +// AsInformixLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset. -func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) { - return &ded, true +// AsDynamicsLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for DynamicsEntityDataset struct. -func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// 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 { @@ -66003,12 +67643,12 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties - err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties) + var drillLinkedServiceTypeProperties DrillLinkedServiceTypeProperties + err = json.Unmarshal(*v, &drillLinkedServiceTypeProperties) if err != nil { return err } - ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties + dls.DrillLinkedServiceTypeProperties = &drillLinkedServiceTypeProperties } default: if v != nil { @@ -66017,46 +67657,28 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ded.AdditionalProperties == nil { - ded.AdditionalProperties = make(map[string]interface{}) - } - ded.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ded.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if dls.AdditionalProperties == nil { + dls.AdditionalProperties = make(map[string]interface{}) } - ded.Structure = structure + dls.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 } - ded.Schema = schema + dls.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 } - ded.LinkedServiceName = &linkedServiceName + dls.Description = &description } case "parameters": if v != nil { @@ -66065,7 +67687,7 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ded.Parameters = parameters + dls.Parameters = parameters } case "annotations": if v != nil { @@ -66074,25 +67696,16 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - ded.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - ded.Folder = &folder + dls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ded.Type = typeVar + dls.Type = typeVar } } } @@ -66100,520 +67713,504 @@ 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"` +// 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"` } -// DynamicsLinkedService dynamics linked service. -type DynamicsLinkedService struct { - // DynamicsLinkedServiceTypeProperties - Dynamics linked service properties. - *DynamicsLinkedServiceTypeProperties `json:"typeProperties,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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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 DrillSource. +func (ds DrillSource) MarshalJSON() ([]byte, error) { + ds.Type = TypeDrillSource objectMap := make(map[string]interface{}) - if dls.DynamicsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties + if ds.Query != nil { + objectMap["query"] = ds.Query } - if dls.ConnectVia != nil { - objectMap["connectVia"] = dls.ConnectVia + if ds.QueryTimeout != nil { + objectMap["queryTimeout"] = ds.QueryTimeout } - if dls.Description != nil { - objectMap["description"] = dls.Description + if ds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ds.SourceRetryCount } - if dls.Parameters != nil { - objectMap["parameters"] = dls.Parameters + if ds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ds.SourceRetryWait } - if dls.Annotations != nil { - objectMap["annotations"] = dls.Annotations + if ds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections } - if dls.Type != "" { - objectMap["type"] = dls.Type + if ds.Type != "" { + objectMap["type"] = ds.Type } - for k, v := range dls.AdditionalProperties { + for k, v := range ds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false -} - -// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false -} - -// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false +// AsDrillSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDrillSource() (*DrillSource, bool) { + return &ds, true } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsOdbcSource() (*OdbcSource, 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) { +// AsDb2Source is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ds, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBinarySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. -func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) 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 DrillSource. +func (ds DrillSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ds, true } -// UnmarshalJSON is the custom unmarshaler for DynamicsLinkedService struct. -func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -66621,188 +68218,71 @@ 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 + ds.Query = query } - default: + case "queryTimeout": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - if dls.AdditionalProperties == nil { - dls.AdditionalProperties = make(map[string]interface{}) - } - dls.AdditionalProperties[k] = additionalProperties + ds.QueryTimeout = queryTimeout } - 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 } - dls.ConnectVia = &connectVia + if ds.AdditionalProperties == nil { + ds.AdditionalProperties = make(map[string]interface{}) + } + 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 } - dls.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 } - dls.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 } - dls.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 } - 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 + ds.Type = typeVar } } } @@ -66810,769 +68290,504 @@ 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"` +// DrillTableDataset drill server dataset. +type DrillTableDataset struct { + // 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:""` - // 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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `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 DrillTableDataset. +func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { + dtd.Type = TypeDrillTable objectMap := make(map[string]interface{}) - if ds.WriteBehavior != nil { - objectMap["writeBehavior"] = ds.WriteBehavior + if dtd.DrillDatasetTypeProperties != nil { + objectMap["typeProperties"] = dtd.DrillDatasetTypeProperties } - if ds.IgnoreNullValues != nil { - objectMap["ignoreNullValues"] = ds.IgnoreNullValues + if dtd.Description != nil { + objectMap["description"] = dtd.Description } - if ds.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ds.WriteBatchSize + if dtd.Structure != nil { + objectMap["structure"] = dtd.Structure } - if ds.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout + if dtd.Schema != nil { + objectMap["schema"] = dtd.Schema } - if ds.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ds.SinkRetryCount + if dtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dtd.LinkedServiceName } - if ds.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ds.SinkRetryWait + if dtd.Parameters != nil { + objectMap["parameters"] = dtd.Parameters } - if ds.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections + if dtd.Annotations != nil { + objectMap["annotations"] = dtd.Annotations } - if ds.Type != "" { - objectMap["type"] = ds.Type + if dtd.Folder != nil { + objectMap["folder"] = dtd.Folder } - for k, v := range ds.AdditionalProperties { + if dtd.Type != "" { + objectMap["type"] = dtd.Type + } + for k, v := range dtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { - return nil, false -} - -// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { - return nil, false -} - -// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) { - return &ds, true -} - -// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { - return nil, false -} - -// AsInformixSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsInformixSink() (*InformixSink, bool) { - return nil, false -} - -// AsOdbcSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) { - return nil, false -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLMISink() (*SQLMISink, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsBinarySink() (*BinarySink, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsParquetSink() (*ParquetSink, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsCopySink() (*CopySink, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink. -func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ds, true -} - -// 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 { - return err - } - for k, v := range m { - switch k { - case "writeBehavior": - if v != nil { - var writeBehavior string - err = json.Unmarshal(*v, &writeBehavior) - if err != nil { - return err - } - 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 { - 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 "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err - } - ds.WriteBatchSize = writeBatchSize - } - case "writeBatchTimeout": - if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) - if err != nil { - return err - } - 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 { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - ds.MaxConcurrentConnections = maxConcurrentConnections - } - case "type": - if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ds.Type = typeVar - } - } - } - - 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"` - // 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 DynamicsSource. -func (ds DynamicsSource) MarshalJSON() ([]byte, error) { - ds.Type = TypeDynamicsSource - objectMap := make(map[string]interface{}) - if ds.Query != nil { - objectMap["query"] = ds.Query - } - if ds.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ds.SourceRetryCount - } - if ds.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ds.SourceRetryWait - } - 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 DynamicsSource. -func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) { - return nil, false +// AsDrillTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return &dtd, true } -// AsSparkSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsJiraSource() (*JiraSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHiveSource() (*HiveSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOffice365Source() (*Office365Source, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsWebSource() (*WebSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLMISource() (*SQLMISource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsCustomDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsRestSource() (*RestSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsJSONDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsODataSource() (*ODataSource, bool) { +// AsParquetDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsSybaseSource() (*SybaseSource, bool) { +// AsAvroDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMySQLSource() (*MySQLSource, bool) { +// AsDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsOdbcSource() (*OdbcSource, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &dtd, true } -// AsDb2Source is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDb2Source() (*Db2Source, bool) { - return nil, false -} - -// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - -// AsInformixSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsInformixSource() (*InformixSource, bool) { - return nil, false -} - -// AsRelationalSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) { - return &ds, true -} - -// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} - -// AsBlobSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) { - return nil, false -} - -// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsBinarySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsBinarySource() (*BinarySource, bool) { - return nil, false -} - -// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false -} - -// AsParquetSource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false -} - -// AsCopySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsCopySource() (*CopySource, bool) { - return nil, false -} - -// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource. -func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ds, true -} - -// UnmarshalJSON is the custom unmarshaler for DynamicsSource struct. -func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -67580,14 +68795,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 drillDatasetTypeProperties DrillDatasetTypeProperties + err = json.Unmarshal(*v, &drillDatasetTypeProperties) if err != nil { return err } - ds.Query = query + dtd.DrillDatasetTypeProperties = &drillDatasetTypeProperties } default: if v != nil { @@ -67596,46 +68811,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 "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 TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ds.Type = typeVar + dtd.Type = typeVar } } } @@ -67643,10 +68894,10 @@ 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"` +// 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. @@ -67657,500 +68908,505 @@ type EloquaLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 EloquaLinkedService. -func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { - els.Type = TypeEloqua +// MarshalJSON is the custom marshaler for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) MarshalJSON() ([]byte, error) { + dals.Type = TypeDynamicsAX objectMap := make(map[string]interface{}) - if els.EloquaLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties + if dals.DynamicsAXLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dals.DynamicsAXLinkedServiceTypeProperties } - if els.ConnectVia != nil { - objectMap["connectVia"] = els.ConnectVia + if dals.ConnectVia != nil { + objectMap["connectVia"] = dals.ConnectVia } - if els.Description != nil { - objectMap["description"] = els.Description + if dals.Description != nil { + objectMap["description"] = dals.Description } - if els.Parameters != nil { - objectMap["parameters"] = els.Parameters + if dals.Parameters != nil { + objectMap["parameters"] = dals.Parameters } - if els.Annotations != nil { - objectMap["annotations"] = els.Annotations + if dals.Annotations != nil { + objectMap["annotations"] = dals.Annotations } - if els.Type != "" { - objectMap["type"] = els.Type + if dals.Type != "" { + objectMap["type"] = dals.Type } - for k, v := range els.AdditionalProperties { + for k, v := range dals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return &dals, true +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return &els, true +// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService. -func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &els, true +// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsAXLinkedService. +func (dals DynamicsAXLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dals, true } -// UnmarshalJSON is the custom unmarshaler for EloquaLinkedService struct. -func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -68160,12 +69416,12 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties - err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties) + var dynamicsAXLinkedServiceTypeProperties DynamicsAXLinkedServiceTypeProperties + err = json.Unmarshal(*v, &dynamicsAXLinkedServiceTypeProperties) if err != nil { return err } - els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties + dals.DynamicsAXLinkedServiceTypeProperties = &dynamicsAXLinkedServiceTypeProperties } default: if v != nil { @@ -68174,10 +69430,10 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if els.AdditionalProperties == nil { - els.AdditionalProperties = make(map[string]interface{}) + if dals.AdditionalProperties == nil { + dals.AdditionalProperties = make(map[string]interface{}) } - els.AdditionalProperties[k] = additionalProperties + dals.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -68186,7 +69442,7 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - els.ConnectVia = &connectVia + dals.ConnectVia = &connectVia } case "description": if v != nil { @@ -68195,7 +69451,7 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - els.Description = &description + dals.Description = &description } case "parameters": if v != nil { @@ -68204,7 +69460,7 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - els.Parameters = parameters + dals.Parameters = parameters } case "annotations": if v != nil { @@ -68213,7 +69469,7 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - els.Annotations = &annotations + dals.Annotations = &annotations } case "type": if v != nil { @@ -68222,7 +69478,7 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - els.Type = typeVar + dals.Type = typeVar } } } @@ -68230,26 +69486,24 @@ 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"` +// 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 EloquaLinkedServiceTypeProperties struct. -func (elstp *EloquaLinkedServiceTypeProperties) 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 { @@ -68257,58 +69511,49 @@ 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": + case "url": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var URL interface{} + err = json.Unmarshal(*v, &URL) if err != nil { return err } - elstp.Username = username + dalstp.URL = URL } - case "password": + case "servicePrincipalId": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - elstp.Password = password + dalstp.ServicePrincipalID = servicePrincipalID } - case "useEncryptedEndpoints": + case "servicePrincipalKey": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - elstp.UseEncryptedEndpoints = useEncryptedEndpoints + dalstp.ServicePrincipalKey = servicePrincipalKey } - case "useHostVerification": + case "tenant": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var tenant interface{} + err = json.Unmarshal(*v, &tenant) if err != nil { return err } - elstp.UseHostVerification = useHostVerification + dalstp.Tenant = tenant } - case "usePeerVerification": + case "aadResourceId": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var aadResourceID interface{} + err = json.Unmarshal(*v, &aadResourceID) if err != nil { return err } - elstp.UsePeerVerification = usePeerVerification + dalstp.AadResourceID = aadResourceID } case "encryptedCredential": if v != nil { @@ -68317,7 +69562,7 @@ func (elstp *EloquaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - elstp.EncryptedCredential = encryptedCredential + dalstp.EncryptedCredential = encryptedCredential } } } @@ -68325,10 +69570,10 @@ 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"` +// 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. @@ -68345,449 +69590,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for EloquaObjectDataset. -func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { - eod.Type = TypeEloquaObject +// MarshalJSON is the custom marshaler for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) MarshalJSON() ([]byte, error) { + dard.Type = TypeDynamicsAXResource objectMap := make(map[string]interface{}) - if eod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = eod.GenericDatasetTypeProperties + if dard.DynamicsAXResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = dard.DynamicsAXResourceDatasetTypeProperties } - if eod.Description != nil { - objectMap["description"] = eod.Description + if dard.Description != nil { + objectMap["description"] = dard.Description } - if eod.Structure != nil { - objectMap["structure"] = eod.Structure + if dard.Structure != nil { + objectMap["structure"] = dard.Structure } - if eod.Schema != nil { - objectMap["schema"] = eod.Schema + if dard.Schema != nil { + objectMap["schema"] = dard.Schema } - if eod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = eod.LinkedServiceName + if dard.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dard.LinkedServiceName } - if eod.Parameters != nil { - objectMap["parameters"] = eod.Parameters + if dard.Parameters != nil { + objectMap["parameters"] = dard.Parameters } - if eod.Annotations != nil { - objectMap["annotations"] = eod.Annotations + if dard.Annotations != nil { + objectMap["annotations"] = dard.Annotations } - if eod.Folder != nil { - objectMap["folder"] = eod.Folder + if dard.Folder != nil { + objectMap["folder"] = dard.Folder } - if eod.Type != "" { - objectMap["type"] = eod.Type + if dard.Type != "" { + objectMap["type"] = dard.Type } - for k, v := range eod.AdditionalProperties { + for k, v := range dard.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, 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 EloquaObjectDataset. -func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { - return &eod, true +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset. -func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &eod, true +// AsBinaryDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for EloquaObjectDataset struct. -func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { +// AsJSONDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for DynamicsAXResourceDataset. +func (dard DynamicsAXResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &dard, true +} + +// 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 { @@ -68797,12 +70077,12 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var dynamicsAXResourceDatasetTypeProperties DynamicsAXResourceDatasetTypeProperties + err = json.Unmarshal(*v, &dynamicsAXResourceDatasetTypeProperties) if err != nil { return err } - eod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + dard.DynamicsAXResourceDatasetTypeProperties = &dynamicsAXResourceDatasetTypeProperties } default: if v != nil { @@ -68811,10 +70091,10 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if eod.AdditionalProperties == nil { - eod.AdditionalProperties = make(map[string]interface{}) + if dard.AdditionalProperties == nil { + dard.AdditionalProperties = make(map[string]interface{}) } - eod.AdditionalProperties[k] = additionalProperties + dard.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -68823,7 +70103,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Description = &description + dard.Description = &description } case "structure": if v != nil { @@ -68832,7 +70112,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Structure = structure + dard.Structure = structure } case "schema": if v != nil { @@ -68841,7 +70121,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Schema = schema + dard.Schema = schema } case "linkedServiceName": if v != nil { @@ -68850,7 +70130,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.LinkedServiceName = &linkedServiceName + dard.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -68859,7 +70139,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Parameters = parameters + dard.Parameters = parameters } case "annotations": if v != nil { @@ -68868,7 +70148,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Annotations = &annotations + dard.Annotations = &annotations } case "folder": if v != nil { @@ -68877,7 +70157,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Folder = &folder + dard.Folder = &folder } case "type": if v != nil { @@ -68886,7 +70166,7 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - eod.Type = typeVar + dard.Type = typeVar } } } @@ -68894,10 +70174,18 @@ func (eod *EloquaObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// EloquaSource a copy activity Eloqua server source. -type EloquaSource struct { +// 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"` + // 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"` // 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). @@ -68906,447 +70194,480 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `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 DynamicsAXSource. +func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { + das.Type = TypeDynamicsAXSource objectMap := make(map[string]interface{}) - if es.Query != nil { - objectMap["query"] = es.Query + if das.Query != nil { + objectMap["query"] = das.Query } - if es.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = es.SourceRetryCount + if das.QueryTimeout != nil { + objectMap["queryTimeout"] = das.QueryTimeout } - if es.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = es.SourceRetryWait + if das.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = das.SourceRetryCount } - if es.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections + if das.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = das.SourceRetryWait } - if es.Type != "" { - objectMap["type"] = es.Type + if das.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = das.MaxConcurrentConnections } - for k, v := range es.AdditionalProperties { + if das.Type != "" { + objectMap["type"] = das.Type + } + for k, v := range das.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) { +// 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 } -// AsGreenplumSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsVerticaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) { - return &es, true +// AsNetezzaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// AsDrillSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDrillSource() (*DrillSource, bool) { +// AsZohoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsXeroSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) { +// AsSquareSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSparkSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsShopifySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOffice365Source() (*Office365Source, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPaypalSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMarketoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsWebSource() (*WebSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsTeradataSource() (*TeradataSource, bool) { +// AsJiraSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOracleSource() (*OracleSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHiveSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLMISource() (*SQLMISource, bool) { +// AsEloquaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsDrillSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSQLSource() (*SQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsRestSource() (*RestSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsODataSource() (*ODataSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDb2Source() (*Db2Source, bool) { +// AsSapEccSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsInformixSource() (*InformixSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsBlobSource() (*BlobSource, bool) { +// AsDb2Source is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsTabularSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &das, true +} + +// AsBinarySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsCopySource() (*CopySource, bool) { +// AsJSONSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for EloquaSource. -func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) { - return &es, true +// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for EloquaSource struct. -func (es *EloquaSource) UnmarshalJSON(body []byte) error { +// AsParquetSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for DynamicsAXSource. +func (das DynamicsAXSource) AsCopySource() (*CopySource, 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 { @@ -69361,7 +70682,16 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - es.Query = query + das.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + das.QueryTimeout = queryTimeout } default: if v != nil { @@ -69370,10 +70700,10 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if es.AdditionalProperties == nil { - es.AdditionalProperties = make(map[string]interface{}) + if das.AdditionalProperties == nil { + das.AdditionalProperties = make(map[string]interface{}) } - es.AdditionalProperties[k] = additionalProperties + das.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -69382,7 +70712,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - es.SourceRetryCount = sourceRetryCount + das.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -69391,7 +70721,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - es.SourceRetryWait = sourceRetryWait + das.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -69400,7 +70730,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - es.MaxConcurrentConnections = maxConcurrentConnections + das.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -69409,7 +70739,7 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - es.Type = typeVar + das.Type = typeVar } } } @@ -69417,594 +70747,504 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { 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"` -} - -// ExecutePipelineActivity execute pipeline activity. -type ExecutePipelineActivity struct { - // ExecutePipelineActivityTypeProperties - Execute pipeline activity properties. - *ExecutePipelineActivityTypeProperties `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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { - epa.Type = TypeExecutePipeline +// MarshalJSON is the custom marshaler for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) MarshalJSON() ([]byte, error) { + dced.Type = TypeDynamicsCrmEntity objectMap := make(map[string]interface{}) - if epa.ExecutePipelineActivityTypeProperties != nil { - objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties + if dced.DynamicsCrmEntityDatasetTypeProperties != nil { + objectMap["typeProperties"] = dced.DynamicsCrmEntityDatasetTypeProperties } - if epa.Name != nil { - objectMap["name"] = epa.Name + if dced.Description != nil { + objectMap["description"] = dced.Description } - if epa.Description != nil { - objectMap["description"] = epa.Description + if dced.Structure != nil { + objectMap["structure"] = dced.Structure } - if epa.DependsOn != nil { - objectMap["dependsOn"] = epa.DependsOn + if dced.Schema != nil { + objectMap["schema"] = dced.Schema } - if epa.UserProperties != nil { - objectMap["userProperties"] = epa.UserProperties + if dced.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dced.LinkedServiceName } - if epa.Type != "" { - objectMap["type"] = epa.Type + if dced.Parameters != nil { + objectMap["parameters"] = dced.Parameters } - for k, v := range epa.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) } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { - return &epa, true -} - -// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &epa, true +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity. -func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) { - return &epa, true +// AsHTTPDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false } -// 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 +// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// 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"` +// AsWebTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false } -// 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) +// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -// 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', '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"` +// AsRestResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false } -// 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) +// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { - return &espa, true +// AsDb2TableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsOracleTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &espa, true +// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsFileShareDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { - return nil, false +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { + return &dced, true } -// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsCustomDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. -func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) { - return &espa, true +// AsAzureTableDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecuteSSISPackageActivity struct. -func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { +// AsAzureBlobDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsBinaryDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { + return nil, false +} + +// AsJSONDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + +// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for DynamicsCrmEntityDataset. +func (dced DynamicsCrmEntityDataset) AsBasicDataset() (BasicDataset, bool) { + return &dced, true +} + +// 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 { @@ -70014,87 +71254,96 @@ func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties - err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties) + var dynamicsCrmEntityDatasetTypeProperties DynamicsCrmEntityDatasetTypeProperties + err = json.Unmarshal(*v, &dynamicsCrmEntityDatasetTypeProperties) if err != nil { return err } - espa.ExecuteSSISPackageActivityTypeProperties = &executeSSISPackageActivityTypeProperties + dced.DynamicsCrmEntityDatasetTypeProperties = &dynamicsCrmEntityDatasetTypeProperties } - 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 } - espa.LinkedServiceName = &linkedServiceName + if dced.AdditionalProperties == nil { + dced.AdditionalProperties = make(map[string]interface{}) + } + dced.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 } - espa.Policy = &policy + dced.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 espa.AdditionalProperties == nil { - espa.AdditionalProperties = make(map[string]interface{}) + dced.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err } - espa.AdditionalProperties[k] = additionalProperties + dced.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 } - espa.Name = &name + dced.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 } - espa.Description = &description + dced.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 } - espa.DependsOn = &dependsOn + dced.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 } - espa.UserProperties = &userProperties + dced.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - espa.Type = typeVar + dced.Type = typeVar } } } @@ -70102,457 +71351,525 @@ func (espa *ExecuteSSISPackageActivity) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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"` +} + +// 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:""` // 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"` + // 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', 'TypeAzureMariaDB', '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 ExecuteSSISPackageActivityTypeProperties. -func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) MarshalJSON() ([]byte, error) { + dcls.Type = TypeDynamicsCrm 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 dcls.DynamicsCrmLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dcls.DynamicsCrmLinkedServiceTypeProperties } - if espatp.ProjectParameters != nil { - objectMap["projectParameters"] = espatp.ProjectParameters + if dcls.ConnectVia != nil { + objectMap["connectVia"] = dcls.ConnectVia } - if espatp.PackageParameters != nil { - objectMap["packageParameters"] = espatp.PackageParameters + if dcls.Description != nil { + objectMap["description"] = dcls.Description } - if espatp.ProjectConnectionManagers != nil { - objectMap["projectConnectionManagers"] = espatp.ProjectConnectionManagers + if dcls.Parameters != nil { + objectMap["parameters"] = dcls.Parameters } - if espatp.PackageConnectionManagers != nil { - objectMap["packageConnectionManagers"] = espatp.PackageConnectionManagers + if dcls.Annotations != nil { + objectMap["annotations"] = dcls.Annotations } - if espatp.PropertyOverrides != nil { - objectMap["propertyOverrides"] = espatp.PropertyOverrides + if dcls.Type != "" { + objectMap["type"] = dcls.Type } - if espatp.LogLocation != nil { - objectMap["logLocation"] = espatp.LogLocation + for k, v := range dcls.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// 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) - AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, 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) +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, 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', '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"` +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, 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 - } +// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, 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(TypeAzureDataExplorerCommand): - var adeca AzureDataExplorerCommandActivity - err := json.Unmarshal(body, &adeca) - return adeca, 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 - } +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, 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)) +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, 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 +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, 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) +// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return &ea, true +// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ea, true +// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsActivity() (*Activity, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ExecutionActivity. -func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) { - return &ea, true +// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ExecutionActivity struct. -func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { +// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { + return nil, false +} + +// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { + return nil, false +} + +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { + return &dcls, true +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsCrmLinkedService. +func (dcls DynamicsCrmLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dcls, true +} + +// 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 { @@ -70560,23 +71877,14 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { } 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": + case "typeProperties": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var dynamicsCrmLinkedServiceTypeProperties DynamicsCrmLinkedServiceTypeProperties + err = json.Unmarshal(*v, &dynamicsCrmLinkedServiceTypeProperties) if err != nil { return err } - ea.Policy = &policy + dcls.DynamicsCrmLinkedServiceTypeProperties = &dynamicsCrmLinkedServiceTypeProperties } default: if v != nil { @@ -70585,19 +71893,19 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ea.AdditionalProperties == nil { - ea.AdditionalProperties = make(map[string]interface{}) + if dcls.AdditionalProperties == nil { + dcls.AdditionalProperties = make(map[string]interface{}) } - ea.AdditionalProperties[k] = additionalProperties + dcls.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 } - ea.Name = &name + dcls.ConnectVia = &connectVia } case "description": if v != nil { @@ -70606,34 +71914,34 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - ea.Description = &description + dcls.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 } - ea.DependsOn = &dependsOn + dcls.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 } - ea.UserProperties = &userProperties + dcls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ea.Type = typeVar + dcls.Type = typeVar } } } @@ -70641,77 +71949,30 @@ func (ea *ExecutionActivity) UnmarshalJSON(body []byte) error { return nil } -// 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"` -} - -// 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"` -} - -// 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"` -} - -// 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"` -} - -// 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) +// 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 Factory struct. -func (f *Factory) 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 { @@ -70719,89 +71980,85 @@ func (f *Factory) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: + case "deploymentType": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var deploymentType DynamicsDeploymentType + err = json.Unmarshal(*v, &deploymentType) if err != nil { return err } - if f.AdditionalProperties == nil { - f.AdditionalProperties = make(map[string]interface{}) - } - f.AdditionalProperties[k] = additionalProperties + dclstp.DeploymentType = deploymentType } - case "identity": + case "hostName": if v != nil { - var identity FactoryIdentity - err = json.Unmarshal(*v, &identity) + var hostName interface{} + err = json.Unmarshal(*v, &hostName) if err != nil { return err } - f.Identity = &identity + dclstp.HostName = hostName } - case "properties": + case "port": if v != nil { - var factoryProperties FactoryProperties - err = json.Unmarshal(*v, &factoryProperties) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - f.FactoryProperties = &factoryProperties + dclstp.Port = port } - case "id": + case "serviceUri": if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) + var serviceURI interface{} + err = json.Unmarshal(*v, &serviceURI) if err != nil { return err } - f.ID = &ID + dclstp.ServiceURI = serviceURI } - case "name": + case "organizationName": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var organizationName interface{} + err = json.Unmarshal(*v, &organizationName) if err != nil { return err } - f.Name = &name + dclstp.OrganizationName = organizationName } - case "type": + case "authenticationType": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var authenticationType DynamicsAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - f.Type = &typeVar + dclstp.AuthenticationType = authenticationType } - case "location": + case "username": if v != nil { - var location string - err = json.Unmarshal(*v, &location) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - f.Location = &location + dclstp.Username = username } - case "tags": + case "password": if v != nil { - var tags map[string]*string - err = json.Unmarshal(*v, &tags) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - f.Tags = tags + dclstp.Password = password } - case "eTag": + case "encryptedCredential": if v != nil { - var eTag string - err = json.Unmarshal(*v, &eTag) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - f.ETag = &eTag + dclstp.EncryptedCredential = encryptedCredential } } } @@ -70809,409 +72066,234 @@ 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"` +// 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:""` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) { - fghc.Type = TypeFactoryGitHubConfiguration +// MarshalJSON is the custom marshaler for DynamicsCrmSink. +func (dcs DynamicsCrmSink) MarshalJSON() ([]byte, error) { + dcs.Type = TypeDynamicsCrmSink objectMap := make(map[string]interface{}) - if fghc.HostName != nil { - objectMap["hostName"] = fghc.HostName + if dcs.WriteBehavior != nil { + objectMap["writeBehavior"] = dcs.WriteBehavior } - if fghc.AccountName != nil { - objectMap["accountName"] = fghc.AccountName + if dcs.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = dcs.IgnoreNullValues } - if fghc.RepositoryName != nil { - objectMap["repositoryName"] = fghc.RepositoryName + if dcs.WriteBatchSize != nil { + objectMap["writeBatchSize"] = dcs.WriteBatchSize } - if fghc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = fghc.CollaborationBranch + if dcs.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = dcs.WriteBatchTimeout } - if fghc.RootFolder != nil { - objectMap["rootFolder"] = fghc.RootFolder + if dcs.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = dcs.SinkRetryCount } - if fghc.LastCommitID != nil { - objectMap["lastCommitId"] = fghc.LastCommitID + if dcs.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = dcs.SinkRetryWait } - if fghc.Type != "" { - objectMap["type"] = fghc.Type + if dcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections + } + if dcs.Type != "" { + objectMap["type"] = dcs.Type + } + for k, v := range dcs.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { - return &fghc, true +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { + return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. -func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &fghc, true +// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, 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"` +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, 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"` +// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { + return &dcs, true } -// FactoryListResponseIterator provides access to a complete listing of Factory values. -type FactoryListResponseIterator struct { - i int - page FactoryListResponsePage +// AsDynamicsSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDynamicsSink() (*DynamicsSink, 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 +// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, 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()) +// AsInformixSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsInformixSink() (*InformixSink, 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()) +// AsOdbcSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsOdbcSink() (*OdbcSink, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter FactoryListResponseIterator) Response() FactoryListResponse { - return iter.page.Response() +// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, 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] +// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false } -// Creates a new instance of the FactoryListResponseIterator type. -func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator { - return FactoryListResponseIterator{page: page} +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, 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 +// AsOracleSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsOracleSink() (*OracleSink, 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))) +// AsSQLDWSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false } -// FactoryListResponsePage contains a page of Factory values. -type FactoryListResponsePage struct { - fn func(context.Context, FactoryListResponse) (FactoryListResponse, error) - flr FactoryListResponse +// AsSQLMISink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLMISink() (*SQLMISink, 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 +// AsAzureSQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureSQLSink() (*AzureSQLSink, 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()) +// AsSQLServerSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLServerSink() (*SQLServerSink, 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() +// AsSQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSQLSink() (*SQLSink, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page FactoryListResponsePage) Response() FactoryListResponse { - return page.flr +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, 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 +// AsFileSystemSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsFileSystemSink() (*FileSystemSink, 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} +// AsBlobSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsBlobSink() (*BlobSink, 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"` +// AsBinarySink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsBinarySink() (*BinarySink, 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 +// AsParquetSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsParquetSink() (*ParquetSink, bool) { + return nil, false } -// BasicFactoryRepoConfiguration factory's git repo information. -type BasicFactoryRepoConfiguration interface { - AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) - AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) - AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) +// AsAvroSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAvroSink() (*AvroSink, 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"` +// AsAzureTableSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureTableSink() (*AzureTableSink, 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 - } +// AsAzureQueueSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureQueueSink() (*AzureQueueSink, 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)) - for index, rawMessage := range rawMessages { - frc, err := unmarshalBasicFactoryRepoConfiguration(*rawMessage) - if err != nil { - return nil, err - } - frcArray[index] = frc - } - return frcArray, nil +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, 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) +// AsAzureMySQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { +// AsJSONSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { - return &frc, true +// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. -func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &frc, true +// AsCopySink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsCopySink() (*CopySink, 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"` +// AsBasicCopySink is the BasicCopySink implementation for DynamicsCrmSink. +func (dcs DynamicsCrmSink) AsBasicCopySink() (BasicCopySink, bool) { + return &dcs, true } -// UnmarshalJSON is the custom unmarshaler for FactoryRepoUpdate struct. -func (fru *FactoryRepoUpdate) 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 { @@ -71219,22 +72301,89 @@ func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "factoryResourceId": + case "writeBehavior": if v != nil { - var factoryResourceID string - err = json.Unmarshal(*v, &factoryResourceID) + var writeBehavior string + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - fru.FactoryResourceID = &factoryResourceID + dcs.WriteBehavior = &writeBehavior } - case "repoConfiguration": + case "ignoreNullValues": if v != nil { - repoConfiguration, err := unmarshalBasicFactoryRepoConfiguration(*v) + var ignoreNullValues interface{} + err = json.Unmarshal(*v, &ignoreNullValues) if err != nil { return err } - fru.RepoConfiguration = repoConfiguration + dcs.IgnoreNullValues = ignoreNullValues + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dcs.AdditionalProperties == nil { + dcs.AdditionalProperties = make(map[string]interface{}) + } + dcs.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + dcs.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + dcs.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + dcs.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + dcs.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + dcs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dcs.Type = typeVar } } } @@ -71242,698 +72391,489 @@ func (fru *FactoryRepoUpdate) UnmarshalJSON(body []byte) error { 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"` +// 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:""` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) MarshalJSON() ([]byte, error) { - fvc.Type = TypeFactoryVSTSConfiguration +// MarshalJSON is the custom marshaler for DynamicsCrmSource. +func (dcs DynamicsCrmSource) MarshalJSON() ([]byte, error) { + dcs.Type = TypeDynamicsCrmSource 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 dcs.Query != nil { + objectMap["query"] = dcs.Query } - if fvc.RepositoryName != nil { - objectMap["repositoryName"] = fvc.RepositoryName + if dcs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = dcs.SourceRetryCount } - if fvc.CollaborationBranch != nil { - objectMap["collaborationBranch"] = fvc.CollaborationBranch + if dcs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = dcs.SourceRetryWait } - if fvc.RootFolder != nil { - objectMap["rootFolder"] = fvc.RootFolder + if dcs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = dcs.MaxConcurrentConnections } - if fvc.LastCommitID != nil { - objectMap["lastCommitId"] = fvc.LastCommitID + if dcs.Type != "" { + objectMap["type"] = dcs.Type } - if fvc.Type != "" { - objectMap["type"] = fvc.Type + for k, v := range dcs.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { - return &fvc, true +// AsHTTPSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false } -// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. -func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { - return &fvc, true +// AsOffice365Source is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOffice365Source() (*Office365Source, 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', '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"` +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, 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) +// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { - return nil, false +// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return &dcs, true } -// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return &fsls, true +// AsBinarySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBinarySource() (*BinarySource, bool) { + return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsJSONSource() (*JSONSource, 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) { +// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. -func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsCopySource() (*CopySource, 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 { - 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 - } - } - } - - return nil -} - -// 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"` +// AsBasicCopySource is the BasicCopySource implementation for DynamicsCrmSource. +func (dcs DynamicsCrmSource) AsBasicCopySource() (BasicCopySource, bool) { + return &dcs, true } -// UnmarshalJSON is the custom unmarshaler for FileServerLinkedServiceTypeProperties struct. -func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -71941,86 +72881,15 @@ func (fslstp *FileServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } 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": + case "query": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - fslstp.EncryptedCredential = encryptedCredential + dcs.Query = query } - } - } - - return nil -} - -// 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"` -} - -// 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) -} - -// 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{} @@ -72028,182 +72897,28 @@ func (fsl *FileServerLocation) UnmarshalJSON(body []byte) error { 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 - } - } - } - - return nil -} - -// 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"` -} - -// 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) -} - -// 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 { - 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 - } - fsrs.Recursive = recursive - } - case "wildcardFolderPath": - if v != nil { - var wildcardFolderPath interface{} - err = json.Unmarshal(*v, &wildcardFolderPath) - 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 - } - fsrs.WildcardFileName = wildcardFileName - } - case "enablePartitionDiscovery": - if v != nil { - var enablePartitionDiscovery bool - err = json.Unmarshal(*v, &enablePartitionDiscovery) - if err != nil { - return err - } - fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery - } - case "modifiedDatetimeStart": - if v != nil { - var modifiedDatetimeStart interface{} - err = json.Unmarshal(*v, &modifiedDatetimeStart) - if err != nil { - return err - } - fsrs.ModifiedDatetimeStart = modifiedDatetimeStart - } - case "modifiedDatetimeEnd": - if v != nil { - var modifiedDatetimeEnd interface{} - err = json.Unmarshal(*v, &modifiedDatetimeEnd) - if err != nil { - return err + if dcs.AdditionalProperties == nil { + dcs.AdditionalProperties = make(map[string]interface{}) } - fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + dcs.AdditionalProperties[k] = additionalProperties } - default: + case "sourceRetryCount": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - if fsrs.AdditionalProperties == nil { - fsrs.AdditionalProperties = make(map[string]interface{}) - } - fsrs.AdditionalProperties[k] = additionalProperties + dcs.SourceRetryCount = sourceRetryCount } - case "type": + case "sourceRetryWait": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - fsrs.Type = &typeVar + dcs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -72212,91 +72927,16 @@ func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { 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{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if fsws.AdditionalProperties == nil { - fsws.AdditionalProperties = make(map[string]interface{}) - } - fsws.AdditionalProperties[k] = additionalProperties + dcs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar string + var typeVar TypeBasicCopySource 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 + dcs.Type = typeVar } } } @@ -72304,10 +72944,10 @@ 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"` +// 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. @@ -72324,449 +72964,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `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 DynamicsEntityDataset. +func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { + ded.Type = TypeDynamicsEntity objectMap := make(map[string]interface{}) - if fsd.FileShareDatasetTypeProperties != nil { - objectMap["typeProperties"] = fsd.FileShareDatasetTypeProperties + if ded.DynamicsEntityDatasetTypeProperties != nil { + objectMap["typeProperties"] = ded.DynamicsEntityDatasetTypeProperties } - if fsd.Description != nil { - objectMap["description"] = fsd.Description + if ded.Description != nil { + objectMap["description"] = ded.Description } - if fsd.Structure != nil { - objectMap["structure"] = fsd.Structure + if ded.Structure != nil { + objectMap["structure"] = ded.Structure } - if fsd.Schema != nil { - objectMap["schema"] = fsd.Schema + if ded.Schema != nil { + objectMap["schema"] = ded.Schema } - if fsd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = fsd.LinkedServiceName + if ded.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ded.LinkedServiceName } - if fsd.Parameters != nil { - objectMap["parameters"] = fsd.Parameters + if ded.Parameters != nil { + objectMap["parameters"] = ded.Parameters } - if fsd.Annotations != nil { - objectMap["annotations"] = fsd.Annotations + if ded.Annotations != nil { + objectMap["annotations"] = ded.Annotations } - if fsd.Folder != nil { - objectMap["folder"] = fsd.Folder + if ded.Folder != nil { + objectMap["folder"] = ded.Folder } - if fsd.Type != "" { - objectMap["type"] = fsd.Type + if ded.Type != "" { + objectMap["type"] = ded.Type } - for k, v := range fsd.AdditionalProperties { + for k, v := range ded.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return &fsd, true +// AsOracleTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// 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) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for FileShareDataset. -func (fsd FileShareDataset) AsBasicDataset() (BasicDataset, bool) { - return &fsd, true +// AsJSONDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FileShareDataset struct. -func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { +// AsDelimitedTextDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsBasicDataset() (BasicDataset, bool) { + return &ded, true +} + +// 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 { @@ -72776,12 +73451,12 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var fileShareDatasetTypeProperties FileShareDatasetTypeProperties - err = json.Unmarshal(*v, &fileShareDatasetTypeProperties) + var dynamicsEntityDatasetTypeProperties DynamicsEntityDatasetTypeProperties + err = json.Unmarshal(*v, &dynamicsEntityDatasetTypeProperties) if err != nil { return err } - fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties + ded.DynamicsEntityDatasetTypeProperties = &dynamicsEntityDatasetTypeProperties } default: if v != nil { @@ -72790,10 +73465,10 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsd.AdditionalProperties == nil { - fsd.AdditionalProperties = make(map[string]interface{}) + if ded.AdditionalProperties == nil { + ded.AdditionalProperties = make(map[string]interface{}) } - fsd.AdditionalProperties[k] = additionalProperties + ded.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -72802,7 +73477,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Description = &description + ded.Description = &description } case "structure": if v != nil { @@ -72811,7 +73486,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Structure = structure + ded.Structure = structure } case "schema": if v != nil { @@ -72820,7 +73495,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Schema = schema + ded.Schema = schema } case "linkedServiceName": if v != nil { @@ -72829,7 +73504,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.LinkedServiceName = &linkedServiceName + ded.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -72838,7 +73513,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Parameters = parameters + ded.Parameters = parameters } case "annotations": if v != nil { @@ -72847,7 +73522,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Annotations = &annotations + ded.Annotations = &annotations } case "folder": if v != nil { @@ -72856,7 +73531,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Folder = &folder + ded.Folder = &folder } case "type": if v != nil { @@ -72865,7 +73540,7 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsd.Type = typeVar + ded.Type = typeVar } } } @@ -72873,849 +73548,525 @@ 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"` +// 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"` } -// 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 +// 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:""` + // 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', 'TypeAzureMariaDB', '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 DynamicsLinkedService. +func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) { + dls.Type = TypeDynamics + objectMap := make(map[string]interface{}) + if dls.DynamicsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = dls.DynamicsLinkedServiceTypeProperties } - 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:""` - // 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 FileSystemSink. -func (fss FileSystemSink) MarshalJSON() ([]byte, error) { - fss.Type = TypeFileSystemSink - objectMap := make(map[string]interface{}) - if fss.CopyBehavior != nil { - objectMap["copyBehavior"] = fss.CopyBehavior - } - if fss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = fss.WriteBatchSize - } - if fss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout + if dls.ConnectVia != nil { + objectMap["connectVia"] = dls.ConnectVia } - if fss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = fss.SinkRetryCount + if dls.Description != nil { + objectMap["description"] = dls.Description } - if fss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = fss.SinkRetryWait + if dls.Parameters != nil { + objectMap["parameters"] = dls.Parameters } - if fss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections + if dls.Annotations != nil { + objectMap["annotations"] = dls.Annotations } - if fss.Type != "" { - objectMap["type"] = fss.Type + if dls.Type != "" { + objectMap["type"] = dls.Type } - for k, v := range fss.AdditionalProperties { + for k, v := range dls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, 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 -} - -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { - return nil, false -} - -// AsDynamicsCrmSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) { - return nil, false -} - -// AsMicrosoftAccessSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { - return nil, false -} - -// AsInformixSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsInformixSink() (*InformixSink, 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) { - return nil, false -} - -// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) { - return nil, false -} - -// AsSQLMISink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLMISink() (*SQLMISink, bool) { - return nil, false -} - -// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) { - return nil, false -} - -// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, 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) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsBinarySink() (*BinarySink, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for FileSystemSink. -func (fss FileSystemSink) AsCopySink() (*CopySink, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, 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', '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 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) { +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsWebSource() (*WebSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, 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) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLMISource() (*SQLMISource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsRestSource() (*RestSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMySQLSource() (*MySQLSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsOdbcSource() (*OdbcSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDb2Source() (*Db2Source, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsInformixSource() (*InformixSource, bool) { - return nil, false +// AsDynamicsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return &dls, true } -// AsRelationalSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource. -func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { - return &fss, true +// AsBasicLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &dls, true } -// UnmarshalJSON is the custom unmarshaler for FileSystemSource struct. -func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -73723,14 +74074,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) + var dynamicsLinkedServiceTypeProperties DynamicsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &dynamicsLinkedServiceTypeProperties) if err != nil { return err } - fss.Recursive = recursive + dls.DynamicsLinkedServiceTypeProperties = &dynamicsLinkedServiceTypeProperties } default: if v != nil { @@ -73739,46 +74090,55 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fss.AdditionalProperties == nil { - fss.AdditionalProperties = make(map[string]interface{}) + if dls.AdditionalProperties == nil { + dls.AdditionalProperties = make(map[string]interface{}) } - fss.AdditionalProperties[k] = additionalProperties + dls.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 } - fss.SourceRetryCount = sourceRetryCount + dls.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 } - fss.SourceRetryWait = sourceRetryWait + dls.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 } - fss.MaxConcurrentConnections = maxConcurrentConnections + dls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + dls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fss.Type = typeVar + dls.Type = typeVar } } } @@ -73786,239 +74146,351 @@ 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"` +// 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 + } + } + } + + 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"` // 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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `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 DynamicsSink. +func (ds DynamicsSink) MarshalJSON() ([]byte, error) { + ds.Type = TypeDynamicsSink objectMap := make(map[string]interface{}) - if fa.FilterActivityTypeProperties != nil { - objectMap["typeProperties"] = fa.FilterActivityTypeProperties + if ds.WriteBehavior != nil { + objectMap["writeBehavior"] = ds.WriteBehavior } - if fa.Name != nil { - objectMap["name"] = fa.Name + if ds.IgnoreNullValues != nil { + objectMap["ignoreNullValues"] = ds.IgnoreNullValues } - if fa.Description != nil { - objectMap["description"] = fa.Description + if ds.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ds.WriteBatchSize } - if fa.DependsOn != nil { - objectMap["dependsOn"] = fa.DependsOn + if ds.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ds.WriteBatchTimeout } - if fa.UserProperties != nil { - objectMap["userProperties"] = fa.UserProperties + if ds.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ds.SinkRetryCount } - if fa.Type != "" { - objectMap["type"] = fa.Type + if ds.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ds.SinkRetryWait } - for k, v := range fa.AdditionalProperties { + 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) } -// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSalesforceSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { - return nil, false +// AsDynamicsSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDynamicsSink() (*DynamicsSink, bool) { + return &ds, true } -// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { +// AsInformixSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsOdbcSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsOracleSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsSQLDWSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSQLMISink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSQLServerSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsSQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsFileSystemSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsBlobSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsBinarySink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsParquetSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAvroSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsAzureTableSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureTableSink() (*AzureTableSink, 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 FilterActivity. -func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) { - return nil, false -} - -// AsUntilActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsJSONSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsDelimitedTextSink() (*DelimitedTextSink, 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 FilterActivity. -func (fa FilterActivity) AsActivity() (*Activity, bool) { +// AsCopySink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for FilterActivity. -func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { - return &fa, true +// AsBasicCopySink is the BasicCopySink implementation for DynamicsSink. +func (ds DynamicsSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ds, true } -// UnmarshalJSON is the custom unmarshaler for FilterActivity struct. -func (fa *FilterActivity) 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 { @@ -74026,14 +74498,23 @@ func (fa *FilterActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "writeBehavior": if v != nil { - var filterActivityTypeProperties FilterActivityTypeProperties - err = json.Unmarshal(*v, &filterActivityTypeProperties) + var writeBehavior string + err = json.Unmarshal(*v, &writeBehavior) if err != nil { return err } - fa.FilterActivityTypeProperties = &filterActivityTypeProperties + 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 { @@ -74042,55 +74523,64 @@ func (fa *FilterActivity) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fa.AdditionalProperties == nil { - fa.AdditionalProperties = make(map[string]interface{}) + if ds.AdditionalProperties == nil { + ds.AdditionalProperties = make(map[string]interface{}) } - fa.AdditionalProperties[k] = additionalProperties + ds.AdditionalProperties[k] = additionalProperties } - case "name": + case "writeBatchSize": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - fa.Name = &name + ds.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 } - fa.Description = &description + ds.WriteBatchTimeout = writeBatchTimeout } - case "dependsOn": + case "sinkRetryCount": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - fa.DependsOn = &dependsOn + ds.SinkRetryCount = sinkRetryCount } - case "userProperties": + case "sinkRetryWait": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - fa.UserProperties = &userProperties + ds.SinkRetryWait = sinkRetryWait + } + 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 TypeBasicActivity + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - fa.Type = typeVar + ds.Type = typeVar } } } @@ -74098,547 +74588,489 @@ func (fa *FilterActivity) UnmarshalJSON(body []byte) error { return nil } -// 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"` -} - -// 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"` +// 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:""` - // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ForEachActivity. -func (fea ForEachActivity) MarshalJSON() ([]byte, error) { - fea.Type = TypeForEach +// MarshalJSON is the custom marshaler for DynamicsSource. +func (ds DynamicsSource) MarshalJSON() ([]byte, error) { + ds.Type = TypeDynamicsSource objectMap := make(map[string]interface{}) - if fea.ForEachActivityTypeProperties != nil { - objectMap["typeProperties"] = fea.ForEachActivityTypeProperties - } - if fea.Name != nil { - objectMap["name"] = fea.Name + if ds.Query != nil { + objectMap["query"] = ds.Query } - if fea.Description != nil { - objectMap["description"] = fea.Description + if ds.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ds.SourceRetryCount } - if fea.DependsOn != nil { - objectMap["dependsOn"] = fea.DependsOn + if ds.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ds.SourceRetryWait } - if fea.UserProperties != nil { - objectMap["userProperties"] = fea.UserProperties + if ds.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ds.MaxConcurrentConnections } - if fea.Type != "" { - objectMap["type"] = fea.Type + if ds.Type != "" { + objectMap["type"] = ds.Type } - for k, v := range fea.AdditionalProperties { + for k, v := range ds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsRestSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsODataSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return &ds, true +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsWebHookActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) { - return &fea, true +// AsXeroSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &fea, true +// AsServiceNowSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsActivity() (*Activity, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for ForEachActivity. -func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) { - return &fea, true +// AsPrestoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPrestoSource() (*PrestoSource, 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 - } - } - } +// AsPhoenixSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} - return nil +// AsPaypalSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPaypalSource() (*PaypalSource, 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"` +// AsMarketoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMarketoSource() (*MarketoSource, 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 - } - } - } +// AsAzureMariaDBSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} - return nil +// AsMariaDBSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMariaDBSource() (*MariaDBSource, 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"` +// AsMagentoSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMagentoSource() (*MagentoSource, 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) +// AsJiraSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsJiraSource() (*JiraSource, 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 - } - } - } +// AsImpalaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} - return nil +// AsHubspotSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHubspotSource() (*HubspotSource, 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"` +// AsHiveSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHiveSource() (*HiveSource, 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) +// AsHBaseSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// 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 - } - } - } +// AsGreenplumSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} - return nil +// AsGoogleBigQuerySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false } -// 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"` +// AsEloquaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false } -// 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) +// AsDrillSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDrillSource() (*DrillSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for FtpReadSettings struct. -func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { +// AsCouchbaseSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// AsPostgreSQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ds, true +} + +// 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 { @@ -74646,71 +75078,62 @@ func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "recursive": + case "query": if v != nil { - var recursive interface{} - err = json.Unmarshal(*v, &recursive) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - frs.Recursive = recursive + ds.Query = query } - 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 } - frs.WildcardFolderPath = wildcardFolderPath + if ds.AdditionalProperties == nil { + ds.AdditionalProperties = make(map[string]interface{}) + } + ds.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 + ds.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 + ds.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 + ds.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 + ds.Type = typeVar } } } @@ -74718,10 +75141,10 @@ 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"` +// 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:""` // ConnectVia - The integration runtime reference. @@ -74732,500 +75155,505 @@ type FtpServerLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 +// MarshalJSON is the custom marshaler for EloquaLinkedService. +func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { + els.Type = TypeEloqua objectMap := make(map[string]interface{}) - if fsls.FtpServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties + if els.EloquaLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = els.EloquaLinkedServiceTypeProperties } - if fsls.ConnectVia != nil { - objectMap["connectVia"] = fsls.ConnectVia + if els.ConnectVia != nil { + objectMap["connectVia"] = els.ConnectVia } - if fsls.Description != nil { - objectMap["description"] = fsls.Description + if els.Description != nil { + objectMap["description"] = els.Description } - if fsls.Parameters != nil { - objectMap["parameters"] = fsls.Parameters + if els.Parameters != nil { + objectMap["parameters"] = els.Parameters } - if fsls.Annotations != nil { - objectMap["annotations"] = fsls.Annotations + if els.Annotations != nil { + objectMap["annotations"] = els.Annotations } - if fsls.Type != "" { - objectMap["type"] = fsls.Type + if els.Type != "" { + objectMap["type"] = els.Type } - for k, v := range fsls.AdditionalProperties { + for k, v := range els.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false +// AsMarketoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, 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 } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return &fsls, true +// AsFtpServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. -func (fsls FtpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &fsls, true +// AsBasicLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &els, true } -// UnmarshalJSON is the custom unmarshaler for FtpServerLinkedService struct. -func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -75235,12 +75663,12 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties) + var eloquaLinkedServiceTypeProperties EloquaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &eloquaLinkedServiceTypeProperties) if err != nil { return err } - fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties + els.EloquaLinkedServiceTypeProperties = &eloquaLinkedServiceTypeProperties } default: if v != nil { @@ -75249,10 +75677,10 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if fsls.AdditionalProperties == nil { - fsls.AdditionalProperties = make(map[string]interface{}) + if els.AdditionalProperties == nil { + els.AdditionalProperties = make(map[string]interface{}) } - fsls.AdditionalProperties[k] = additionalProperties + els.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -75261,7 +75689,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.ConnectVia = &connectVia + els.ConnectVia = &connectVia } case "description": if v != nil { @@ -75270,7 +75698,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Description = &description + els.Description = &description } case "parameters": if v != nil { @@ -75279,7 +75707,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Parameters = parameters + els.Parameters = parameters } case "annotations": if v != nil { @@ -75288,7 +75716,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Annotations = &annotations + els.Annotations = &annotations } case "type": if v != nil { @@ -75297,7 +75725,7 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - fsls.Type = typeVar + els.Type = typeVar } } } @@ -75305,28 +75733,26 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { 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. +// 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"` - // 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 { +// 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 { @@ -75334,41 +75760,23 @@ func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e } 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": + case "endpoint": if v != nil { - var authenticationType FtpAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) if err != nil { return err } - fslstp.AuthenticationType = authenticationType + elstp.Endpoint = endpoint } - case "userName": + case "username": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - fslstp.UserName = userName + elstp.Username = username } case "password": if v != nil { @@ -75376,118 +75784,43 @@ func (fslstp *FtpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e 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 - } - case "enableSsl": - if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) - if err != nil { - return err - } - fslstp.EnableSsl = enableSsl - } - case "enableServerCertificateValidation": - if v != nil { - var enableServerCertificateValidation interface{} - err = json.Unmarshal(*v, &enableServerCertificateValidation) - if err != nil { - return err - } - fslstp.EnableServerCertificateValidation = enableServerCertificateValidation + elstp.Password = password } - } - } - - 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 "useEncryptedEndpoints": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - if fsl.AdditionalProperties == nil { - fsl.AdditionalProperties = make(map[string]interface{}) - } - fsl.AdditionalProperties[k] = additionalProperties + elstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "type": + case "useHostVerification": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - fsl.Type = &typeVar + elstp.UseHostVerification = useHostVerification } - case "folderPath": + case "usePeerVerification": if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) if err != nil { return err } - fsl.FolderPath = folderPath + elstp.UsePeerVerification = usePeerVerification } - case "fileName": + case "encryptedCredential": if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - fsl.FileName = fileName + elstp.EncryptedCredential = encryptedCredential } } } @@ -75495,891 +75828,504 @@ 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"` -} - -// 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `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 EloquaObjectDataset. +func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { + eod.Type = TypeEloquaObject objectMap := make(map[string]interface{}) - if gma.GetMetadataActivityTypeProperties != nil { - objectMap["typeProperties"] = gma.GetMetadataActivityTypeProperties + if eod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = eod.GenericDatasetTypeProperties } - if gma.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gma.LinkedServiceName + if eod.Description != nil { + objectMap["description"] = eod.Description } - if gma.Policy != nil { - objectMap["policy"] = gma.Policy + if eod.Structure != nil { + objectMap["structure"] = eod.Structure } - if gma.Name != nil { - objectMap["name"] = gma.Name + if eod.Schema != nil { + objectMap["schema"] = eod.Schema } - if gma.Description != nil { - objectMap["description"] = gma.Description + if eod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = eod.LinkedServiceName } - if gma.DependsOn != nil { - objectMap["dependsOn"] = gma.DependsOn + if eod.Parameters != nil { + objectMap["parameters"] = eod.Parameters } - if gma.UserProperties != nil { - objectMap["userProperties"] = gma.UserProperties + if eod.Annotations != nil { + objectMap["annotations"] = eod.Annotations } - if gma.Type != "" { - objectMap["type"] = gma.Type + if eod.Folder != nil { + objectMap["folder"] = eod.Folder } - for k, v := range gma.AdditionalProperties { + if eod.Type != "" { + objectMap["type"] = eod.Type + } + for k, v := range eod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, 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) { +// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &gma, true +// AsMagentoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) { - return nil, false +// AsEloquaObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return &eod, true } -// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsActivity() (*Activity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity. -func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) { - return &gma, true +// AsHTTPDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false } -// 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 +// AsAzureSearchIndexDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// 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"` +// AsWebTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false } -// GetSsisObjectMetadataRequest the request payload of get SSIS object metadata. -type GetSsisObjectMetadataRequest struct { - // MetadataPath - Metadata path. - MetadataPath *string `json:"metadataPath,omitempty"` +// AsSapTableResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { + return nil, false } -// 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"` +// AsRestResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { + return nil, false } -// GitHubAccessTokenResponse get GitHub access token response definition. -type GitHubAccessTokenResponse struct { - autorest.Response `json:"-"` - // GitHubAccessToken - GitHub access token. - GitHubAccessToken *string `json:"gitHubAccessToken,omitempty"` +// AsSQLServerTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false } -// 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', '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"` +// AsSapOpenHubTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { + return nil, false } -// 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) +// AsSapHanaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { + return nil, false } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return &gawls, true +// AsSybaseTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false -} - -// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false -} - -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false -} - -// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false -} - -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return nil, false -} - -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return nil, false -} - -// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false -} - -// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false -} - -// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return nil, false -} - -// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return nil, false -} - -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { - return nil, false -} - -// AsInformixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { - return nil, false -} - -// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false -} - -// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false -} - -// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false -} - -// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false -} - -// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return nil, false -} - -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { - return nil, false -} - -// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false -} - -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false -} - -// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return nil, false -} - -// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return nil, false -} - -// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { - return nil, false -} - -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { - return nil, false -} - -// 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) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. -func (gawls GoogleAdWordsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &gawls, true +// AsBasicDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &eod, true } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsLinkedService struct. -func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -76389,12 +76335,12 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties + eod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -76403,19 +76349,10 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gawls.AdditionalProperties == nil { - gawls.AdditionalProperties = make(map[string]interface{}) - } - gawls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if eod.AdditionalProperties == nil { + eod.AdditionalProperties = make(map[string]interface{}) } - gawls.ConnectVia = &connectVia + eod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -76424,170 +76361,70 @@ func (gawls *GoogleAdWordsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gawls.Description = &description - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - gawls.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - gawls.Annotations = &annotations - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gawls.Type = typeVar - } - } - } - - 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"` - // 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 { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - 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 + eod.Description = &description } - case "clientId": + case "structure": if v != nil { - clientID, err := unmarshalBasicSecretBase(*v) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - gawlstp.ClientID = clientID + eod.Structure = structure } - case "clientSecret": + case "schema": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - gawlstp.ClientSecret = clientSecret + eod.Schema = schema } - case "email": + case "linkedServiceName": if v != nil { - var email interface{} - err = json.Unmarshal(*v, &email) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - gawlstp.Email = email + eod.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 } - gawlstp.KeyFilePath = keyFilePath + eod.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 } - gawlstp.TrustedCertPath = trustedCertPath + eod.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 } - gawlstp.UseSystemTrustStore = useSystemTrustStore + eod.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 } - gawlstp.EncryptedCredential = encryptedCredential + eod.Type = typeVar } } } @@ -76595,469 +76432,494 @@ 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"` +// 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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 EloquaSource. +func (es EloquaSource) MarshalJSON() ([]byte, error) { + es.Type = TypeEloquaSource objectMap := make(map[string]interface{}) - if gawod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties - } - if gawod.Description != nil { - objectMap["description"] = gawod.Description - } - if gawod.Structure != nil { - objectMap["structure"] = gawod.Structure - } - if gawod.Schema != nil { - objectMap["schema"] = gawod.Schema + if es.Query != nil { + objectMap["query"] = es.Query } - if gawod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gawod.LinkedServiceName + if es.QueryTimeout != nil { + objectMap["queryTimeout"] = es.QueryTimeout } - if gawod.Parameters != nil { - objectMap["parameters"] = gawod.Parameters + if es.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = es.SourceRetryCount } - if gawod.Annotations != nil { - objectMap["annotations"] = gawod.Annotations + if es.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = es.SourceRetryWait } - if gawod.Folder != nil { - objectMap["folder"] = gawod.Folder + if es.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = es.MaxConcurrentConnections } - if gawod.Type != "" { - objectMap["type"] = gawod.Type + if es.Type != "" { + objectMap["type"] = es.Type } - for k, v := range gawod.AdditionalProperties { + for k, v := range es.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return &gawod, true +// AsHTTPSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsRestSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsEloquaSource() (*EloquaSource, bool) { + return &es, true +} + +// AsDrillSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) { +// AsTabularSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. -func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &gawod, true +// AsBasicTabularSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &es, true } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsObjectDataset struct. -func (gawod *GoogleAdWordsObjectDataset) UnmarshalJSON(body []byte) error { +// AsBinarySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsBasicCopySource() (BasicCopySource, bool) { + return &es, true +} + +// 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 { @@ -77065,98 +76927,71 @@ func (gawod *GoogleAdWordsObjectDataset) 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 - } - gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if gawod.AdditionalProperties == nil { - gawod.AdditionalProperties = make(map[string]interface{}) - } - gawod.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 } - gawod.Description = &description + es.Query = query } - case "structure": + case "queryTimeout": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - gawod.Structure = structure + es.QueryTimeout = queryTimeout } - 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 } - gawod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if es.AdditionalProperties == nil { + es.AdditionalProperties = make(map[string]interface{}) } - gawod.LinkedServiceName = &linkedServiceName + es.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 } - gawod.Parameters = parameters + es.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 } - gawod.Annotations = &annotations + es.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 } - gawod.Folder = &folder + es.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gawod.Type = typeVar + es.Type = typeVar } } } @@ -77164,459 +76999,594 @@ 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). - Query interface{} `json:"query,omitempty"` +// 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"` +} + +// 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:""` - // 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"` + // 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 GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { - gaws.Type = TypeGoogleAdWordsSource +// MarshalJSON is the custom marshaler for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { + epa.Type = TypeExecutePipeline objectMap := make(map[string]interface{}) - if gaws.Query != nil { - objectMap["query"] = gaws.Query - } - if gaws.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gaws.SourceRetryCount + if epa.ExecutePipelineActivityTypeProperties != nil { + objectMap["typeProperties"] = epa.ExecutePipelineActivityTypeProperties } - if gaws.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gaws.SourceRetryWait + if epa.Name != nil { + objectMap["name"] = epa.Name } - if gaws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections + if epa.Description != nil { + objectMap["description"] = epa.Description } - if gaws.Type != "" { - objectMap["type"] = gaws.Type + if epa.DependsOn != nil { + objectMap["dependsOn"] = epa.DependsOn } - for k, v := range gaws.AdditionalProperties { + 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) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// 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) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) { +// AsWebActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsWebHookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false +// AsExecutePipelineActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return &epa, true } -// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsControlActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &epa, true } -// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) { +// AsActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsBasicActivity() (BasicActivity, bool) { + return &epa, true } -// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} +// 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 + } + } + } -// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false + return nil } -// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false +// 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"` } -// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) { - return nil, false +// 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) } -// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false +// 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', '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"` } -// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) { - return nil, false +// 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) } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) { +// AsWebActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return &espa, true } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsSybaseSource() (*SybaseSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMySQLSource() (*MySQLSource, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsOdbcSource() (*OdbcSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDb2Source() (*Db2Source, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &espa, true } -// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsWebHookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsInformixSource() (*InformixSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBinarySource() (*BinarySource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicControlActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsCopySource() (*CopySource, bool) { +// AsActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for GoogleAdWordsSource. -func (gaws GoogleAdWordsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &gaws, true +// AsBasicActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsBasicActivity() (BasicActivity, bool) { + return &espa, true } -// UnmarshalJSON is the custom unmarshaler for GoogleAdWordsSource struct. -func (gaws *GoogleAdWordsSource) 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 { @@ -77624,14 +77594,32 @@ func (gaws *GoogleAdWordsSource) 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 executeSSISPackageActivityTypeProperties ExecuteSSISPackageActivityTypeProperties + err = json.Unmarshal(*v, &executeSSISPackageActivityTypeProperties) if err != nil { return err } - gaws.Query = query + 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 { @@ -77640,46 +77628,55 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gaws.AdditionalProperties == nil { - gaws.AdditionalProperties = make(map[string]interface{}) + if espa.AdditionalProperties == nil { + espa.AdditionalProperties = make(map[string]interface{}) } - gaws.AdditionalProperties[k] = additionalProperties + espa.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 } - gaws.SourceRetryCount = sourceRetryCount + espa.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 } - gaws.SourceRetryWait = sourceRetryWait + espa.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 } - gaws.MaxConcurrentConnections = maxConcurrentConnections + 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 TypeBasicCopySource + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gaws.Type = typeVar + espa.Type = typeVar } } } @@ -77687,514 +77684,457 @@ 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"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` +// 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"` - // 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"` + // 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 GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { - gbqls.Type = TypeGoogleBigQuery +// MarshalJSON is the custom marshaler for ExecuteSSISPackageActivityTypeProperties. +func (espatp ExecuteSSISPackageActivityTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties + if espatp.PackageLocation != nil { + objectMap["packageLocation"] = espatp.PackageLocation } - if gbqls.ConnectVia != nil { - objectMap["connectVia"] = gbqls.ConnectVia + if espatp.Runtime != nil { + objectMap["runtime"] = espatp.Runtime } - if gbqls.Description != nil { - objectMap["description"] = gbqls.Description + if espatp.LoggingLevel != nil { + objectMap["loggingLevel"] = espatp.LoggingLevel } - if gbqls.Parameters != nil { - objectMap["parameters"] = gbqls.Parameters + if espatp.EnvironmentPath != nil { + objectMap["environmentPath"] = espatp.EnvironmentPath } - if gbqls.Annotations != nil { - objectMap["annotations"] = gbqls.Annotations + if espatp.ExecutionCredential != nil { + objectMap["executionCredential"] = espatp.ExecutionCredential } - if gbqls.Type != "" { - objectMap["type"] = gbqls.Type + if espatp.ConnectVia != nil { + objectMap["connectVia"] = espatp.ConnectVia } - for k, v := range gbqls.AdditionalProperties { - objectMap[k] = v + 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) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, 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) + AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, 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) } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, 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', '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"` } -// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, 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 + } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, 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(TypeAzureDataExplorerCommand): + var adeca AzureDataExplorerCommandActivity + err := json.Unmarshal(body, &adeca) + return adeca, 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 + } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { - return nil, false -} + eaArray := make([]BasicExecutionActivity, len(rawMessages)) -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, 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 } -// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, 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) } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false +// AsExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return &ea, true } -// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ea, true } -// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsAppendVariableActivity() (*AppendVariableActivity, 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) { +// AsSetVariableActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false -} - -// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false -} - -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { - return nil, false -} - -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { - return nil, false -} - -// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false -} - -// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false -} - -// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return nil, false -} - -// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return nil, false -} - -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { - return nil, false -} - -// AsInformixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { - return nil, false -} - -// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false -} - -// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false -} - -// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. -func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false -} - -// 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 +// AsBasicActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsBasicActivity() (BasicActivity, bool) { + return &ea, true } -// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedService struct. -func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -78202,14 +78142,23 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "linkedServiceName": if v != nil { - var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties - err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties + 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 { @@ -78218,19 +78167,19 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gbqls.AdditionalProperties == nil { - gbqls.AdditionalProperties = make(map[string]interface{}) + if ea.AdditionalProperties == nil { + ea.AdditionalProperties = make(map[string]interface{}) } - gbqls.AdditionalProperties[k] = additionalProperties + ea.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "name": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - gbqls.ConnectVia = &connectVia + ea.Name = &name } case "description": if v != nil { @@ -78239,34 +78188,34 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gbqls.Description = &description + ea.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - gbqls.Parameters = parameters + ea.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - gbqls.Annotations = &annotations + ea.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gbqls.Type = typeVar + ea.Type = typeVar } } } @@ -78274,36 +78223,77 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { 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"` +// 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"` } -// UnmarshalJSON is the custom unmarshaler for GoogleBigQueryLinkedServiceTypeProperties struct. -func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// 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"` +} + +// 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"` +} + +// 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"` +} + +// 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 Factory struct. +func (f *Factory) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -78311,110 +78301,89 @@ func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []b } 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": + default: if v != nil { - var requestGoogleDriveScope interface{} - err = json.Unmarshal(*v, &requestGoogleDriveScope) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) 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 + if f.AdditionalProperties == nil { + f.AdditionalProperties = make(map[string]interface{}) } - gbqlstp.AuthenticationType = authenticationType + f.AdditionalProperties[k] = additionalProperties } - case "refreshToken": + case "identity": if v != nil { - refreshToken, err := unmarshalBasicSecretBase(*v) + var identity FactoryIdentity + err = json.Unmarshal(*v, &identity) if err != nil { return err } - gbqlstp.RefreshToken = refreshToken + f.Identity = &identity } - case "clientId": + case "properties": if v != nil { - clientID, err := unmarshalBasicSecretBase(*v) + var factoryProperties FactoryProperties + err = json.Unmarshal(*v, &factoryProperties) if err != nil { return err } - gbqlstp.ClientID = clientID + f.FactoryProperties = &factoryProperties } - case "clientSecret": + case "id": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var ID string + err = json.Unmarshal(*v, &ID) if err != nil { return err } - gbqlstp.ClientSecret = clientSecret + f.ID = &ID } - case "email": + case "name": if v != nil { - var email interface{} - err = json.Unmarshal(*v, &email) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - gbqlstp.Email = email + f.Name = &name } - case "keyFilePath": + case "type": if v != nil { - var keyFilePath interface{} - err = json.Unmarshal(*v, &keyFilePath) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gbqlstp.KeyFilePath = keyFilePath + f.Type = &typeVar } - case "trustedCertPath": + case "location": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var location string + err = json.Unmarshal(*v, &location) if err != nil { return err } - gbqlstp.TrustedCertPath = trustedCertPath + f.Location = &location } - case "useSystemTrustStore": + case "tags": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var tags map[string]*string + err = json.Unmarshal(*v, &tags) if err != nil { return err } - gbqlstp.UseSystemTrustStore = useSystemTrustStore + f.Tags = tags } - case "encryptedCredential": + case "eTag": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var eTag string + err = json.Unmarshal(*v, &eTag) if err != nil { return err } - gbqlstp.EncryptedCredential = encryptedCredential + f.ETag = &eTag } } } @@ -78422,1028 +78391,1043 @@ 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"` - // 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"` +// 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 GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { - gbqod.Type = TypeGoogleBigQueryObject +// MarshalJSON is the custom marshaler for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) MarshalJSON() ([]byte, error) { + fghc.Type = TypeFactoryGitHubConfiguration 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 fghc.HostName != nil { + objectMap["hostName"] = fghc.HostName } - if gbqod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gbqod.LinkedServiceName + if fghc.AccountName != nil { + objectMap["accountName"] = fghc.AccountName } - if gbqod.Parameters != nil { - objectMap["parameters"] = gbqod.Parameters + if fghc.RepositoryName != nil { + objectMap["repositoryName"] = fghc.RepositoryName } - if gbqod.Annotations != nil { - objectMap["annotations"] = gbqod.Annotations + if fghc.CollaborationBranch != nil { + objectMap["collaborationBranch"] = fghc.CollaborationBranch } - if gbqod.Folder != nil { - objectMap["folder"] = gbqod.Folder + if fghc.RootFolder != nil { + objectMap["rootFolder"] = fghc.RootFolder } - if gbqod.Type != "" { - objectMap["type"] = gbqod.Type + if fghc.LastCommitID != nil { + objectMap["lastCommitId"] = fghc.LastCommitID } - for k, v := range gbqod.AdditionalProperties { - objectMap[k] = v + if fghc.Type != "" { + objectMap["type"] = fghc.Type } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false -} - -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { - return nil, false +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { + return &fghc, true } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { - return nil, false +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryGitHubConfiguration. +func (fghc FactoryGitHubConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &fghc, true } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, 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"` } -// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, 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"` } -// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false +// FactoryListResponseIterator provides access to a complete listing of Factory values. +type FactoryListResponseIterator struct { + i int + page FactoryListResponsePage } -// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, 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 } -// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, 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()) } -// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, 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()) } -// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (iter FactoryListResponseIterator) Response() FactoryListResponse { + return iter.page.Response() } -// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, 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] } -// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false +// Creates a new instance of the FactoryListResponseIterator type. +func NewFactoryListResponseIterator(page FactoryListResponsePage) FactoryListResponseIterator { + return FactoryListResponseIterator{page: page} } -// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, 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 } -// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, 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))) } -// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false +// FactoryListResponsePage contains a page of Factory values. +type FactoryListResponsePage struct { + fn func(context.Context, FactoryListResponse) (FactoryListResponse, error) + flr FactoryListResponse } -// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, 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 } -// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, 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()) } -// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, 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() } -// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page FactoryListResponsePage) Response() FactoryListResponse { + return page.flr } -// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, 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 } -// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, 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} } -// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, 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"` } -// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, 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 + } + } + } -// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false + return nil } -// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return nil, false +// BasicFactoryRepoConfiguration factory's git repo information. +type BasicFactoryRepoConfiguration interface { + AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) + AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) + AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { - return &gbqod, true +// 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"` } -// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, 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 + } -// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, 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 + } -// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false -} + frcArray := make([]BasicFactoryRepoConfiguration, len(rawMessages)) -// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, 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 } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, 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) } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { + return &frc, true } -// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryRepoConfiguration. +func (frc FactoryRepoConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &frc, true } -// AsSapTableResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, 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"` } -// AsRestResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsRestResourceDataset() (*RestResourceDataset, 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 + } + } + } -// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false + return nil } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, 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"` } -// AsSapHanaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, 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) } -// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} - -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false -} - -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false -} - -// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false -} - -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false -} - -// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { - return nil, false -} - -// AsMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { - return nil, false -} - -// AsOdbcTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { - return nil, false -} - -// AsInformixTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { - return nil, false -} - -// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false -} - -// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false -} - -// AsTeradataTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { - return nil, false -} - -// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false -} - -// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return nil, false -} - -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false -} - -// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false -} - -// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, 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"` } -// AsOffice365Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsOffice365Dataset() (*Office365Dataset, 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) } -// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { - return nil, false +// AsFactoryVSTSConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryVSTSConfiguration() (*FactoryVSTSConfiguration, bool) { + return &fvc, true } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsFactoryGitHubConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryGitHubConfiguration() (*FactoryGitHubConfiguration, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsFactoryRepoConfiguration() (*FactoryRepoConfiguration, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { - return nil, false +// AsBasicFactoryRepoConfiguration is the BasicFactoryRepoConfiguration implementation for FactoryVSTSConfiguration. +func (fvc FactoryVSTSConfiguration) AsBasicFactoryRepoConfiguration() (BasicFactoryRepoConfiguration, bool) { + return &fvc, true } -// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, 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', 'TypeAzureMariaDB', '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"` } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, 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) } -// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. -func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, 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 { - 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 - } - gbqod.GenericDatasetTypeProperties = &genericDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if gbqod.AdditionalProperties == nil { - gbqod.AdditionalProperties = make(map[string]interface{}) - } - gbqod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - gbqod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - gbqod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - gbqod.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - gbqod.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - gbqod.Parameters = parameters - } - case "annotations": - if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) - if err != nil { - return err - } - gbqod.Annotations = &annotations - } - case "folder": - if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) - if err != nil { - return err - } - gbqod.Folder = &folder - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - gbqod.Type = typeVar - } - } - } - - 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"` - // 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 GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) { - gbqs.Type = TypeGoogleBigQuerySource - objectMap := make(map[string]interface{}) - if gbqs.Query != nil { - objectMap["query"] = gbqs.Query - } - if gbqs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gbqs.SourceRetryCount - } - if gbqs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gbqs.SourceRetryWait - } - if gbqs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gbqs.MaxConcurrentConnections - } - if gbqs.Type != "" { - objectMap["type"] = gbqs.Type - } - for k, v := range gbqs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, 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) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOffice365Source() (*Office365Source, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsTeradataSource() (*TeradataSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLMISource() (*SQLMISource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsRestSource() (*RestSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapTableSource() (*SapTableSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsODataSource() (*ODataSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsSybaseSource() (*SybaseSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMySQLSource() (*MySQLSource, bool) { - return nil, false +// AsFileServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return &fsls, true } -// AsOdbcSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsOdbcSource() (*OdbcSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDb2Source() (*Db2Source, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for GoogleBigQuerySource. -func (gbqs GoogleBigQuerySource) AsBasicCopySource() (BasicCopySource, bool) { - return &gbqs, true +// AsBasicLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &fsls, true } -// UnmarshalJSON is the custom unmarshaler for GoogleBigQuerySource struct. -func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { +// 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 { @@ -79451,14 +79435,14 @@ func (gbqs *GoogleBigQuerySource) 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 fileServerLinkedServiceTypeProperties FileServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &fileServerLinkedServiceTypeProperties) if err != nil { return err } - gbqs.Query = query + fsls.FileServerLinkedServiceTypeProperties = &fileServerLinkedServiceTypeProperties } default: if v != nil { @@ -79467,46 +79451,55 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gbqs.AdditionalProperties == nil { - gbqs.AdditionalProperties = make(map[string]interface{}) + if fsls.AdditionalProperties == nil { + fsls.AdditionalProperties = make(map[string]interface{}) } - gbqs.AdditionalProperties[k] = additionalProperties + fsls.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 } - gbqs.SourceRetryCount = sourceRetryCount + fsls.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 } - gbqs.SourceRetryWait = sourceRetryWait + fsls.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 } - gbqs.MaxConcurrentConnections = maxConcurrentConnections + 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 TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gbqs.Type = typeVar + fsls.Type = typeVar } } } @@ -79514,514 +79507,919 @@ 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"` +// 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"` +} + +// 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 + } + } + } + + return nil +} + +// 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:""` - // 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"` + // 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 GreenplumLinkedService. -func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { - gls.Type = TypeGreenplum +// MarshalJSON is the custom marshaler for FileServerLocation. +func (fsl FileServerLocation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if gls.GreenplumLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties - } - if gls.ConnectVia != nil { - objectMap["connectVia"] = gls.ConnectVia - } - if gls.Description != nil { - objectMap["description"] = gls.Description - } - if gls.Parameters != nil { - objectMap["parameters"] = gls.Parameters + if fsl.Type != nil { + objectMap["type"] = fsl.Type } - if gls.Annotations != nil { - objectMap["annotations"] = gls.Annotations + if fsl.FolderPath != nil { + objectMap["folderPath"] = fsl.FolderPath } - if gls.Type != "" { - objectMap["type"] = gls.Type + if fsl.FileName != nil { + objectMap["fileName"] = fsl.FileName } - for k, v := range gls.AdditionalProperties { + for k, v := range fsl.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 -} +// 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 + } + } + } -// AsSapTableLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false + return nil } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, 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"` } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, 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) } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { - return nil, false +// 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 { + 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 + } + fsrs.Recursive = recursive + } + case "wildcardFolderPath": + if v != nil { + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) + 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 + } + fsrs.WildcardFileName = wildcardFileName + } + case "enablePartitionDiscovery": + if v != nil { + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) + if err != nil { + return err + } + fsrs.EnablePartitionDiscovery = &enablePartitionDiscovery + } + case "modifiedDatetimeStart": + if v != nil { + var modifiedDatetimeStart interface{} + err = json.Unmarshal(*v, &modifiedDatetimeStart) + if err != nil { + return err + } + fsrs.ModifiedDatetimeStart = modifiedDatetimeStart + } + case "modifiedDatetimeEnd": + if v != nil { + var modifiedDatetimeEnd interface{} + err = json.Unmarshal(*v, &modifiedDatetimeEnd) + if err != nil { + return err + } + fsrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + 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 } -// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// FileServerWriteSettings file server write settings. +type FileServerWriteSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FileServerWriteSettings. +func (fsws FileServerWriteSettings) MarshalJSON() ([]byte, error) { + fsws.Type = TypeFileServerWriteSettings + objectMap := make(map[string]interface{}) + if fsws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fsws.MaxConcurrentConnections + } + if fsws.CopyBehavior != nil { + objectMap["copyBehavior"] = fsws.CopyBehavior + } + if fsws.Type != "" { + objectMap["type"] = fsws.Type + } + for k, v := range fsws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { + return &fsws, true +} + +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for FileServerWriteSettings. +func (fsws FileServerWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &fsws, true +} + +// 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{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if fsws.AdditionalProperties == nil { + fsws.AdditionalProperties = make(map[string]interface{}) + } + fsws.AdditionalProperties[k] = additionalProperties + } + 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 + } + case "type": + if v != nil { + var typeVar TypeBasicStoreWriteSettings + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fsws.Type = typeVar + } + } + } + + return nil +} + +// 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:""` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FileShareDataset. +func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { + fsd.Type = TypeFileShare + 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 fsd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = fsd.LinkedServiceName + } + if fsd.Parameters != nil { + objectMap["parameters"] = fsd.Parameters + } + 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) +} + +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return &gls, true +// AsMagentoObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, 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 } -// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. -func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &gls, true +// AsParquetDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GreenplumLinkedService struct. -func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { +// AsAvroDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -80031,12 +80429,12 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties - err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties) + var fileShareDatasetTypeProperties FileShareDatasetTypeProperties + err = json.Unmarshal(*v, &fileShareDatasetTypeProperties) if err != nil { return err } - gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties + fsd.FileShareDatasetTypeProperties = &fileShareDatasetTypeProperties } default: if v != nil { @@ -80045,28 +80443,46 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gls.AdditionalProperties == nil { - gls.AdditionalProperties = make(map[string]interface{}) + if fsd.AdditionalProperties == nil { + fsd.AdditionalProperties = make(map[string]interface{}) } - gls.AdditionalProperties[k] = additionalProperties + fsd.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 } - gls.ConnectVia = &connectVia + fsd.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 } - gls.Description = &description + fsd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + fsd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + fsd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -80075,7 +80491,7 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gls.Parameters = parameters + fsd.Parameters = parameters } case "annotations": if v != nil { @@ -80084,16 +80500,25 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - gls.Annotations = &annotations + 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 TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gls.Type = typeVar + fsd.Type = typeVar } } } @@ -80101,469 +80526,323 @@ 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"` +// 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"` } -// 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `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 FileSystemSink. +func (fss FileSystemSink) MarshalJSON() ([]byte, error) { + fss.Type = TypeFileSystemSink objectMap := make(map[string]interface{}) - if gs.Query != nil { - objectMap["query"] = gs.Query + if fss.CopyBehavior != nil { + objectMap["copyBehavior"] = fss.CopyBehavior } - if gs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = gs.SourceRetryCount + if fss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = fss.WriteBatchSize } - if gs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = gs.SourceRetryWait + if fss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = fss.WriteBatchTimeout } - if gs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = gs.MaxConcurrentConnections + if fss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = fss.SinkRetryCount } - if gs.Type != "" { - objectMap["type"] = gs.Type + if fss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = fss.SinkRetryWait } - for k, v := range gs.AdditionalProperties { + 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 GreenplumSource. -func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsGoogleAdWordsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { - return nil, false -} - -// AsOracleServiceCloudSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { - return nil, false -} - -// AsDynamicsAXSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { - return nil, false -} - -// AsResponsysSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) { - return nil, false -} - -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { - return nil, false -} - -// AsVerticaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) { - return nil, false -} - -// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSalesforceSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) { +// AsInformixSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) { - return &gs, true -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsOracleSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) { +// AsSQLMISink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) { +// AsSQLServerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false +// AsFileSystemSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsFileSystemSink() (*FileSystemSink, bool) { + return &fss, true } -// AsAzureBlobFSSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsBlobSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsBinarySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOffice365Source() (*Office365Source, bool) { +// AsParquetSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAvroSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAzureTableSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsWebSource() (*WebSource, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsTeradataSource() (*TeradataSource, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) { +// AsJSONSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCopySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for FileSystemSink. +func (fss FileSystemSink) AsBasicCopySink() (BasicCopySink, bool) { + return &fss, true } -// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - -// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false -} - -// AsSQLMISource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLMISource() (*SQLMISource, bool) { - return nil, false -} - -// AsAzureSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureSQLSource() (*AzureSQLSource, bool) { - return nil, false -} - -// AsSQLServerSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false -} - -// AsSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - -// AsRestSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - -// AsSapTableSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapTableSource() (*SapTableSource, bool) { - return nil, false -} - -// AsSapOpenHubSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { - return nil, false -} - -// AsSapHanaSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapHanaSource() (*SapHanaSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false -} - -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - -// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false -} - -// AsODataSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsODataSource() (*ODataSource, bool) { - return nil, false -} - -// AsSybaseSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsSybaseSource() (*SybaseSource, bool) { - return nil, false -} - -// AsPostgreSQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { - return nil, false -} - -// AsMySQLSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMySQLSource() (*MySQLSource, bool) { - return nil, false -} - -// AsOdbcSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsOdbcSource() (*OdbcSource, bool) { - return nil, false -} - -// AsDb2Source is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDb2Source() (*Db2Source, bool) { - return nil, false -} - -// AsMicrosoftAccessSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - -// AsInformixSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsInformixSource() (*InformixSource, bool) { - return nil, false -} - -// AsRelationalSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) { - return nil, false -} - -// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} - -// AsBlobSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) { - return nil, false -} - -// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsBinarySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsBinarySource() (*BinarySource, bool) { - return nil, false -} - -// AsDelimitedTextSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { - return nil, false -} - -// AsParquetSource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) { - return nil, false -} - -// AsCopySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsCopySource() (*CopySource, bool) { - return nil, false -} - -// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource. -func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) { - return &gs, true -} - -// UnmarshalJSON is the custom unmarshaler for GreenplumSource struct. -func (gs *GreenplumSource) 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 { @@ -80571,14 +80850,14 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "copyBehavior": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) if err != nil { return err } - gs.Query = query + fss.CopyBehavior = copyBehavior } default: if v != nil { @@ -80587,28 +80866,46 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gs.AdditionalProperties == nil { - gs.AdditionalProperties = make(map[string]interface{}) + if fss.AdditionalProperties == nil { + fss.AdditionalProperties = make(map[string]interface{}) } - gs.AdditionalProperties[k] = additionalProperties + fss.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 } - gs.SourceRetryCount = sourceRetryCount + fss.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 } - gs.SourceRetryWait = sourceRetryWait + 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 { @@ -80617,16 +80914,16 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - gs.MaxConcurrentConnections = maxConcurrentConnections + fss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gs.Type = typeVar + fss.Type = typeVar } } } @@ -80634,469 +80931,489 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { return nil } -// GreenplumTableDataset greenplum Database dataset. -type GreenplumTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `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:""` - // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 FileSystemSource. +func (fss FileSystemSource) MarshalJSON() ([]byte, error) { + fss.Type = TypeFileSystemSource objectMap := make(map[string]interface{}) - if gtd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = gtd.GenericDatasetTypeProperties - } - if gtd.Description != nil { - objectMap["description"] = gtd.Description - } - if gtd.Structure != nil { - objectMap["structure"] = gtd.Structure - } - if gtd.Schema != nil { - objectMap["schema"] = gtd.Schema - } - if gtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = gtd.LinkedServiceName + if fss.Recursive != nil { + objectMap["recursive"] = fss.Recursive } - if gtd.Parameters != nil { - objectMap["parameters"] = gtd.Parameters + if fss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = fss.SourceRetryCount } - if gtd.Annotations != nil { - objectMap["annotations"] = gtd.Annotations + if fss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = fss.SourceRetryWait } - if gtd.Folder != nil { - objectMap["folder"] = gtd.Folder + if fss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = fss.MaxConcurrentConnections } - if gtd.Type != "" { - objectMap["type"] = gtd.Type + if fss.Type != "" { + objectMap["type"] = fss.Type } - for k, v := range gtd.AdditionalProperties { + for k, v := range fss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsFileSystemSource() (*FileSystemSource, bool) { + return &fss, true +} + +// AsRestSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { - return >d, true +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSapTableSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsDataset() (*Dataset, bool) { +// AsTabularSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for GreenplumTableDataset. -func (gtd GreenplumTableDataset) AsBasicDataset() (BasicDataset, bool) { - return >d, true +// AsBasicTabularSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for GreenplumTableDataset struct. -func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { +// AsBinarySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { + return &fss, true +} + +// 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 { @@ -81104,14 +81421,14 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "recursive": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - gtd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + fss.Recursive = recursive } default: if v != nil { @@ -81120,82 +81437,46 @@ func (gtd *GreenplumTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if gtd.AdditionalProperties == nil { - gtd.AdditionalProperties = make(map[string]interface{}) - } - gtd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - gtd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - gtd.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - gtd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if fss.AdditionalProperties == nil { + fss.AdditionalProperties = make(map[string]interface{}) } - gtd.LinkedServiceName = &linkedServiceName + fss.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 } - gtd.Parameters = parameters + fss.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 } - gtd.Annotations = &annotations + fss.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 } - gtd.Folder = &folder + fss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - gtd.Type = typeVar + fss.Type = typeVar } } } @@ -81203,514 +81484,559 @@ 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"` +// 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:""` - // 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', '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"` + // 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 HBaseLinkedService. -func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) { - hbls.Type = TypeHBase +// MarshalJSON is the custom marshaler for FilterActivity. +func (fa FilterActivity) MarshalJSON() ([]byte, error) { + fa.Type = TypeFilter objectMap := make(map[string]interface{}) - if hbls.HBaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hbls.HBaseLinkedServiceTypeProperties + if fa.FilterActivityTypeProperties != nil { + objectMap["typeProperties"] = fa.FilterActivityTypeProperties } - if hbls.ConnectVia != nil { - objectMap["connectVia"] = hbls.ConnectVia + if fa.Name != nil { + objectMap["name"] = fa.Name } - if hbls.Description != nil { - objectMap["description"] = hbls.Description + if fa.Description != nil { + objectMap["description"] = fa.Description } - if hbls.Parameters != nil { - objectMap["parameters"] = hbls.Parameters + if fa.DependsOn != nil { + objectMap["dependsOn"] = fa.DependsOn } - if hbls.Annotations != nil { - objectMap["annotations"] = hbls.Annotations + if fa.UserProperties != nil { + objectMap["userProperties"] = fa.UserProperties } - if hbls.Type != "" { - objectMap["type"] = hbls.Type + if fa.Type != "" { + objectMap["type"] = fa.Type } - for k, v := range hbls.AdditionalProperties { + for k, v := range fa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false +// AsFilterActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) { + return &fa, true } -// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return &hbls, true -} - -// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &fa, true } -// AsConcurLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { + return &fa, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, 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 } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsRestServiceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false -} - -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false -} - -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, 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"` } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, 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', '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"` } -// AsOffice365LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, 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) } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return nil, false +// AsForEachActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsForEachActivity() (*ForEachActivity, bool) { + return &fea, true } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &fea, true } -// AsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HBaseLinkedService. -func (hbls HBaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hbls, true +// AsBasicActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsBasicActivity() (BasicActivity, bool) { + return &fea, true } -// UnmarshalJSON is the custom unmarshaler for HBaseLinkedService struct. -func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -81720,12 +82046,12 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties) + var forEachActivityTypeProperties ForEachActivityTypeProperties + err = json.Unmarshal(*v, &forEachActivityTypeProperties) if err != nil { return err } - hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties + fea.ForEachActivityTypeProperties = &forEachActivityTypeProperties } default: if v != nil { @@ -81734,19 +82060,19 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hbls.AdditionalProperties == nil { - hbls.AdditionalProperties = make(map[string]interface{}) + if fea.AdditionalProperties == nil { + fea.AdditionalProperties = make(map[string]interface{}) } - hbls.AdditionalProperties[k] = additionalProperties + fea.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "name": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - hbls.ConnectVia = &connectVia + fea.Name = &name } case "description": if v != nil { @@ -81755,34 +82081,34 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hbls.Description = &description + fea.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - hbls.Parameters = parameters + fea.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - hbls.Annotations = &annotations + fea.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hbls.Type = typeVar + fea.Type = typeVar } } } @@ -81790,34 +82116,20 @@ 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"` +// 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"` } -// UnmarshalJSON is the custom unmarshaler for HBaseLinkedServiceTypeProperties struct. -func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -81825,103 +82137,278 @@ func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "host": + case "isSequential": if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) + var isSequential bool + err = json.Unmarshal(*v, &isSequential) if err != nil { return err } - hblstp.Host = host + featp.IsSequential = &isSequential } - case "port": + case "batchCount": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var batchCount int32 + err = json.Unmarshal(*v, &batchCount) if err != nil { return err } - hblstp.Port = port + featp.BatchCount = &batchCount } - case "httpPath": + case "items": if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) + var items Expression + err = json.Unmarshal(*v, &items) if err != nil { return err } - hblstp.HTTPPath = HTTPPath + featp.Items = &items } - case "authenticationType": + case "activities": if v != nil { - var authenticationType HBaseAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + activities, err := unmarshalBasicActivityArray(*v) if err != nil { return err } - hblstp.AuthenticationType = authenticationType + featp.Activities = &activities } - case "username": + } + } + + return nil +} + +// 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"` +} + +// 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) +} + +// 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 username interface{} - err = json.Unmarshal(*v, &username) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hblstp.Username = username + if frs.AdditionalProperties == nil { + frs.AdditionalProperties = make(map[string]interface{}) + } + frs.AdditionalProperties[k] = additionalProperties } - case "password": + case "type": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hblstp.Password = password + frs.Type = &typeVar } - case "enableSsl": + } + } + + 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 enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hblstp.EnableSsl = enableSsl + if fws.AdditionalProperties == nil { + fws.AdditionalProperties = make(map[string]interface{}) + } + fws.AdditionalProperties[k] = additionalProperties } - case "trustedCertPath": + case "type": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hblstp.TrustedCertPath = trustedCertPath + fws.Type = &typeVar } - case "allowHostNameCNMismatch": + } + } + + 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 allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - hblstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + frs.Recursive = recursive } - case "allowSelfSignedServerCert": + case "wildcardFolderPath": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) if err != nil { return err } - hblstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + frs.WildcardFolderPath = wildcardFolderPath } - case "encryptedCredential": + case "wildcardFileName": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var wildcardFileName interface{} + err = json.Unmarshal(*v, &wildcardFileName) if err != nil { return err } - hblstp.EncryptedCredential = encryptedCredential + 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 } } } @@ -81929,484 +82416,534 @@ func (hblstp *HBaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// HBaseObjectDataset hBase server dataset. -type HBaseObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDB', '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 HBaseObjectDataset. -func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { - hbod.Type = TypeHBaseObject +// MarshalJSON is the custom marshaler for FtpServerLinkedService. +func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { + fsls.Type = TypeFtpServer 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 fsls.FtpServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = fsls.FtpServerLinkedServiceTypeProperties } - if hbod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hbod.LinkedServiceName + if fsls.ConnectVia != nil { + objectMap["connectVia"] = fsls.ConnectVia } - if hbod.Parameters != nil { - objectMap["parameters"] = hbod.Parameters + if fsls.Description != nil { + objectMap["description"] = fsls.Description } - if hbod.Annotations != nil { - objectMap["annotations"] = hbod.Annotations + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters } - if hbod.Folder != nil { - objectMap["folder"] = hbod.Folder + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations } - if hbod.Type != "" { - objectMap["type"] = hbod.Type + if fsls.Type != "" { + objectMap["type"] = fsls.Type } - for k, v := range hbod.AdditionalProperties { + for k, v := range fsls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return &hbod, true +// AsMariaDBLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// 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 } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset. -func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &hbod, true +// AsDynamicsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false } -// 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 { - return err - } - for k, v := range m { - switch k { - case "typeProperties": +// 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var ftpServerLinkedServiceTypeProperties FtpServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &ftpServerLinkedServiceTypeProperties) if err != nil { return err } - hbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + fsls.FtpServerLinkedServiceTypeProperties = &ftpServerLinkedServiceTypeProperties } default: if v != nil { @@ -82415,10 +82952,19 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hbod.AdditionalProperties == nil { - hbod.AdditionalProperties = make(map[string]interface{}) + if fsls.AdditionalProperties == nil { + fsls.AdditionalProperties = make(map[string]interface{}) } - hbod.AdditionalProperties[k] = additionalProperties + 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 { @@ -82427,70 +82973,140 @@ func (hbod *HBaseObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hbod.Description = &description + fsls.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 } - hbod.Structure = structure + fsls.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 } - hbod.Schema = schema + fsls.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 } - hbod.LinkedServiceName = &linkedServiceName + fsls.Type = typeVar } - case "parameters": + } + } + + 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 parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - hbod.Parameters = parameters + fslstp.Host = host } - case "annotations": + case "port": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - hbod.Annotations = &annotations + fslstp.Port = port } - case "folder": + case "authenticationType": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var authenticationType FtpAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - hbod.Folder = &folder + fslstp.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 } - hbod.Type = typeVar + fslstp.UserName = userName + } + 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 + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err + } + fslstp.EnableSsl = enableSsl + } + case "enableServerCertificateValidation": + if v != nil { + var enableServerCertificateValidation interface{} + err = json.Unmarshal(*v, &enableServerCertificateValidation) + if err != nil { + return err + } + fslstp.EnableServerCertificateValidation = enableServerCertificateValidation } } } @@ -82498,459 +83114,339 @@ 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"` +// 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:""` - // 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"` + // 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 HBaseSource. -func (hbs HBaseSource) MarshalJSON() ([]byte, error) { - hbs.Type = TypeHBaseSource +// MarshalJSON is the custom marshaler for FtpServerLocation. +func (fsl FtpServerLocation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hbs.Query != nil { - objectMap["query"] = hbs.Query - } - if hbs.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = hbs.SourceRetryCount - } - if hbs.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = hbs.SourceRetryWait + if fsl.Type != nil { + objectMap["type"] = fsl.Type } - if hbs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hbs.MaxConcurrentConnections + if fsl.FolderPath != nil { + objectMap["folderPath"] = fsl.FolderPath } - if hbs.Type != "" { - objectMap["type"] = hbs.Type + if fsl.FileName != nil { + objectMap["fileName"] = fsl.FileName } - for k, v := range hbs.AdditionalProperties { + for k, v := range fsl.AdditionalProperties { objectMap[k] = v } 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 -} - -// AsSparkSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false -} - -// 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 -} - -// AsJiraSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHiveSource() (*HiveSource, 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) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} - -// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false -} - -// AsHTTPSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} +// 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 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 + } + } + } -// AsCassandraSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) { - return nil, false + return nil } -// AsWebSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsWebSource() (*WebSource, bool) { - return nil, false +// 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"` } -// AsTeradataSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsTeradataSource() (*TeradataSource, bool) { - return nil, false +// 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"` + // 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"` } -// AsOracleSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for GetMetadataActivity. +func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) { + gma.Type = TypeGetMetadata + 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 gma.Name != nil { + objectMap["name"] = gma.Name + } + if gma.Description != nil { + objectMap["description"] = gma.Description + } + if gma.DependsOn != nil { + objectMap["dependsOn"] = gma.DependsOn + } + if gma.UserProperties != nil { + objectMap["userProperties"] = gma.UserProperties + } + if gma.Type != "" { + objectMap["type"] = gma.Type + } + for k, v := range gma.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLMISource() (*SQLMISource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLServerSource() (*SQLServerSource, bool) { - return nil, false +// AsGetMetadataActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return &gma, true } -// AsSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) { +// AsWebActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsRestSource() (*RestSource, bool) { +// AsLookupActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsDeleteActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCustomActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsODataSource() (*ODataSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsSybaseSource() (*SybaseSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMySQLSource() (*MySQLSource, bool) { +// AsCopyActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsOdbcSource() (*OdbcSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDb2Source() (*Db2Source, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &gma, true } -// AsMicrosoftAccessSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsWebHookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsInformixSource() (*InformixSource, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSetVariableActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsValidationActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsWaitActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsBlobSource() (*BlobSource, bool) { +// AsForEachActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsBinarySource() (*BinarySource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsControlActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicControlActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsCopySource() (*CopySource, bool) { +// AsActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HBaseSource. -func (hbs HBaseSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hbs, true +// AsBasicActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsBasicActivity() (BasicActivity, bool) { + return &gma, true } -// UnmarshalJSON is the custom unmarshaler for HBaseSource struct. -func (hbs *HBaseSource) 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 { @@ -82958,14 +83454,32 @@ func (hbs *HBaseSource) 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 getMetadataActivityTypeProperties GetMetadataActivityTypeProperties + err = json.Unmarshal(*v, &getMetadataActivityTypeProperties) if err != nil { return err } - hbs.Query = query + 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 { @@ -82974,46 +83488,55 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hbs.AdditionalProperties == nil { - hbs.AdditionalProperties = make(map[string]interface{}) + if gma.AdditionalProperties == nil { + gma.AdditionalProperties = make(map[string]interface{}) } - hbs.AdditionalProperties[k] = additionalProperties + gma.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 } - hbs.SourceRetryCount = sourceRetryCount + gma.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 } - hbs.SourceRetryWait = sourceRetryWait + gma.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 } - hbs.MaxConcurrentConnections = maxConcurrentConnections + 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 TypeBasicCopySource + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hbs.Type = typeVar + gma.Type = typeVar } } } @@ -83021,10 +83544,41 @@ 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"` +// 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. @@ -83035,500 +83589,505 @@ type HdfsLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 HdfsLinkedService. -func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { - hls.Type = TypeHdfs +// MarshalJSON is the custom marshaler for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) MarshalJSON() ([]byte, error) { + gawls.Type = TypeGoogleAdWords objectMap := make(map[string]interface{}) - if hls.HdfsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties + if gawls.GoogleAdWordsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gawls.GoogleAdWordsLinkedServiceTypeProperties } - if hls.ConnectVia != nil { - objectMap["connectVia"] = hls.ConnectVia + if gawls.ConnectVia != nil { + objectMap["connectVia"] = gawls.ConnectVia } - if hls.Description != nil { - objectMap["description"] = hls.Description + if gawls.Description != nil { + objectMap["description"] = gawls.Description } - if hls.Parameters != nil { - objectMap["parameters"] = hls.Parameters + if gawls.Parameters != nil { + objectMap["parameters"] = gawls.Parameters } - if hls.Annotations != nil { - objectMap["annotations"] = hls.Annotations + if gawls.Annotations != nil { + objectMap["annotations"] = gawls.Annotations } - if hls.Type != "" { - objectMap["type"] = hls.Type + if gawls.Type != "" { + objectMap["type"] = gawls.Type } - for k, v := range hls.AdditionalProperties { + for k, v := range gawls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, 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 HdfsLinkedService. -func (hls HdfsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return &hls, true +// AsODataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService. -func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsLinkedService is the BasicLinkedService implementation for GoogleAdWordsLinkedService. +func (gawls GoogleAdWordsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HdfsLinkedService struct. -func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -83538,12 +84097,12 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties) + var googleAdWordsLinkedServiceTypeProperties GoogleAdWordsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &googleAdWordsLinkedServiceTypeProperties) if err != nil { return err } - hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties + gawls.GoogleAdWordsLinkedServiceTypeProperties = &googleAdWordsLinkedServiceTypeProperties } default: if v != nil { @@ -83552,10 +84111,10 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hls.AdditionalProperties == nil { - hls.AdditionalProperties = make(map[string]interface{}) + if gawls.AdditionalProperties == nil { + gawls.AdditionalProperties = make(map[string]interface{}) } - hls.AdditionalProperties[k] = additionalProperties + gawls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -83564,7 +84123,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.ConnectVia = &connectVia + gawls.ConnectVia = &connectVia } case "description": if v != nil { @@ -83573,7 +84132,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Description = &description + gawls.Description = &description } case "parameters": if v != nil { @@ -83582,7 +84141,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Parameters = parameters + gawls.Parameters = parameters } case "annotations": if v != nil { @@ -83591,7 +84150,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Annotations = &annotations + gawls.Annotations = &annotations } case "type": if v != nil { @@ -83600,7 +84159,7 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Type = typeVar + gawls.Type = typeVar } } } @@ -83608,22 +84167,34 @@ 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"` +// 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"` - // 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 GoogleAdWordsLinkedServiceTypeProperties struct. +func (gawlstp *GoogleAdWordsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -83631,133 +84202,100 @@ func (hlstp *HdfsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "url": + case "clientCustomerID": if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) + var clientCustomerID interface{} + err = json.Unmarshal(*v, &clientCustomerID) if err != nil { return err } - hlstp.URL = URL + 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 interface{} + var authenticationType GoogleAdWordsAuthenticationType err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - hlstp.AuthenticationType = authenticationType + gawlstp.AuthenticationType = authenticationType } - case "encryptedCredential": + case "refreshToken": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + refreshToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - hlstp.EncryptedCredential = encryptedCredential + gawlstp.RefreshToken = refreshToken } - case "userName": + case "clientId": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + clientID, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - hlstp.UserName = userName + gawlstp.ClientID = clientID } - case "password": + case "clientSecret": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - hlstp.Password = password + gawlstp.ClientSecret = clientSecret } - } - } - - return nil -} - -// HdfsLocation the location of HDFS. -type HdfsLocation 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 HdfsLocation. -func (hl HdfsLocation) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if hl.Type != nil { - objectMap["type"] = hl.Type - } - if hl.FolderPath != nil { - objectMap["folderPath"] = hl.FolderPath - } - if hl.FileName != nil { - objectMap["fileName"] = hl.FileName - } - for k, v := range hl.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// 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 { - return err - } - for k, v := range m { - switch k { - default: + case "email": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var email interface{} + err = json.Unmarshal(*v, &email) if err != nil { return err } - if hl.AdditionalProperties == nil { - hl.AdditionalProperties = make(map[string]interface{}) + gawlstp.Email = email + } + case "keyFilePath": + if v != nil { + var keyFilePath interface{} + err = json.Unmarshal(*v, &keyFilePath) + if err != nil { + return err } - hl.AdditionalProperties[k] = additionalProperties + gawlstp.KeyFilePath = keyFilePath } - case "type": + case "trustedCertPath": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) if err != nil { return err } - hl.Type = &typeVar + gawlstp.TrustedCertPath = trustedCertPath } - case "folderPath": + case "useSystemTrustStore": if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) if err != nil { return err } - hl.FolderPath = folderPath + gawlstp.UseSystemTrustStore = useSystemTrustStore } - case "fileName": + case "encryptedCredential": if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - hl.FileName = fileName + gawlstp.EncryptedCredential = encryptedCredential } } } @@ -83765,632 +84303,504 @@ func (hl *HdfsLocation) UnmarshalJSON(body []byte) error { return nil } -// 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"` +// 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:""` - // 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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HdfsReadSettings. -func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) MarshalJSON() ([]byte, error) { + gawod.Type = TypeGoogleAdWordsObject objectMap := make(map[string]interface{}) - if hrs.Recursive != nil { - objectMap["recursive"] = hrs.Recursive + if gawod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = gawod.GenericDatasetTypeProperties } - if hrs.WildcardFolderPath != nil { - objectMap["wildcardFolderPath"] = hrs.WildcardFolderPath + if gawod.Description != nil { + objectMap["description"] = gawod.Description } - if hrs.WildcardFileName != nil { - objectMap["wildcardFileName"] = hrs.WildcardFileName + if gawod.Structure != nil { + objectMap["structure"] = gawod.Structure } - if hrs.EnablePartitionDiscovery != nil { - objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery + if gawod.Schema != nil { + objectMap["schema"] = gawod.Schema } - if hrs.ModifiedDatetimeStart != nil { - objectMap["modifiedDatetimeStart"] = hrs.ModifiedDatetimeStart + if gawod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gawod.LinkedServiceName } - if hrs.ModifiedDatetimeEnd != nil { - objectMap["modifiedDatetimeEnd"] = hrs.ModifiedDatetimeEnd + if gawod.Parameters != nil { + objectMap["parameters"] = gawod.Parameters } - if hrs.DistcpSettings != nil { - objectMap["distcpSettings"] = hrs.DistcpSettings + if gawod.Annotations != nil { + objectMap["annotations"] = gawod.Annotations } - if hrs.Type != nil { - objectMap["type"] = hrs.Type + if gawod.Folder != nil { + objectMap["folder"] = gawod.Folder } - if hrs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = hrs.MaxConcurrentConnections + if gawod.Type != "" { + objectMap["type"] = gawod.Type } - for k, v := range hrs.AdditionalProperties { + for k, v := range gawod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// 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 { - 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 - } - hrs.Recursive = recursive - } - case "wildcardFolderPath": - if v != nil { - var wildcardFolderPath interface{} - err = json.Unmarshal(*v, &wildcardFolderPath) - if err != nil { - return err - } - hrs.WildcardFolderPath = wildcardFolderPath - } - case "wildcardFileName": - if v != nil { - var wildcardFileName interface{} - err = json.Unmarshal(*v, &wildcardFileName) - if err != nil { - return err - } - hrs.WildcardFileName = wildcardFileName - } - case "enablePartitionDiscovery": - if v != nil { - var enablePartitionDiscovery bool - err = json.Unmarshal(*v, &enablePartitionDiscovery) - if err != nil { - return err - } - hrs.EnablePartitionDiscovery = &enablePartitionDiscovery - } - case "modifiedDatetimeStart": - if v != nil { - var modifiedDatetimeStart interface{} - err = json.Unmarshal(*v, &modifiedDatetimeStart) - if err != nil { - return err - } - hrs.ModifiedDatetimeStart = modifiedDatetimeStart - } - case "modifiedDatetimeEnd": - if v != nil { - var modifiedDatetimeEnd interface{} - err = json.Unmarshal(*v, &modifiedDatetimeEnd) - if err != nil { - return err - } - hrs.ModifiedDatetimeEnd = modifiedDatetimeEnd - } - case "distcpSettings": - if v != nil { - var distcpSettings DistcpSettings - err = json.Unmarshal(*v, &distcpSettings) - if err != nil { - return err - } - hrs.DistcpSettings = &distcpSettings - } - 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 - } - } - } +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { + return &gawod, true +} - return nil +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { + return nil, false } -// 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"` +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { + return nil, false } -// 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) +// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsWebSource() (*WebSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsTeradataSource() (*TeradataSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsHdfsSource() (*HdfsSource, bool) { - return &hs, true +// AsMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLMISource() (*SQLMISource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsRestSource() (*RestSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsODataSource() (*ODataSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsSybaseSource() (*SybaseSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMySQLSource() (*MySQLSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsOdbcSource() (*OdbcSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDb2Source() (*Db2Source, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsCustomDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsInformixSource() (*InformixSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsJSONDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsBinarySource() (*BinarySource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsParquetDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsParquetSource() (*ParquetSource, bool) { +// AsAvroDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsCopySource() (*CopySource, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HdfsSource. -func (hs HdfsSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HdfsSource struct. -func (hs *HdfsSource) UnmarshalJSON(body []byte) error { +// AsBasicDataset is the BasicDataset implementation for GoogleAdWordsObjectDataset. +func (gawod GoogleAdWordsObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &gawod, true +} + +// 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 { @@ -84398,23 +84808,14 @@ func (hs *HdfsSource) UnmarshalJSON(body []byte) error { } 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 - } - hs.Recursive = recursive - } - case "distcpSettings": + case "typeProperties": if v != nil { - var distcpSettings DistcpSettings - err = json.Unmarshal(*v, &distcpSettings) + var genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - hs.DistcpSettings = &distcpSettings + gawod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -84423,46 +84824,82 @@ func (hs *HdfsSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) + if gawod.AdditionalProperties == nil { + gawod.AdditionalProperties = make(map[string]interface{}) } - hs.AdditionalProperties[k] = additionalProperties + gawod.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 } - hs.SourceRetryCount = sourceRetryCount + gawod.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 } - hs.SourceRetryWait = sourceRetryWait + gawod.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 } - hs.MaxConcurrentConnections = maxConcurrentConnections + gawod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + gawod.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + gawod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + gawod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + gawod.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 + gawod.Type = typeVar } } } @@ -84470,249 +84907,494 @@ 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"` +// 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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { + gaws.Type = TypeGoogleAdWordsSource objectMap := make(map[string]interface{}) - if hiha.HDInsightHiveActivityTypeProperties != nil { - objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties - } - if hiha.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hiha.LinkedServiceName - } - if hiha.Policy != nil { - objectMap["policy"] = hiha.Policy + if gaws.Query != nil { + objectMap["query"] = gaws.Query } - if hiha.Name != nil { - objectMap["name"] = hiha.Name + if gaws.QueryTimeout != nil { + objectMap["queryTimeout"] = gaws.QueryTimeout } - if hiha.Description != nil { - objectMap["description"] = hiha.Description + if gaws.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gaws.SourceRetryCount } - if hiha.DependsOn != nil { - objectMap["dependsOn"] = hiha.DependsOn + if gaws.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gaws.SourceRetryWait } - if hiha.UserProperties != nil { - objectMap["userProperties"] = hiha.UserProperties + if gaws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gaws.MaxConcurrentConnections } - if hiha.Type != "" { - objectMap["type"] = hiha.Type + if gaws.Type != "" { + objectMap["type"] = gaws.Type } - for k, v := range hiha.AdditionalProperties { + for k, v := range gaws.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsRestSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsODataSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { - return &hiha, true +// AsDynamicsSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hiha, true +// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsWebHookActivity() (*WebHookActivity, 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 } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsServiceNowSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity. -func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) { - return &hiha, true +// AsPrestoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HDInsightHiveActivity struct. -func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { +// AsPhoenixSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// AsPostgreSQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &gaws, true +} + +// AsBinarySource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for GoogleAdWordsSource. +func (gaws GoogleAdWordsSource) AsAvroSource() (*AvroSource, 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 { @@ -84720,32 +85402,23 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { } 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": + case "query": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hiha.LinkedServiceName = &linkedServiceName + gaws.Query = query } - case "policy": + case "queryTimeout": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - hiha.Policy = &policy + gaws.QueryTimeout = queryTimeout } default: if v != nil { @@ -84754,55 +85427,46 @@ func (hiha *HDInsightHiveActivity) UnmarshalJSON(body []byte) error { 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 + if gaws.AdditionalProperties == nil { + gaws.AdditionalProperties = make(map[string]interface{}) } - hiha.Name = &name + gaws.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 } - hiha.Description = &description + gaws.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 } - hiha.DependsOn = &dependsOn + gaws.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 } - hiha.UserProperties = &userProperties + gaws.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hiha.Type = typeVar + gaws.Type = typeVar } } } @@ -84810,60 +85474,20 @@ 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) +// 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"` } -// HDInsightLinkedService hDInsight linked service. -type HDInsightLinkedService struct { - // HDInsightLinkedServiceTypeProperties - HDInsight linked service properties. - *HDInsightLinkedServiceTypeProperties `json:"typeProperties,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:""` // ConnectVia - The integration runtime reference. @@ -84874,500 +85498,505 @@ type HDInsightLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 +// MarshalJSON is the custom marshaler for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { + gbqls.Type = TypeGoogleBigQuery objectMap := make(map[string]interface{}) - if hils.HDInsightLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hils.HDInsightLinkedServiceTypeProperties + if gbqls.GoogleBigQueryLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gbqls.GoogleBigQueryLinkedServiceTypeProperties } - if hils.ConnectVia != nil { - objectMap["connectVia"] = hils.ConnectVia + if gbqls.ConnectVia != nil { + objectMap["connectVia"] = gbqls.ConnectVia } - if hils.Description != nil { - objectMap["description"] = hils.Description + if gbqls.Description != nil { + objectMap["description"] = gbqls.Description } - if hils.Parameters != nil { - objectMap["parameters"] = hils.Parameters + if gbqls.Parameters != nil { + objectMap["parameters"] = gbqls.Parameters } - if hils.Annotations != nil { - objectMap["annotations"] = hils.Annotations + if gbqls.Annotations != nil { + objectMap["annotations"] = gbqls.Annotations } - if hils.Type != "" { - objectMap["type"] = hils.Type + if gbqls.Type != "" { + objectMap["type"] = gbqls.Type } - for k, v := range hils.AdditionalProperties { + for k, v := range gbqls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return &gbqls, true } -// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return &hils, true +// AsFileServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. -func (hils HDInsightLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hils, true +// AsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HDInsightLinkedService struct. -func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -85377,12 +86006,12 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties) + var googleBigQueryLinkedServiceTypeProperties GoogleBigQueryLinkedServiceTypeProperties + err = json.Unmarshal(*v, &googleBigQueryLinkedServiceTypeProperties) if err != nil { return err } - hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties + gbqls.GoogleBigQueryLinkedServiceTypeProperties = &googleBigQueryLinkedServiceTypeProperties } default: if v != nil { @@ -85391,10 +86020,10 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hils.AdditionalProperties == nil { - hils.AdditionalProperties = make(map[string]interface{}) + if gbqls.AdditionalProperties == nil { + gbqls.AdditionalProperties = make(map[string]interface{}) } - hils.AdditionalProperties[k] = additionalProperties + gbqls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -85403,7 +86032,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hils.ConnectVia = &connectVia + gbqls.ConnectVia = &connectVia } case "description": if v != nil { @@ -85412,7 +86041,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hils.Description = &description + gbqls.Description = &description } case "parameters": if v != nil { @@ -85421,7 +86050,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hils.Parameters = parameters + gbqls.Parameters = parameters } case "annotations": if v != nil { @@ -85430,7 +86059,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hils.Annotations = &annotations + gbqls.Annotations = &annotations } case "type": if v != nil { @@ -85439,7 +86068,7 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hils.Type = typeVar + gbqls.Type = typeVar } } } @@ -85447,28 +86076,36 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { 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"` +// 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"` - // 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 { +// 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 { @@ -85476,416 +86113,110 @@ func (hilstp *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e } 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": + case "project": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var project interface{} + err = json.Unmarshal(*v, &project) if err != nil { return err } - hilstp.EncryptedCredential = encryptedCredential + gbqlstp.Project = project } - case "isEspEnabled": + case "additionalProjects": if v != nil { - var isEspEnabled interface{} - err = json.Unmarshal(*v, &isEspEnabled) + var additionalProjects interface{} + err = json.Unmarshal(*v, &additionalProjects) if err != nil { return err } - hilstp.IsEspEnabled = isEspEnabled + gbqlstp.AdditionalProjects = additionalProjects } - case "fileSystem": + case "requestGoogleDriveScope": if v != nil { - var fileSystem interface{} - err = json.Unmarshal(*v, &fileSystem) + var requestGoogleDriveScope interface{} + err = json.Unmarshal(*v, &requestGoogleDriveScope) if err != nil { return err } - hilstp.FileSystem = fileSystem + gbqlstp.RequestGoogleDriveScope = requestGoogleDriveScope } - } - } - - 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', '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 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 -} - -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightMapReduceActivity. -func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, 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": + case "authenticationType": if v != nil { - var hDInsightMapReduceActivityTypeProperties HDInsightMapReduceActivityTypeProperties - err = json.Unmarshal(*v, &hDInsightMapReduceActivityTypeProperties) + var authenticationType GoogleBigQueryAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - himra.HDInsightMapReduceActivityTypeProperties = &hDInsightMapReduceActivityTypeProperties + gbqlstp.AuthenticationType = authenticationType } - case "linkedServiceName": + case "refreshToken": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + refreshToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - himra.LinkedServiceName = &linkedServiceName + gbqlstp.RefreshToken = refreshToken } - case "policy": + case "clientId": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + clientID, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - himra.Policy = &policy + gbqlstp.ClientID = clientID } - default: + case "clientSecret": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - if himra.AdditionalProperties == nil { - himra.AdditionalProperties = make(map[string]interface{}) - } - himra.AdditionalProperties[k] = additionalProperties + gbqlstp.ClientSecret = clientSecret } - case "name": + case "email": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var email interface{} + err = json.Unmarshal(*v, &email) if err != nil { return err } - himra.Name = &name + gbqlstp.Email = email } - case "description": + case "keyFilePath": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var keyFilePath interface{} + err = json.Unmarshal(*v, &keyFilePath) if err != nil { return err } - himra.Description = &description + gbqlstp.KeyFilePath = keyFilePath } - case "dependsOn": + case "trustedCertPath": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) if err != nil { return err } - himra.DependsOn = &dependsOn + gbqlstp.TrustedCertPath = trustedCertPath } - case "userProperties": + case "useSystemTrustStore": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) if err != nil { return err } - himra.UserProperties = &userProperties + gbqlstp.UseSystemTrustStore = useSystemTrustStore } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - himra.Type = typeVar + gbqlstp.EncryptedCredential = encryptedCredential } } } @@ -85893,564 +86224,504 @@ 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) -} - -// HDInsightOnDemandLinkedService hDInsight ondemand linked service. -type HDInsightOnDemandLinkedService struct { - // HDInsightOnDemandLinkedServiceTypeProperties - HDInsight ondemand linked service properties. - *HDInsightOnDemandLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// GoogleBigQueryObjectDataset google BigQuery service dataset. +type GoogleBigQueryObjectDataset struct { + // 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `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 GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { + gbqod.Type = TypeGoogleBigQueryObject objectMap := make(map[string]interface{}) - if hiodls.HDInsightOnDemandLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hiodls.HDInsightOnDemandLinkedServiceTypeProperties + if gbqod.GoogleBigQueryDatasetTypeProperties != nil { + objectMap["typeProperties"] = gbqod.GoogleBigQueryDatasetTypeProperties } - if hiodls.ConnectVia != nil { - objectMap["connectVia"] = hiodls.ConnectVia + if gbqod.Description != nil { + objectMap["description"] = gbqod.Description } - if hiodls.Description != nil { - objectMap["description"] = hiodls.Description + if gbqod.Structure != nil { + objectMap["structure"] = gbqod.Structure } - if hiodls.Parameters != nil { - objectMap["parameters"] = hiodls.Parameters + if gbqod.Schema != nil { + objectMap["schema"] = gbqod.Schema } - if hiodls.Annotations != nil { - objectMap["annotations"] = hiodls.Annotations + if gbqod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = gbqod.LinkedServiceName } - if hiodls.Type != "" { - objectMap["type"] = hiodls.Type + if gbqod.Parameters != nil { + objectMap["parameters"] = gbqod.Parameters } - for k, v := range hiodls.AdditionalProperties { + if gbqod.Annotations != nil { + objectMap["annotations"] = gbqod.Annotations + } + if gbqod.Folder != nil { + objectMap["folder"] = gbqod.Folder + } + if gbqod.Type != "" { + objectMap["type"] = gbqod.Type + } + for k, v := range gbqod.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) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, 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) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return &gbqod, true } -// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. -func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hiodls, true +// AsBasicDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &gbqod, true } -// UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedService struct. -func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -86460,12 +86731,12 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties) + var googleBigQueryDatasetTypeProperties GoogleBigQueryDatasetTypeProperties + err = json.Unmarshal(*v, &googleBigQueryDatasetTypeProperties) if err != nil { return err } - hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties + gbqod.GoogleBigQueryDatasetTypeProperties = &googleBigQueryDatasetTypeProperties } default: if v != nil { @@ -86474,28 +86745,46 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hiodls.AdditionalProperties == nil { - hiodls.AdditionalProperties = make(map[string]interface{}) + if gbqod.AdditionalProperties == nil { + gbqod.AdditionalProperties = make(map[string]interface{}) } - hiodls.AdditionalProperties[k] = additionalProperties + gbqod.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 } - hiodls.ConnectVia = &connectVia + gbqod.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 } - hiodls.Description = &description + gbqod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + gbqod.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + gbqod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -86504,7 +86793,7 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hiodls.Parameters = parameters + gbqod.Parameters = parameters } case "annotations": if v != nil { @@ -86513,395 +86802,25 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { 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 + gbqod.Annotations = &annotations } - case "virtualNetworkId": + case "folder": if v != nil { - var virtualNetworkID interface{} - err = json.Unmarshal(*v, &virtualNetworkID) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - hiodlstp.VirtualNetworkID = virtualNetworkID + gbqod.Folder = &folder } - case "subnetName": + case "type": if v != nil { - var subnetName interface{} - err = json.Unmarshal(*v, &subnetName) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hiodlstp.SubnetName = subnetName + gbqod.Type = typeVar } } } @@ -86909,629 +86828,494 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body 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"` +// 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"` + // 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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) { + gbqs.Type = TypeGoogleBigQuerySource 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 gbqs.Query != nil { + objectMap["query"] = gbqs.Query } - if hipa.Name != nil { - objectMap["name"] = hipa.Name + if gbqs.QueryTimeout != nil { + objectMap["queryTimeout"] = gbqs.QueryTimeout } - if hipa.Description != nil { - objectMap["description"] = hipa.Description + if gbqs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gbqs.SourceRetryCount } - if hipa.DependsOn != nil { - objectMap["dependsOn"] = hipa.DependsOn + if gbqs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gbqs.SourceRetryWait } - if hipa.UserProperties != nil { - objectMap["userProperties"] = hipa.UserProperties + if gbqs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gbqs.MaxConcurrentConnections } - if hipa.Type != "" { - objectMap["type"] = hipa.Type + if gbqs.Type != "" { + objectMap["type"] = gbqs.Type } - for k, v := range hipa.AdditionalProperties { + for k, v := range gbqs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsHTTPSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsOffice365Source is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMongoDbSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsWebSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) { +// AsOracleSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsHdfsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsFileSystemSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsRestSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsODataSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsRelationalSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { - return &hipa, true +// AsDynamicsCrmSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsDynamicsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsBlobSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hipa, true +// AsAmazonRedshiftSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsResponsysSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsXeroSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSquareSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) { +// AsSparkSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsShopifySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) { +// AsServiceNowSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity. -func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) { - return &hipa, true +// AsQuickBooksSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// 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 - } - } - } +// AsPrestoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} - return nil +// AsPhoenixSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// 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"` +// AsPaypalSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// 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) +// AsMarketoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// 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', '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"` +// AsAzureMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false } -// 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) +// AsMariaDBSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsMagentoSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsJiraSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsImpalaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsHubspotSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsHiveSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsHBaseSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsGreenplumSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// 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) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) { +// AsDrillSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsConcurSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsCassandraSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsTeradataSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { - return &hisa, true +// AsAzureMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSQLDWSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSQLMISource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSQLServerSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsSapTableSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hisa, true +// AsSapOpenHubSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsSapHanaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsSapEccSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsSalesforceSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsSapBwSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsSybaseSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsMySQLSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsOdbcSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsDb2Source is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) { +// AsInformixSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsAzureTableSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) { +// AsTabularSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity. -func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) { - return &hisa, true +// AsBasicTabularSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &gbqs, true } -// UnmarshalJSON is the custom unmarshaler for HDInsightSparkActivity struct. -func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error { +// AsBinarySource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsAvroSource() (*AvroSource, 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 { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -87539,32 +87323,23 @@ func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error { } 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": + case "query": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hisa.LinkedServiceName = &linkedServiceName + gbqs.Query = query } - case "policy": + case "queryTimeout": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - hisa.Policy = &policy + gbqs.QueryTimeout = queryTimeout } default: if v != nil { @@ -87573,55 +87348,46 @@ func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error { 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 + if gbqs.AdditionalProperties == nil { + gbqs.AdditionalProperties = make(map[string]interface{}) } - hisa.Name = &name + 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 } - hisa.Description = &description + gbqs.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 } - hisa.DependsOn = &dependsOn + gbqs.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 } - hisa.UserProperties = &userProperties + gbqs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicActivity + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hisa.Type = typeVar + gbqs.Type = typeVar } } } @@ -87629,1093 +87395,1106 @@ func (hisa *HDInsightSparkActivity) UnmarshalJSON(body []byte) error { 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) +// 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"` } -// 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"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDB', '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 HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) { - hisa.Type = TypeHDInsightStreaming +// MarshalJSON is the custom marshaler for GreenplumLinkedService. +func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { + gls.Type = TypeGreenplum 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 gls.GreenplumLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = gls.GreenplumLinkedServiceTypeProperties } - if hisa.Name != nil { - objectMap["name"] = hisa.Name + if gls.ConnectVia != nil { + objectMap["connectVia"] = gls.ConnectVia } - if hisa.Description != nil { - objectMap["description"] = hisa.Description + if gls.Description != nil { + objectMap["description"] = gls.Description } - if hisa.DependsOn != nil { - objectMap["dependsOn"] = hisa.DependsOn + if gls.Parameters != nil { + objectMap["parameters"] = gls.Parameters } - if hisa.UserProperties != nil { - objectMap["userProperties"] = hisa.UserProperties + if gls.Annotations != nil { + objectMap["annotations"] = gls.Annotations } - if hisa.Type != "" { - objectMap["type"] = hisa.Type + if gls.Type != "" { + objectMap["type"] = gls.Type } - for k, v := range hisa.AdditionalProperties { + for k, v := range gls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { - return &hisa, true +// AsSparkLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &hisa, true +// AsPaypalLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// AsWebHookActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { - return nil, false +// AsGreenplumLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return &gls, true } -// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity. -func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) { - return &hisa, true +// AsCouchbaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false } -// 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 +// AsConcurLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// 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"` +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false } -// 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) +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false } -// 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"` +// AsSapHanaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// 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) +// AsSapBWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return &hls, true +// AsSybaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false +// AsBasicLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &gls, true } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false +// 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var greenplumLinkedServiceTypeProperties GreenplumLinkedServiceTypeProperties + err = json.Unmarshal(*v, &greenplumLinkedServiceTypeProperties) + if err != nil { + return err + } + gls.GreenplumLinkedServiceTypeProperties = &greenplumLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + 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 + } + gls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + gls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + 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 TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + gls.Type = typeVar + } + } + } + + return nil } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false +// 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"` } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false +// 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsOffice365LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// MarshalJSON is the custom marshaler for GreenplumSource. +func (gs GreenplumSource) MarshalJSON() ([]byte, error) { + gs.Type = TypeGreenplumSource + objectMap := make(map[string]interface{}) + if gs.Query != nil { + objectMap["query"] = gs.Query + } + if gs.QueryTimeout != nil { + objectMap["queryTimeout"] = gs.QueryTimeout + } + if gs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = gs.SourceRetryCount + } + if gs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = gs.SourceRetryWait + } + if gs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = gs.MaxConcurrentConnections + } + if gs.Type != "" { + objectMap["type"] = gs.Type + } + for k, v := range gs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsHTTPSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) 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 HiveLinkedService. -func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HiveLinkedService. -func (hls HiveLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsPrestoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// 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 - } - } - } +// AsPhoenixSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} - return nil +// AsPaypalSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// 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"` +// AsMarketoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HiveLinkedServiceTypeProperties struct. -func (hlstp *HiveLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// AsAzureMariaDBSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsGreenplumSource() (*GreenplumSource, bool) { + return &gs, true +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// AsPostgreSQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &gs, true +} + +// AsBinarySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for GreenplumSource. +func (gs GreenplumSource) AsBasicCopySource() (BasicCopySource, bool) { + return &gs, true +} + +// 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 { @@ -88723,157 +88502,71 @@ func (hlstp *HiveLinkedServiceTypeProperties) 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 - } - 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": + case "query": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - hlstp.Password = password + gs.Query = query } - case "httpPath": + case "queryTimeout": if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - hlstp.HTTPPath = HTTPPath + gs.QueryTimeout = queryTimeout } - case "enableSsl": + default: if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) 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 + if gs.AdditionalProperties == nil { + gs.AdditionalProperties = make(map[string]interface{}) } - hlstp.TrustedCertPath = trustedCertPath + gs.AdditionalProperties[k] = additionalProperties } - case "useSystemTrustStore": + case "sourceRetryCount": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hlstp.UseSystemTrustStore = useSystemTrustStore + gs.SourceRetryCount = sourceRetryCount } - case "allowHostNameCNMismatch": + case "sourceRetryWait": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hlstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + gs.SourceRetryWait = sourceRetryWait } - case "allowSelfSignedServerCert": + case "maxConcurrentConnections": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hlstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + gs.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 } - hlstp.EncryptedCredential = encryptedCredential + gs.Type = typeVar } } } @@ -88881,10 +88574,10 @@ 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"` +// GreenplumTableDataset greenplum Database dataset. +type GreenplumTableDataset struct { + // 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. @@ -88901,449 +88594,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `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 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.GreenplumDatasetTypeProperties != nil { + objectMap["typeProperties"] = gtd.GreenplumDatasetTypeProperties } - 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) 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 HiveObjectDataset. -func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return &hod, true +// AsHubspotObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, 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 } -// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset. -func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &hod, true +// AsJSONDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HiveObjectDataset struct. -func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsAvroDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsAvroDataset() (*AvroDataset, 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 { @@ -89353,12 +89081,12 @@ func (hod *HiveObjectDataset) 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 } - hod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + gtd.GreenplumDatasetTypeProperties = &greenplumDatasetTypeProperties } default: if v != nil { @@ -89367,10 +89095,10 @@ func (hod *HiveObjectDataset) 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 { @@ -89379,7 +89107,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Description = &description + gtd.Description = &description } case "structure": if v != nil { @@ -89388,7 +89116,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Structure = structure + gtd.Structure = structure } case "schema": if v != nil { @@ -89397,7 +89125,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Schema = schema + gtd.Schema = schema } case "linkedServiceName": if v != nil { @@ -89406,7 +89134,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.LinkedServiceName = &linkedServiceName + gtd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -89415,7 +89143,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Parameters = parameters + gtd.Parameters = parameters } case "annotations": if v != nil { @@ -89424,7 +89152,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Annotations = &annotations + gtd.Annotations = &annotations } case "folder": if v != nil { @@ -89433,7 +89161,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Folder = &folder + gtd.Folder = &folder } case "type": if v != nil { @@ -89442,7 +89170,7 @@ func (hod *HiveObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hod.Type = typeVar + gtd.Type = typeVar } } } @@ -89450,459 +89178,519 @@ 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"` +// 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', '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"` + // 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', 'TypeAzureMariaDB', '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 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHiveSource() (*HiveSource, bool) { - return &hs, true +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDrillSource() (*DrillSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return &hbls, true +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) 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 HiveSource. -func (hs HiveSource) AsWebSource() (*WebSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsTeradataSource() (*TeradataSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) 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 HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSQLMISource() (*SQLMISource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsRestSource() (*RestSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsODataSource() (*ODataSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsSybaseSource() (*SybaseSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMySQLSource() (*MySQLSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsOdbcSource() (*OdbcSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDb2Source() (*Db2Source, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsInformixSource() (*InformixSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsBlobSource() (*BlobSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsBinarySource() (*BinarySource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsCopySource() (*CopySource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HiveSource. -func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HiveSource struct. -func (hs *HiveSource) UnmarshalJSON(body []byte) error { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// 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 { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -89910,14 +89698,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 hBaseLinkedServiceTypeProperties HBaseLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hBaseLinkedServiceTypeProperties) if err != nil { return err } - hs.Query = query + hbls.HBaseLinkedServiceTypeProperties = &hBaseLinkedServiceTypeProperties } default: if v != nil { @@ -89926,46 +89714,55 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) + if hbls.AdditionalProperties == nil { + hbls.AdditionalProperties = make(map[string]interface{}) } - hs.AdditionalProperties[k] = additionalProperties + hbls.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 + hbls.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 + hbls.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 + hbls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hbls.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 + hbls.Type = typeVar } } } @@ -89973,10 +89770,149 @@ 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"` +// 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 +} + +// 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:""` // Description - Dataset description. @@ -89993,449 +89929,484 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { + hbod.Type = TypeHBaseObject objectMap := make(map[string]interface{}) - if hd.HTTPDatasetTypeProperties != nil { - objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties + if hbod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = hbod.GenericDatasetTypeProperties } - if hd.Description != nil { - objectMap["description"] = hd.Description + if hbod.Description != nil { + objectMap["description"] = hbod.Description } - if hd.Structure != nil { - objectMap["structure"] = hd.Structure + if hbod.Structure != nil { + objectMap["structure"] = hbod.Structure } - if hd.Schema != nil { - objectMap["schema"] = hd.Schema + if hbod.Schema != nil { + objectMap["schema"] = hbod.Schema } - if hd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hd.LinkedServiceName + if hbod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hbod.LinkedServiceName } - if hd.Parameters != nil { - objectMap["parameters"] = hd.Parameters + if hbod.Parameters != nil { + objectMap["parameters"] = hbod.Parameters } - if hd.Annotations != nil { - objectMap["annotations"] = hd.Annotations + if hbod.Annotations != nil { + objectMap["annotations"] = hbod.Annotations } - if hd.Folder != nil { - objectMap["folder"] = hd.Folder + if hbod.Folder != nil { + objectMap["folder"] = hbod.Folder } - if hd.Type != "" { - objectMap["type"] = hd.Type + if hbod.Type != "" { + objectMap["type"] = hbod.Type } - for k, v := range hd.AdditionalProperties { + for k, v := range hbod.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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return &hbod, true +} + +// AsGreenplumTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) 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 HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return &hd, true +// AsHTTPDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for HTTPDataset. -func (hd HTTPDataset) AsBasicDataset() (BasicDataset, bool) { - return &hd, true +// AsJSONDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HTTPDataset struct. -func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { +// AsDelimitedTextDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { + return nil, false +} + +// AsParquetDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false +} + +// AsAvroDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &hbod, true +} + +// 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 { @@ -90445,12 +90416,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 + hbod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } default: if v != nil { @@ -90459,10 +90430,10 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hd.AdditionalProperties == nil { - hd.AdditionalProperties = make(map[string]interface{}) + if hbod.AdditionalProperties == nil { + hbod.AdditionalProperties = make(map[string]interface{}) } - hd.AdditionalProperties[k] = additionalProperties + hbod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -90471,7 +90442,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Description = &description + hbod.Description = &description } case "structure": if v != nil { @@ -90480,7 +90451,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Structure = structure + hbod.Structure = structure } case "schema": if v != nil { @@ -90489,7 +90460,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Schema = schema + hbod.Schema = schema } case "linkedServiceName": if v != nil { @@ -90498,7 +90469,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.LinkedServiceName = &linkedServiceName + hbod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -90507,7 +90478,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Parameters = parameters + hbod.Parameters = parameters } case "annotations": if v != nil { @@ -90516,7 +90487,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Annotations = &annotations + hbod.Annotations = &annotations } case "folder": if v != nil { @@ -90525,7 +90496,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Folder = &folder + hbod.Folder = &folder } case "type": if v != nil { @@ -90534,7 +90505,7 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - hd.Type = typeVar + hbod.Type = typeVar } } } @@ -90542,84 +90513,566 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { 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"` +// 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,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 +// MarshalJSON is the custom marshaler for HBaseSource. +func (hbs HBaseSource) MarshalJSON() ([]byte, error) { + hbs.Type = TypeHBaseSource + objectMap := make(map[string]interface{}) + if hbs.Query != nil { + objectMap["query"] = hbs.Query } - 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 + if hbs.QueryTimeout != nil { + objectMap["queryTimeout"] = hbs.QueryTimeout + } + if hbs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hbs.SourceRetryCount + } + if hbs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hbs.SourceRetryWait + } + if hbs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hbs.MaxConcurrentConnections + } + if hbs.Type != "" { + objectMap["type"] = hbs.Type + } + for k, v := range hbs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsHTTPSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// 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 +} + +// 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 +} + +// AsSparkSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsJiraSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsHiveSource() (*HiveSource, 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) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLMISource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false +} + +// AsAzureSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false +} + +// AsSQLServerSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// AsPostgreSQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { + return nil, false +} + +// AsMySQLSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsMySQLSource() (*MySQLSource, bool) { + return nil, false +} + +// AsOdbcSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsOdbcSource() (*OdbcSource, bool) { + return nil, false +} + +// AsDb2Source is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsDb2Source() (*Db2Source, bool) { + return nil, false +} + +// AsInformixSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &hbs, true +} + +// AsBinarySource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for HBaseSource. +func (hbs HBaseSource) AsAvroSource() (*AvroSource, 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 { + 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 + } + hbs.Query = query } - case "requestBody": + case "queryTimeout": if v != nil { - var requestBody interface{} - err = json.Unmarshal(*v, &requestBody) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - hdtp.RequestBody = requestBody + hbs.QueryTimeout = queryTimeout } - case "additionalHeaders": + default: if v != nil { - var additionalHeaders interface{} - err = json.Unmarshal(*v, &additionalHeaders) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - hdtp.AdditionalHeaders = additionalHeaders + if hbs.AdditionalProperties == nil { + hbs.AdditionalProperties = make(map[string]interface{}) + } + hbs.AdditionalProperties[k] = additionalProperties } - case "format": + case "sourceRetryCount": if v != nil { - formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - hdtp.Format = formatVar + hbs.SourceRetryCount = sourceRetryCount } - case "compression": + case "sourceRetryWait": if v != nil { - compression, err := unmarshalBasicDatasetCompression(*v) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - hdtp.Compression = compression + hbs.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + hbs.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + hbs.Type = typeVar } } } @@ -90627,10 +91080,10 @@ 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"` +// 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. @@ -90641,16 +91094,16 @@ type HTTPLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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 +// MarshalJSON is the custom marshaler for HdfsLinkedService. +func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { + hls.Type = TypeHdfs objectMap := make(map[string]interface{}) - if hls.HTTPLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HTTPLinkedServiceTypeProperties + if hls.HdfsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hls.HdfsLinkedServiceTypeProperties } if hls.ConnectVia != nil { objectMap["connectVia"] = hls.ConnectVia @@ -90673,468 +91126,473 @@ func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return &hls, true +// AsFtpServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, 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 } -// AsInformixLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HTTPLinkedService. -func (hls HTTPLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { +// AsBasicLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { return &hls, true } -// UnmarshalJSON is the custom unmarshaler for HTTPLinkedService struct. -func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -91144,12 +91602,12 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var HTTPLinkedServiceTypeProperties HTTPLinkedServiceTypeProperties - err = json.Unmarshal(*v, &HTTPLinkedServiceTypeProperties) + var hdfsLinkedServiceTypeProperties HdfsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hdfsLinkedServiceTypeProperties) if err != nil { return err } - hls.HTTPLinkedServiceTypeProperties = &HTTPLinkedServiceTypeProperties + hls.HdfsLinkedServiceTypeProperties = &hdfsLinkedServiceTypeProperties } default: if v != nil { @@ -91214,28 +91672,22 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { 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). +// 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 - 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"` + // 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"` - // 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"` + // 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 HTTPLinkedServiceTypeProperties struct. -func (hlstp *HTTPLinkedServiceTypeProperties) 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 { @@ -91254,13 +91706,22 @@ func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } case "authenticationType": if v != nil { - var authenticationType HTTPAuthenticationType + var authenticationType interface{} err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } hlstp.AuthenticationType = authenticationType } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + hlstp.EncryptedCredential = encryptedCredential + } case "userName": if v != nil { var userName interface{} @@ -91278,95 +91739,44 @@ func (hlstp *HTTPLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } 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"` +// HdfsLocation the location of HDFS. +type HdfsLocation struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Type - The read setting type. + // Type - Type of dataset storage location. 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"` + // 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 HTTPReadSettings. -func (hrs HTTPReadSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HdfsLocation. +func (hl HdfsLocation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hrs.RequestMethod != nil { - objectMap["requestMethod"] = hrs.RequestMethod + if hl.Type != nil { + objectMap["type"] = hl.Type } - if hrs.RequestBody != nil { - objectMap["requestBody"] = hrs.RequestBody + if hl.FolderPath != nil { + objectMap["folderPath"] = hl.FolderPath } - 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 + if hl.FileName != nil { + objectMap["fileName"] = hl.FileName } - for k, v := range hrs.AdditionalProperties { + for k, v := range hl.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// UnmarshalJSON is the custom unmarshaler for HTTPReadSettings struct. -func (hrs *HTTPReadSettings) 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 { @@ -91374,42 +91784,6 @@ func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { } 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{} @@ -91417,10 +91791,10 @@ func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hrs.AdditionalProperties == nil { - hrs.AdditionalProperties = make(map[string]interface{}) + if hl.AdditionalProperties == nil { + hl.AdditionalProperties = make(map[string]interface{}) } - hrs.AdditionalProperties[k] = additionalProperties + hl.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { @@ -91429,16 +91803,25 @@ func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - hrs.Type = &typeVar + hl.Type = &typeVar } - case "maxConcurrentConnections": + case "folderPath": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var folderPath interface{} + err = json.Unmarshal(*v, &folderPath) if err != nil { return err } - hrs.MaxConcurrentConnections = maxConcurrentConnections + hl.FolderPath = folderPath + } + case "fileName": + if v != nil { + var fileName interface{} + err = json.Unmarshal(*v, &fileName) + if err != nil { + return err + } + hl.FileName = fileName } } } @@ -91446,43 +91829,68 @@ func (hrs *HTTPReadSettings) UnmarshalJSON(body []byte) error { 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"` +// 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:""` - // Type - Type of dataset storage location. + // Type - The read setting type. 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"` + // 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 HTTPServerLocation. -func (hsl HTTPServerLocation) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for HdfsReadSettings. +func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if hsl.RelativeURL != nil { - objectMap["relativeUrl"] = hsl.RelativeURL + if hrs.Recursive != nil { + objectMap["recursive"] = hrs.Recursive } - if hsl.Type != nil { - objectMap["type"] = hsl.Type + if hrs.WildcardFolderPath != nil { + objectMap["wildcardFolderPath"] = hrs.WildcardFolderPath } - if hsl.FolderPath != nil { - objectMap["folderPath"] = hsl.FolderPath + if hrs.WildcardFileName != nil { + objectMap["wildcardFileName"] = hrs.WildcardFileName } - if hsl.FileName != nil { - objectMap["fileName"] = hsl.FileName + if hrs.EnablePartitionDiscovery != nil { + objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery } - for k, v := range hsl.AdditionalProperties { + 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 HTTPServerLocation struct. -func (hsl *HTTPServerLocation) 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 { @@ -91490,14 +91898,68 @@ func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "relativeUrl": + case "recursive": if v != nil { - var relativeURL interface{} - err = json.Unmarshal(*v, &relativeURL) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - hsl.RelativeURL = relativeURL + hrs.Recursive = recursive + } + case "wildcardFolderPath": + if v != nil { + var wildcardFolderPath interface{} + err = json.Unmarshal(*v, &wildcardFolderPath) + if err != nil { + return err + } + hrs.WildcardFolderPath = wildcardFolderPath + } + case "wildcardFileName": + if v != nil { + var wildcardFileName interface{} + err = json.Unmarshal(*v, &wildcardFileName) + if err != nil { + return err + } + hrs.WildcardFileName = wildcardFileName + } + case "enablePartitionDiscovery": + if v != nil { + var enablePartitionDiscovery bool + err = json.Unmarshal(*v, &enablePartitionDiscovery) + if err != nil { + return err + } + hrs.EnablePartitionDiscovery = &enablePartitionDiscovery + } + case "modifiedDatetimeStart": + if v != nil { + var modifiedDatetimeStart interface{} + err = json.Unmarshal(*v, &modifiedDatetimeStart) + if err != nil { + return err + } + hrs.ModifiedDatetimeStart = modifiedDatetimeStart + } + case "modifiedDatetimeEnd": + if v != nil { + var modifiedDatetimeEnd interface{} + err = json.Unmarshal(*v, &modifiedDatetimeEnd) + if err != nil { + return err + } + hrs.ModifiedDatetimeEnd = modifiedDatetimeEnd + } + case "distcpSettings": + if v != nil { + var distcpSettings DistcpSettings + err = json.Unmarshal(*v, &distcpSettings) + if err != nil { + return err + } + hrs.DistcpSettings = &distcpSettings } default: if v != nil { @@ -91506,10 +91968,10 @@ func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hsl.AdditionalProperties == nil { - hsl.AdditionalProperties = make(map[string]interface{}) + if hrs.AdditionalProperties == nil { + hrs.AdditionalProperties = make(map[string]interface{}) } - hsl.AdditionalProperties[k] = additionalProperties + hrs.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { @@ -91518,25 +91980,16 @@ func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error { 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 + hrs.Type = &typeVar } - case "fileName": + case "maxConcurrentConnections": if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - hsl.FileName = fileName + hrs.MaxConcurrentConnections = maxConcurrentConnections } } } @@ -91544,10 +91997,12 @@ func (hsl *HTTPServerLocation) UnmarshalJSON(body []byte) error { 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"` +// 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). @@ -91556,16 +92011,19 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for HTTPSource. -func (hs HTTPSource) MarshalJSON() ([]byte, error) { - hs.Type = TypeHTTPSource +// MarshalJSON is the custom marshaler for HdfsSource. +func (hs HdfsSource) MarshalJSON() ([]byte, error) { + hs.Type = TypeHdfsSource objectMap := make(map[string]interface{}) - if hs.HTTPRequestTimeout != nil { - objectMap["httpRequestTimeout"] = hs.HTTPRequestTimeout + if hs.Recursive != nil { + objectMap["recursive"] = hs.Recursive + } + if hs.DistcpSettings != nil { + objectMap["distcpSettings"] = hs.DistcpSettings } if hs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = hs.SourceRetryCount @@ -91585,418 +92043,448 @@ func (hs HTTPSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSquareSource() (*SquareSource, bool) { +// 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 } -// AsSparkSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSparkSource() (*SparkSource, bool) { +// AsRestSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsShopifySource() (*ShopifySource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsODataSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPrestoSource() (*PrestoSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPaypalSource() (*PaypalSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMagentoSource() (*MagentoSource, bool) { +// AsBlobSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsJiraSource() (*JiraSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHubspotSource() (*HubspotSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHiveSource() (*HiveSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHBaseSource() (*HBaseSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsVerticaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsEloquaSource() (*EloquaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDrillSource() (*DrillSource, bool) { +// AsZohoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsXeroSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsConcurSource() (*ConcurSource, bool) { +// AsSquareSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSparkSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsShopifySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHTTPSource() (*HTTPSource, bool) { - return &hs, true +// AsServiceNowSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOffice365Source() (*Office365Source, bool) { +// AsPhoenixSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPaypalSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsMarketoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsWebSource() (*WebSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsTeradataSource() (*TeradataSource, bool) { +// AsJiraSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOracleSource() (*OracleSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHiveSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLMISource() (*SQLMISource, bool) { +// AsEloquaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsDrillSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSQLSource() (*SQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsRestSource() (*RestSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapEccSource() (*SapEccSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsODataSource() (*ODataSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDb2Source() (*Db2Source, bool) { +// AsSapEccSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsInformixSource() (*InformixSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsBlobSource() (*BlobSource, bool) { +// AsDb2Source is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsInformixSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsTabularSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsParquetSource() (*ParquetSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsCopySource() (*CopySource, bool) { +// AsBinarySource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HTTPSource. -func (hs HTTPSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsJSONSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsAvroSource() (*AvroSource, 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 HTTPSource struct. -func (hs *HTTPSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -92004,14 +92492,23 @@ func (hs *HTTPSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "httpRequestTimeout": + case "recursive": if v != nil { - var HTTPRequestTimeout interface{} - err = json.Unmarshal(*v, &HTTPRequestTimeout) + var recursive interface{} + err = json.Unmarshal(*v, &recursive) if err != nil { return err } - hs.HTTPRequestTimeout = HTTPRequestTimeout + hs.Recursive = recursive + } + case "distcpSettings": + if v != nil { + var distcpSettings DistcpSettings + err = json.Unmarshal(*v, &distcpSettings) + if err != nil { + return err + } + hs.DistcpSettings = &distcpSettings } default: if v != nil { @@ -92067,514 +92564,909 @@ 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"` +// 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:""` - // 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', '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"` + // 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 HubspotLinkedService. -func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) { - hls.Type = TypeHubspot +// MarshalJSON is the custom marshaler for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) { + hiha.Type = TypeHDInsightHive objectMap := make(map[string]interface{}) - if hls.HubspotLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = hls.HubspotLinkedServiceTypeProperties + if hiha.HDInsightHiveActivityTypeProperties != nil { + objectMap["typeProperties"] = hiha.HDInsightHiveActivityTypeProperties } - if hls.ConnectVia != nil { - objectMap["connectVia"] = hls.ConnectVia + if hiha.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hiha.LinkedServiceName } - if hls.Description != nil { - objectMap["description"] = hls.Description + if hiha.Policy != nil { + objectMap["policy"] = hiha.Policy } - if hls.Parameters != nil { - objectMap["parameters"] = hls.Parameters + if hiha.Name != nil { + objectMap["name"] = hiha.Name } - if hls.Annotations != nil { - objectMap["annotations"] = hls.Annotations + if hiha.Description != nil { + objectMap["description"] = hiha.Description } - if hls.Type != "" { - objectMap["type"] = hls.Type + if hiha.DependsOn != nil { + objectMap["dependsOn"] = hiha.DependsOn } - for k, v := range hls.AdditionalProperties { + 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) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSapTableLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return &hiha, true } -// AsPrestoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hiha, true } -// AsMarketoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsValidationActivity() (*ValidationActivity, 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) { +// AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsBasicActivity() (BasicActivity, bool) { + return &hiha, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} +// 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 + } + } + } -// AsSapHanaLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false + return nil } -// AsSapBWLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false +// 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: 'HDInsightActivityDebugInfoOptionNone', 'HDInsightActivityDebugInfoOptionAlways', 'HDInsightActivityDebugInfoOptionFailure' + 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"` } -// AsSftpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false +// 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) } -// AsFtpServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false +// 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', 'TypeAzureMariaDB', '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"` } -// AsHTTPLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// 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 } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for HubspotLinkedService. -func (hls HubspotLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &hls, true +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for HubspotLinkedService struct. -func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -92584,12 +93476,12 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var hubspotLinkedServiceTypeProperties HubspotLinkedServiceTypeProperties - err = json.Unmarshal(*v, &hubspotLinkedServiceTypeProperties) + var hDInsightLinkedServiceTypeProperties HDInsightLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hDInsightLinkedServiceTypeProperties) if err != nil { return err } - hls.HubspotLinkedServiceTypeProperties = &hubspotLinkedServiceTypeProperties + hils.HDInsightLinkedServiceTypeProperties = &hDInsightLinkedServiceTypeProperties } default: if v != nil { @@ -92598,10 +93490,10 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hls.AdditionalProperties == nil { - hls.AdditionalProperties = make(map[string]interface{}) + if hils.AdditionalProperties == nil { + hils.AdditionalProperties = make(map[string]interface{}) } - hls.AdditionalProperties[k] = additionalProperties + hils.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -92610,7 +93502,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.ConnectVia = &connectVia + hils.ConnectVia = &connectVia } case "description": if v != nil { @@ -92619,7 +93511,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Description = &description + hils.Description = &description } case "parameters": if v != nil { @@ -92628,7 +93520,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Parameters = parameters + hils.Parameters = parameters } case "annotations": if v != nil { @@ -92637,7 +93529,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Annotations = &annotations + hils.Annotations = &annotations } case "type": if v != nil { @@ -92646,7 +93538,7 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - hls.Type = typeVar + hils.Type = typeVar } } } @@ -92654,28 +93546,28 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { 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"` +// 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 HubspotLinkedServiceTypeProperties struct. -func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -92683,74 +93575,76 @@ func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } for k, v := range m { switch k { - case "clientId": + case "clusterUri": if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) + var clusterURI interface{} + err = json.Unmarshal(*v, &clusterURI) if err != nil { return err } - hlstp.ClientID = clientID + hilstp.ClusterURI = clusterURI } - case "clientSecret": + case "userName": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - hlstp.ClientSecret = clientSecret + hilstp.UserName = userName } - case "accessToken": + case "password": if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - hlstp.AccessToken = accessToken + hilstp.Password = password } - case "refreshToken": + case "linkedServiceName": if v != nil { - refreshToken, err := unmarshalBasicSecretBase(*v) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - hlstp.RefreshToken = refreshToken + hilstp.LinkedServiceName = &linkedServiceName } - case "useEncryptedEndpoints": + case "hcatalogLinkedServiceName": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var hcatalogLinkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &hcatalogLinkedServiceName) if err != nil { return err } - hlstp.UseEncryptedEndpoints = useEncryptedEndpoints + hilstp.HcatalogLinkedServiceName = &hcatalogLinkedServiceName } - case "useHostVerification": + case "encryptedCredential": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - hlstp.UseHostVerification = useHostVerification + hilstp.EncryptedCredential = encryptedCredential } - case "usePeerVerification": + case "isEspEnabled": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var isEspEnabled interface{} + err = json.Unmarshal(*v, &isEspEnabled) if err != nil { return err } - hlstp.UsePeerVerification = usePeerVerification + hilstp.IsEspEnabled = isEspEnabled } - case "encryptedCredential": + case "fileSystem": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var fileSystem interface{} + err = json.Unmarshal(*v, &fileSystem) if err != nil { return err } - hlstp.EncryptedCredential = encryptedCredential + hilstp.FileSystem = fileSystem } } } @@ -92758,1028 +93652,909 @@ func (hlstp *HubspotLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// HubspotObjectDataset hubspot Service dataset. -type HubspotObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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:""` - // 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', '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"` + // 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 HubspotObjectDataset. -func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) { - hod.Type = TypeHubspotObject +// MarshalJSON is the custom marshaler for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) { + himra.Type = TypeHDInsightMapReduce objectMap := make(map[string]interface{}) - if hod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = hod.GenericDatasetTypeProperties - } - if hod.Description != nil { - objectMap["description"] = hod.Description + if himra.HDInsightMapReduceActivityTypeProperties != nil { + objectMap["typeProperties"] = himra.HDInsightMapReduceActivityTypeProperties } - if hod.Structure != nil { - objectMap["structure"] = hod.Structure + if himra.LinkedServiceName != nil { + objectMap["linkedServiceName"] = himra.LinkedServiceName } - if hod.Schema != nil { - objectMap["schema"] = hod.Schema + if himra.Policy != nil { + objectMap["policy"] = himra.Policy } - if hod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = hod.LinkedServiceName + if himra.Name != nil { + objectMap["name"] = himra.Name } - if hod.Parameters != nil { - objectMap["parameters"] = hod.Parameters + if himra.Description != nil { + objectMap["description"] = himra.Description } - if hod.Annotations != nil { - objectMap["annotations"] = hod.Annotations + if himra.DependsOn != nil { + objectMap["dependsOn"] = himra.DependsOn } - if hod.Folder != nil { - objectMap["folder"] = hod.Folder + if himra.UserProperties != nil { + objectMap["userProperties"] = himra.UserProperties } - if hod.Type != "" { - objectMap["type"] = hod.Type + if himra.Type != "" { + objectMap["type"] = himra.Type } - for k, v := range hod.AdditionalProperties { + for k, v := range himra.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsWebActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return &himra, true } -// AsMarketoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &himra, true } -// AsHubspotObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return &hod, true +// AsWebHookActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsWebHookActivity() (*WebHookActivity, bool) { + return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsBasicActivity() (BasicActivity, bool) { + return &himra, true } -// AsSapTableResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { - return nil, false +// 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 } -// AsRestResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false +// 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: 'HDInsightActivityDebugInfoOptionNone', 'HDInsightActivityDebugInfoOptionAlways', 'HDInsightActivityDebugInfoOptionFailure' + 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"` } -// AsSQLServerTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false +// 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) } -// AsSapOpenHubTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { - return nil, false +// 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', 'TypeAzureMariaDB', '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"` } -// AsSapHanaTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false +// 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) } -// AsSapEccResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, 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) { +// AsResponsysLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { - return nil, false +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return &hiodls, true } -// AsAmazonS3Dataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for HubspotObjectDataset. -func (hod HubspotObjectDataset) AsDataset() (*Dataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, 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) { +// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsVerticaSource() (*VerticaSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsZohoSource() (*ZohoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsXeroSource() (*XeroSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSquareSource() (*SquareSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSparkSource() (*SparkSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsShopifySource() (*ShopifySource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPrestoSource() (*PrestoSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPaypalSource() (*PaypalSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMarketoSource() (*MarketoSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMagentoSource() (*MagentoSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsJiraSource() (*JiraSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, 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) { +// AsDrillLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHBaseSource() (*HBaseSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsEloquaSource() (*EloquaSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDrillSource() (*DrillSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsConcurSource() (*ConcurSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOffice365Source() (*Office365Source, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsWebSource() (*WebSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsTeradataSource() (*TeradataSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOracleSource() (*OracleSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsHdfsSource() (*HdfsSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLMISource() (*SQLMISource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSQLSource() (*SQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsRestSource() (*RestSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapTableSource() (*SapTableSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsODataSource() (*ODataSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsSybaseSource() (*SybaseSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMySQLSource() (*MySQLSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsOdbcSource() (*OdbcSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDb2Source() (*Db2Source, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsBlobSource() (*BlobSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsParquetSource() (*ParquetSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for HubspotSource. -func (hs HubspotSource) AsBasicCopySource() (BasicCopySource, bool) { - return &hs, true +// AsBasicLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &hiodls, true } -// UnmarshalJSON is the custom unmarshaler for HubspotSource struct. -func (hs *HubspotSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -93787,14 +94562,14 @@ func (hs *HubspotSource) 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 hDInsightOnDemandLinkedServiceTypeProperties HDInsightOnDemandLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hDInsightOnDemandLinkedServiceTypeProperties) if err != nil { return err } - hs.Query = query + hiodls.HDInsightOnDemandLinkedServiceTypeProperties = &hDInsightOnDemandLinkedServiceTypeProperties } default: if v != nil { @@ -93803,46 +94578,55 @@ func (hs *HubspotSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if hs.AdditionalProperties == nil { - hs.AdditionalProperties = make(map[string]interface{}) + if hiodls.AdditionalProperties == nil { + hiodls.AdditionalProperties = make(map[string]interface{}) } - hs.AdditionalProperties[k] = additionalProperties + hiodls.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 + hiodls.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 + hiodls.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 + 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 TypeBasicCopySource + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - hs.Type = typeVar + hiodls.Type = typeVar } } } @@ -93850,241 +94634,78 @@ func (hs *HubspotSource) UnmarshalJSON(body []byte) error { 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', '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 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 -} - -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for IfConditionActivity. -func (ica IfConditionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, 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 +// 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 IfConditionActivity struct. -func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { +// 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 { @@ -94092,121 +94713,299 @@ func (ica *IfConditionActivity) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "clusterSize": if v != nil { - var ifConditionActivityTypeProperties IfConditionActivityTypeProperties - err = json.Unmarshal(*v, &ifConditionActivityTypeProperties) + var clusterSize interface{} + err = json.Unmarshal(*v, &clusterSize) if err != nil { return err } - ica.IfConditionActivityTypeProperties = &ifConditionActivityTypeProperties + hiodlstp.ClusterSize = clusterSize } - default: + case "timeToLive": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var timeToLive interface{} + err = json.Unmarshal(*v, &timeToLive) if err != nil { return err } - if ica.AdditionalProperties == nil { - ica.AdditionalProperties = make(map[string]interface{}) - } - ica.AdditionalProperties[k] = additionalProperties + hiodlstp.TimeToLive = timeToLive } - case "name": + case "version": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var version interface{} + err = json.Unmarshal(*v, &version) if err != nil { return err } - ica.Name = &name + hiodlstp.Version = version } - 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 } - ica.Description = &description + hiodlstp.LinkedServiceName = &linkedServiceName } - case "dependsOn": + case "hostSubscriptionId": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var hostSubscriptionID interface{} + err = json.Unmarshal(*v, &hostSubscriptionID) if err != nil { return err } - ica.DependsOn = &dependsOn + hiodlstp.HostSubscriptionID = hostSubscriptionID } - case "userProperties": + case "servicePrincipalId": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - ica.UserProperties = &userProperties + hiodlstp.ServicePrincipalID = servicePrincipalID } - case "type": + case "servicePrincipalKey": if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ica.Type = typeVar + hiodlstp.ServicePrincipalKey = servicePrincipalKey } - } - } - - 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": + case "tenant": if v != nil { - var expression Expression - err = json.Unmarshal(*v, &expression) + var tenant interface{} + err = json.Unmarshal(*v, &tenant) if err != nil { return err } - icatp.Expression = &expression + hiodlstp.Tenant = tenant } - case "ifTrueActivities": + case "clusterResourceGroup": if v != nil { - ifTrueActivities, err := unmarshalBasicActivityArray(*v) + var clusterResourceGroup interface{} + err = json.Unmarshal(*v, &clusterResourceGroup) if err != nil { return err } - icatp.IfTrueActivities = &ifTrueActivities + hiodlstp.ClusterResourceGroup = clusterResourceGroup } - case "ifFalseActivities": + case "clusterNamePrefix": if v != nil { - ifFalseActivities, err := unmarshalBasicActivityArray(*v) + var clusterNamePrefix interface{} + err = json.Unmarshal(*v, &clusterNamePrefix) if err != nil { return err } - icatp.IfFalseActivities = &ifFalseActivities + 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 } } } @@ -94214,514 +95013,629 @@ 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"` +// 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:""` - // 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', '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"` + // 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 ImpalaLinkedService. -func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) { - ils.Type = TypeImpala +// MarshalJSON is the custom marshaler for HDInsightPigActivity. +func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) { + hipa.Type = TypeHDInsightPig objectMap := make(map[string]interface{}) - if ils.ImpalaLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ils.ImpalaLinkedServiceTypeProperties + if hipa.HDInsightPigActivityTypeProperties != nil { + objectMap["typeProperties"] = hipa.HDInsightPigActivityTypeProperties } - if ils.ConnectVia != nil { - objectMap["connectVia"] = ils.ConnectVia + if hipa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hipa.LinkedServiceName } - if ils.Description != nil { - objectMap["description"] = ils.Description + if hipa.Policy != nil { + objectMap["policy"] = hipa.Policy } - if ils.Parameters != nil { - objectMap["parameters"] = ils.Parameters + if hipa.Name != nil { + objectMap["name"] = hipa.Name } - if ils.Annotations != nil { - objectMap["annotations"] = ils.Annotations + if hipa.Description != nil { + objectMap["description"] = hipa.Description } - if ils.Type != "" { - objectMap["type"] = ils.Type + if hipa.DependsOn != nil { + objectMap["dependsOn"] = hipa.DependsOn } - for k, v := range ils.AdditionalProperties { + 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) } -// 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) { +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, 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) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return &hipa, true } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hipa, true } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsBasicActivity() (BasicActivity, bool) { + return &hipa, true } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { - return nil, false -} +// 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 + } + } + } -// AsSapEccLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false + return nil } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false +// 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: 'HDInsightActivityDebugInfoOptionNone', 'HDInsightActivityDebugInfoOptionAlways', 'HDInsightActivityDebugInfoOptionFailure' + 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"` } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { - return nil, false +// 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) } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false +// 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', '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"` } -// AsOffice365LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { - return nil, false +// 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) } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsDeleteActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return nil, false +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return &hisa, true } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hisa, true } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsWebHookActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSetVariableActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsValidationActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsBasicControlActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. -func (ils ImpalaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ils, true +// AsBasicActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsBasicActivity() (BasicActivity, bool) { + return &hisa, true } -// UnmarshalJSON is the custom unmarshaler for ImpalaLinkedService struct. -func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -94731,12 +95645,30 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var impalaLinkedServiceTypeProperties ImpalaLinkedServiceTypeProperties - err = json.Unmarshal(*v, &impalaLinkedServiceTypeProperties) + var hDInsightSparkActivityTypeProperties HDInsightSparkActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightSparkActivityTypeProperties) if err != nil { return err } - ils.ImpalaLinkedServiceTypeProperties = &impalaLinkedServiceTypeProperties + 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 { @@ -94745,19 +95677,19 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ils.AdditionalProperties == nil { - ils.AdditionalProperties = make(map[string]interface{}) + if hisa.AdditionalProperties == nil { + hisa.AdditionalProperties = make(map[string]interface{}) } - ils.AdditionalProperties[k] = additionalProperties + hisa.AdditionalProperties[k] = additionalProperties } - case "connectVia": + case "name": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var name string + err = json.Unmarshal(*v, &name) if err != nil { return err } - ils.ConnectVia = &connectVia + hisa.Name = &name } case "description": if v != nil { @@ -94766,34 +95698,34 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ils.Description = &description + hisa.Description = &description } - case "parameters": + case "dependsOn": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) if err != nil { return err } - ils.Parameters = parameters + hisa.DependsOn = &dependsOn } - case "annotations": + case "userProperties": if v != nil { - var annotations []interface{} - err = json.Unmarshal(*v, &annotations) + var userProperties []UserProperty + err = json.Unmarshal(*v, &userProperties) if err != nil { return err } - ils.Annotations = &annotations + hisa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ils.Type = typeVar + hisa.Type = typeVar } } } @@ -94801,608 +95733,299 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { 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"` +// 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: 'HDInsightActivityDebugInfoOptionNone', 'HDInsightActivityDebugInfoOptionAlways', 'HDInsightActivityDebugInfoOptionFailure' + 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"` } -// 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 - } - } +// 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 } - - return nil + 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) } -// ImpalaObjectDataset impala server dataset. -type ImpalaObjectDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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:""` - // 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', '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"` + // 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 ImpalaObjectDataset. -func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { - iod.Type = TypeImpalaObject +// MarshalJSON is the custom marshaler for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) { + hisa.Type = TypeHDInsightStreaming objectMap := make(map[string]interface{}) - if iod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = iod.GenericDatasetTypeProperties - } - if iod.Description != nil { - objectMap["description"] = iod.Description + if hisa.HDInsightStreamingActivityTypeProperties != nil { + objectMap["typeProperties"] = hisa.HDInsightStreamingActivityTypeProperties } - if iod.Structure != nil { - objectMap["structure"] = iod.Structure + if hisa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hisa.LinkedServiceName } - if iod.Schema != nil { - objectMap["schema"] = iod.Schema + if hisa.Policy != nil { + objectMap["policy"] = hisa.Policy } - if iod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = iod.LinkedServiceName + if hisa.Name != nil { + objectMap["name"] = hisa.Name } - if iod.Parameters != nil { - objectMap["parameters"] = iod.Parameters + if hisa.Description != nil { + objectMap["description"] = hisa.Description } - if iod.Annotations != nil { - objectMap["annotations"] = iod.Annotations + if hisa.DependsOn != nil { + objectMap["dependsOn"] = hisa.DependsOn } - if iod.Folder != nil { - objectMap["folder"] = iod.Folder + if hisa.UserProperties != nil { + objectMap["userProperties"] = hisa.UserProperties } - if iod.Type != "" { - objectMap["type"] = iod.Type + if hisa.Type != "" { + objectMap["type"] = hisa.Type } - for k, v := range iod.AdditionalProperties { + for k, v := range hisa.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) { +// AsAzureFunctionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsWebActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsLookupActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDeleteActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsCustomActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false +// AsHDInsightStreamingActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return &hisa, true } -// AsOffice365Dataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsCopyActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &hisa, true } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsWebHookActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSetVariableActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsValidationActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsWaitActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsForEachActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsIfConditionActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsBasicControlActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsDataset() (*Dataset, bool) { +// AsActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ImpalaObjectDataset. -func (iod ImpalaObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &iod, true +// AsBasicActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsBasicActivity() (BasicActivity, bool) { + return &hisa, true } -// UnmarshalJSON is the custom unmarshaler for ImpalaObjectDataset struct. -func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { +// 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 { @@ -95412,96 +96035,87 @@ func (iod *ImpalaObjectDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var hDInsightStreamingActivityTypeProperties HDInsightStreamingActivityTypeProperties + err = json.Unmarshal(*v, &hDInsightStreamingActivityTypeProperties) if err != nil { return err } - iod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + hisa.HDInsightStreamingActivityTypeProperties = &hDInsightStreamingActivityTypeProperties } - 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 iod.AdditionalProperties == nil { - iod.AdditionalProperties = make(map[string]interface{}) - } - iod.AdditionalProperties[k] = additionalProperties + hisa.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 } - iod.Description = &description + hisa.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 } - iod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err + if hisa.AdditionalProperties == nil { + hisa.AdditionalProperties = make(map[string]interface{}) } - iod.Schema = schema + hisa.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 } - iod.LinkedServiceName = &linkedServiceName + hisa.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 } - iod.Parameters = parameters + hisa.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 } - iod.Annotations = &annotations + hisa.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 } - iod.Folder = &folder + hisa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - iod.Type = typeVar + hisa.Type = typeVar } } } @@ -95509,459 +96123,599 @@ 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"` +// 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: 'HDInsightActivityDebugInfoOptionNone', 'HDInsightActivityDebugInfoOptionAlways', 'HDInsightActivityDebugInfoOptionFailure' + 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) +} + +// 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. + *HiveLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 HiveLinkedService. +func (hls HiveLinkedService) MarshalJSON() ([]byte, error) { + hls.Type = TypeHive objectMap := make(map[string]interface{}) - if is.Query != nil { - objectMap["query"] = is.Query + if hls.HiveLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = hls.HiveLinkedServiceTypeProperties } - 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, 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) { +// AsPaypalLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHiveSource() (*HiveSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsEloquaSource() (*EloquaSource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDrillSource() (*DrillSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false +// AsHiveLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return &hls, true } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHTTPSource() (*HTTPSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsOffice365Source() (*Office365Source, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsWebSource() (*WebSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsTeradataSource() (*TeradataSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsOracleSource() (*OracleSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsHdfsSource() (*HdfsSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSQLMISource() (*SQLMISource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) 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 HiveLinkedService. +func (hls HiveLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsODataSource() (*ODataSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsSybaseSource() (*SybaseSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMySQLSource() (*MySQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsOdbcSource() (*OdbcSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDb2Source() (*Db2Source, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsInformixSource() (*InformixSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsRelationalSource() (*RelationalSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsBinarySource() (*BinarySource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsParquetSource() (*ParquetSource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsCopySource() (*CopySource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ImpalaSource. -func (is ImpalaSource) AsBasicCopySource() (BasicCopySource, bool) { - return &is, true +// AsDynamicsLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ImpalaSource struct. -func (is *ImpalaSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -95969,14 +96723,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 hiveLinkedServiceTypeProperties HiveLinkedServiceTypeProperties + err = json.Unmarshal(*v, &hiveLinkedServiceTypeProperties) if err != nil { return err } - is.Query = query + hls.HiveLinkedServiceTypeProperties = &hiveLinkedServiceTypeProperties } default: if v != nil { @@ -95985,46 +96739,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 } } } @@ -96032,514 +96795,709 @@ func (is *ImpalaSource) UnmarshalJSON(body []byte) error { return nil } -// InformixLinkedService informix linked service. -type InformixLinkedService struct { - // InformixLinkedServiceTypeProperties - Informix linked service properties. - *InformixLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// 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 { + // 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for InformixLinkedService. -func (ils InformixLinkedService) MarshalJSON() ([]byte, error) { - ils.Type = TypeInformix +// MarshalJSON is the custom marshaler for HiveObjectDataset. +func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { + hod.Type = TypeHiveObject objectMap := make(map[string]interface{}) - if ils.InformixLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ils.InformixLinkedServiceTypeProperties + if hod.HiveDatasetTypeProperties != nil { + objectMap["typeProperties"] = hod.HiveDatasetTypeProperties } - if ils.ConnectVia != nil { - objectMap["connectVia"] = ils.ConnectVia + if hod.Description != nil { + objectMap["description"] = hod.Description } - if ils.Description != nil { - objectMap["description"] = ils.Description + if hod.Structure != nil { + objectMap["structure"] = hod.Structure } - if ils.Parameters != nil { - objectMap["parameters"] = ils.Parameters + if hod.Schema != nil { + objectMap["schema"] = hod.Schema } - if ils.Annotations != nil { - objectMap["annotations"] = ils.Annotations + if hod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hod.LinkedServiceName } - if ils.Type != "" { - objectMap["type"] = ils.Type + if hod.Parameters != nil { + objectMap["parameters"] = hod.Parameters } - for k, v := range ils.AdditionalProperties { + 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) } -// 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) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false +// AsHiveObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return &hod, true } -// AsHBaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, 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) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for InformixLinkedService. -func (ils InformixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ils, true +// AsBasicDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &hod, true } -// UnmarshalJSON is the custom unmarshaler for InformixLinkedService struct. -func (ils *InformixLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -96549,12 +97507,12 @@ func (ils *InformixLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var informixLinkedServiceTypeProperties InformixLinkedServiceTypeProperties - err = json.Unmarshal(*v, &informixLinkedServiceTypeProperties) + var hiveDatasetTypeProperties HiveDatasetTypeProperties + err = json.Unmarshal(*v, &hiveDatasetTypeProperties) if err != nil { return err } - ils.InformixLinkedServiceTypeProperties = &informixLinkedServiceTypeProperties + hod.HiveDatasetTypeProperties = &hiveDatasetTypeProperties } default: if v != nil { @@ -96563,19 +97521,10 @@ func (ils *InformixLinkedService) 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 hod.AdditionalProperties == nil { + hod.AdditionalProperties = make(map[string]interface{}) } - ils.ConnectVia = &connectVia + hod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -96584,117 +97533,70 @@ func (ils *InformixLinkedService) 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 + hod.Description = &description } - case "type": + case "structure": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - ils.Type = typeVar + hod.Structure = structure } - } - } - - 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": + case "schema": if v != nil { - var connectionString interface{} - err = json.Unmarshal(*v, &connectionString) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - ilstp.ConnectionString = connectionString + hod.Schema = schema } - case "authenticationType": + case "linkedServiceName": if v != nil { - var authenticationType interface{} - err = json.Unmarshal(*v, &authenticationType) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - ilstp.AuthenticationType = authenticationType + hod.LinkedServiceName = &linkedServiceName } - case "credential": + case "parameters": if v != nil { - credential, err := unmarshalBasicSecretBase(*v) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ilstp.Credential = credential + hod.Parameters = parameters } - case "userName": + case "annotations": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - ilstp.UserName = userName + hod.Annotations = &annotations } - case "password": + case "folder": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - ilstp.Password = password + hod.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 + hod.Type = typeVar } } } @@ -96702,755 +97604,494 @@ func (ilstp *InformixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err 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"` +// 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"` + // 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"` // 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', '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"` + // Type - Possible values include: 'TypeCopySource', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for InformixSink. -func (is InformixSink) MarshalJSON() ([]byte, error) { - is.Type = TypeInformixSink +// MarshalJSON is the custom marshaler for HiveSource. +func (hs HiveSource) MarshalJSON() ([]byte, error) { + hs.Type = TypeHiveSource objectMap := make(map[string]interface{}) - if is.PreCopyScript != nil { - objectMap["preCopyScript"] = is.PreCopyScript - } - if is.WriteBatchSize != nil { - objectMap["writeBatchSize"] = is.WriteBatchSize + if hs.Query != nil { + objectMap["query"] = hs.Query } - if is.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = is.WriteBatchTimeout + if hs.QueryTimeout != nil { + objectMap["queryTimeout"] = hs.QueryTimeout } - if is.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = is.SinkRetryCount + if hs.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = hs.SourceRetryCount } - if is.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = is.SinkRetryWait + if hs.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = hs.SourceRetryWait } - if is.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = is.MaxConcurrentConnections + if hs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = hs.MaxConcurrentConnections } - if is.Type != "" { - objectMap["type"] = is.Type + if hs.Type != "" { + objectMap["type"] = hs.Type } - for k, v := range is.AdditionalProperties { + for k, v := range hs.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) { +// AsHTTPSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for InformixSink. -func (is InformixSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for InformixSink. -func (is InformixSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for InformixSink. -func (is InformixSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsOffice365Source is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for InformixSink. -func (is InformixSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for InformixSink. -func (is InformixSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for InformixSink. -func (is InformixSink) AsCopySink() (*CopySink, bool) { +// AsMongoDbSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMongoDbSource() (*MongoDbSource, 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) { +// AsWebSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsOracleSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsRestSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsVerticaSource() (*VerticaSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsODataSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsZohoSource() (*ZohoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsXeroSource() (*XeroSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSquareSource() (*SquareSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSparkSource() (*SparkSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsShopifySource() (*ShopifySource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsBlobSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsPaypalSource() (*PaypalSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsJiraSource() (*JiraSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsHubspotSource() (*HubspotSource, bool) { +// AsZohoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsHiveSource() (*HiveSource, bool) { +// AsXeroSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSquareSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSparkSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsShopifySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsEloquaSource() (*EloquaSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDrillSource() (*DrillSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsConcurSource() (*ConcurSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsOffice365Source() (*Office365Source, bool) { +// AsJiraSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsImpalaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsHubspotSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false +// AsHiveSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHiveSource() (*HiveSource, bool) { + return &hs, true } -// AsCassandraSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsCassandraSource() (*CassandraSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsWebSource() (*WebSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsTeradataSource() (*TeradataSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsOracleSource() (*OracleSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsHdfsSource() (*HdfsSource, bool) { +// AsConcurSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSQLMISource() (*SQLMISource, bool) { +// AsCassandraSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsRestSource() (*RestSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSapHanaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsODataSource() (*ODataSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsOdbcSource() (*OdbcSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDb2Source() (*Db2Source, bool) { +// AsMySQLSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsOdbcSource() (*OdbcSource, 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) { +// AsDb2Source is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsInformixSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &hs, true } -// AsBlobSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsBlobSource() (*BlobSource, bool) { +// AsBinarySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsJSONSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsBinarySource() (*BinarySource, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsParquetSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsParquetSource() (*ParquetSource, bool) { +// AsAvroSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsCopySource() (*CopySource, bool) { +// AsCopySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for InformixSource. -func (is InformixSource) AsBasicCopySource() (BasicCopySource, bool) { - return &is, true +// AsBasicCopySource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsBasicCopySource() (BasicCopySource, bool) { + return &hs, true } -// UnmarshalJSON is the custom unmarshaler for InformixSource struct. -func (is *InformixSource) UnmarshalJSON(body []byte) error { +// 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 { @@ -97465,7 +98106,16 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - is.Query = query + hs.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + hs.QueryTimeout = queryTimeout } default: if v != nil { @@ -97474,10 +98124,10 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if is.AdditionalProperties == nil { - is.AdditionalProperties = make(map[string]interface{}) + if hs.AdditionalProperties == nil { + hs.AdditionalProperties = make(map[string]interface{}) } - is.AdditionalProperties[k] = additionalProperties + hs.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -97486,7 +98136,7 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - is.SourceRetryCount = sourceRetryCount + hs.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -97495,7 +98145,7 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - is.SourceRetryWait = sourceRetryWait + hs.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -97504,7 +98154,7 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - is.MaxConcurrentConnections = maxConcurrentConnections + hs.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -97513,7 +98163,7 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - is.Type = typeVar + hs.Type = typeVar } } } @@ -97521,10 +98171,10 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { return nil } -// InformixTableDataset the Informix table dataset. -type InformixTableDataset struct { - // InformixTableDatasetTypeProperties - Informix table dataset properties. - *InformixTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// 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. @@ -97541,476 +98191,511 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for InformixTableDataset. -func (itd InformixTableDataset) MarshalJSON() ([]byte, error) { - itd.Type = TypeInformixTable +// MarshalJSON is the custom marshaler for HTTPDataset. +func (hd HTTPDataset) MarshalJSON() ([]byte, error) { + hd.Type = TypeHTTPFile objectMap := make(map[string]interface{}) - if itd.InformixTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = itd.InformixTableDatasetTypeProperties + if hd.HTTPDatasetTypeProperties != nil { + objectMap["typeProperties"] = hd.HTTPDatasetTypeProperties } - if itd.Description != nil { - objectMap["description"] = itd.Description + if hd.Description != nil { + objectMap["description"] = hd.Description } - if itd.Structure != nil { - objectMap["structure"] = itd.Structure + if hd.Structure != nil { + objectMap["structure"] = hd.Structure } - if itd.Schema != nil { - objectMap["schema"] = itd.Schema + if hd.Schema != nil { + objectMap["schema"] = hd.Schema } - if itd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = itd.LinkedServiceName + if hd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = hd.LinkedServiceName } - if itd.Parameters != nil { - objectMap["parameters"] = itd.Parameters + if hd.Parameters != nil { + objectMap["parameters"] = hd.Parameters } - if itd.Annotations != nil { - objectMap["annotations"] = itd.Annotations + if hd.Annotations != nil { + objectMap["annotations"] = hd.Annotations } - if itd.Folder != nil { - objectMap["folder"] = itd.Folder + if hd.Folder != nil { + objectMap["folder"] = hd.Folder } - if itd.Type != "" { - objectMap["type"] = itd.Type + if hd.Type != "" { + objectMap["type"] = hd.Type } - for k, v := range itd.AdditionalProperties { + for k, v := range hd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// 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 InformixTableDataset. -func (itd InformixTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsRestResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { - return &itd, true +// AsMySQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { + return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsInformixTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDb2TableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsOffice365Dataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsDataset() (*Dataset, bool) { +// AsBinaryDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for InformixTableDataset. -func (itd InformixTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &itd, true +// AsJSONDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false } -// 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 +// 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 +} + +// AsAvroDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsAvroDataset() (*AvroDataset, 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 } - if itd.AdditionalProperties == nil { - itd.AdditionalProperties = make(map[string]interface{}) + hd.HTTPDatasetTypeProperties = &HTTPDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err } - itd.AdditionalProperties[k] = additionalProperties + if hd.AdditionalProperties == nil { + hd.AdditionalProperties = make(map[string]interface{}) + } + hd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -98019,7 +98704,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Description = &description + hd.Description = &description } case "structure": if v != nil { @@ -98028,7 +98713,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Structure = structure + hd.Structure = structure } case "schema": if v != nil { @@ -98037,7 +98722,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Schema = schema + hd.Schema = schema } case "linkedServiceName": if v != nil { @@ -98046,7 +98731,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.LinkedServiceName = &linkedServiceName + hd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -98055,7 +98740,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Parameters = parameters + hd.Parameters = parameters } case "annotations": if v != nil { @@ -98064,7 +98749,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Annotations = &annotations + hd.Annotations = &annotations } case "folder": if v != nil { @@ -98073,7 +98758,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Folder = &folder + hd.Folder = &folder } case "type": if v != nil { @@ -98082,7 +98767,7 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - itd.Type = typeVar + hd.Type = typeVar } } } @@ -98090,108 +98775,604 @@ func (itd *InformixTableDataset) UnmarshalJSON(body []byte) error { 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"` +// 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"` } -// 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) +// 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 } -// IntegrationRuntime azure Data Factory nested object which serves as a compute resource for activities. -type IntegrationRuntime struct { +// 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:""` - // Description - Integration runtime description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' - Type TypeBasicIntegrationRuntime `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', 'TypeAzureMariaDB', '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 unmarshalBasicIntegrationRuntime(body []byte) (BasicIntegrationRuntime, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err +// 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 } - - 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 + if hls.ConnectVia != nil { + objectMap["connectVia"] = hls.ConnectVia } -} -func unmarshalBasicIntegrationRuntimeArray(body []byte) ([]BasicIntegrationRuntime, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err + if hls.Description != nil { + objectMap["description"] = hls.Description } - - irArray := make([]BasicIntegrationRuntime, len(rawMessages)) - - for index, rawMessage := range rawMessages { - ir, err := unmarshalBasicIntegrationRuntime(*rawMessage) - if err != nil { - return nil, err - } - irArray[index] = ir + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters } - 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 hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations } - if ir.Type != "" { - objectMap["type"] = ir.Type + if hls.Type != "" { + objectMap["type"] = hls.Type } - for k, v := range ir.AdditionalProperties { + for k, v := range hls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { - return &ir, true +// AsSapTableLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false } -// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for IntegrationRuntime. -func (ir IntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { - return &ir, true +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntime struct. -func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { +// 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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HTTPLinkedService. +func (hls HTTPLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, 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 { @@ -98199,6 +99380,15 @@ func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { } 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{} @@ -98206,10 +99396,19 @@ func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ir.AdditionalProperties == nil { - ir.AdditionalProperties = make(map[string]interface{}) + if hls.AdditionalProperties == nil { + hls.AdditionalProperties = make(map[string]interface{}) } - ir.AdditionalProperties[k] = additionalProperties + 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 { @@ -98218,16 +99417,34 @@ func (ir *IntegrationRuntime) UnmarshalJSON(body []byte) error { if err != nil { return err } - ir.Description = &description + 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 TypeBasicIntegrationRuntime + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ir.Type = typeVar + hls.Type = typeVar } } } @@ -98235,57 +99452,28 @@ 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 { - // 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) +// 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 IntegrationRuntimeComputeProperties struct. -func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) error { +// 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 { @@ -98293,62 +99481,76 @@ func (ircp *IntegrationRuntimeComputeProperties) UnmarshalJSON(body []byte) erro } 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 ircp.AdditionalProperties == nil { - ircp.AdditionalProperties = make(map[string]interface{}) + hlstp.URL = URL + } + case "authenticationType": + if v != nil { + var authenticationType HTTPAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err } - ircp.AdditionalProperties[k] = additionalProperties + hlstp.AuthenticationType = authenticationType } - case "location": + case "userName": if v != nil { - var location string - err = json.Unmarshal(*v, &location) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - ircp.Location = &location + hlstp.UserName = userName } - case "nodeSize": + case "password": if v != nil { - var nodeSize string - err = json.Unmarshal(*v, &nodeSize) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ircp.NodeSize = &nodeSize + hlstp.Password = password } - case "numberOfNodes": + case "embeddedCertData": if v != nil { - var numberOfNodes int32 - err = json.Unmarshal(*v, &numberOfNodes) + var embeddedCertData interface{} + err = json.Unmarshal(*v, &embeddedCertData) if err != nil { return err } - ircp.NumberOfNodes = &numberOfNodes + hlstp.EmbeddedCertData = embeddedCertData } - case "maxParallelExecutionsPerNode": + case "certThumbprint": if v != nil { - var maxParallelExecutionsPerNode int32 - err = json.Unmarshal(*v, &maxParallelExecutionsPerNode) + var certThumbprint interface{} + err = json.Unmarshal(*v, &certThumbprint) if err != nil { return err } - ircp.MaxParallelExecutionsPerNode = &maxParallelExecutionsPerNode + hlstp.CertThumbprint = certThumbprint } - case "vNetProperties": + case "encryptedCredential": if v != nil { - var vNetProperties IntegrationRuntimeVNetProperties - err = json.Unmarshal(*v, &vNetProperties) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - ircp.VNetProperties = &vNetProperties + hlstp.EncryptedCredential = encryptedCredential + } + case "enableServerCertificateValidation": + if v != nil { + var enableServerCertificateValidation interface{} + err = json.Unmarshal(*v, &enableServerCertificateValidation) + if err != nil { + return err + } + hlstp.EnableServerCertificateValidation = enableServerCertificateValidation } } } @@ -98356,37 +99558,53 @@ 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:"-"` +// 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:""` - // 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 HTTPReadSettings. +func (hrs HTTPReadSettings) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - for k, v := range irci.AdditionalProperties { + 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 IntegrationRuntimeConnectionInfo struct. -func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error { +// 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 { @@ -98394,71 +99612,71 @@ func (irci *IntegrationRuntimeConnectionInfo) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - default: + case "requestMethod": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var requestMethod interface{} + err = json.Unmarshal(*v, &requestMethod) if err != nil { return err } - if irci.AdditionalProperties == nil { - irci.AdditionalProperties = make(map[string]interface{}) - } - irci.AdditionalProperties[k] = additionalProperties + hrs.RequestMethod = requestMethod } - case "serviceToken": + case "requestBody": if v != nil { - var serviceToken string - err = json.Unmarshal(*v, &serviceToken) + var requestBody interface{} + err = json.Unmarshal(*v, &requestBody) if err != nil { return err } - irci.ServiceToken = &serviceToken + hrs.RequestBody = requestBody } - case "identityCertThumbprint": + case "additionalHeaders": if v != nil { - var identityCertThumbprint string - err = json.Unmarshal(*v, &identityCertThumbprint) + var additionalHeaders interface{} + err = json.Unmarshal(*v, &additionalHeaders) if err != nil { return err } - irci.IdentityCertThumbprint = &identityCertThumbprint + hrs.AdditionalHeaders = additionalHeaders } - case "hostServiceUri": + case "requestTimeout": if v != nil { - var hostServiceURI string - err = json.Unmarshal(*v, &hostServiceURI) + var requestTimeout interface{} + err = json.Unmarshal(*v, &requestTimeout) if err != nil { return err } - irci.HostServiceURI = &hostServiceURI + hrs.RequestTimeout = requestTimeout } - case "version": + default: if v != nil { - var version string - err = json.Unmarshal(*v, &version) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - irci.Version = &version + if hrs.AdditionalProperties == nil { + hrs.AdditionalProperties = make(map[string]interface{}) + } + hrs.AdditionalProperties[k] = additionalProperties } - case "publicKey": + case "type": if v != nil { - var publicKey string - err = json.Unmarshal(*v, &publicKey) + var typeVar string + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - irci.PublicKey = &publicKey + hrs.Type = &typeVar } - case "isIdentityCertExprired": + case "maxConcurrentConnections": if v != nil { - var isIdentityCertExprired bool - err = json.Unmarshal(*v, &isIdentityCertExprired) + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) if err != nil { return err } - irci.IsIdentityCertExprired = &isIdentityCertExprired + hrs.MaxConcurrentConnections = maxConcurrentConnections } } } @@ -98466,16 +99684,7343 @@ 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"` -} - -// IntegrationRuntimeDataProxyProperties data proxy properties for a managed dedicated integration runtime. +// 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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) +} + +// 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 +} + +// AsWebSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsCassandraSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 +} + +// 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 +} + +// AsSalesforceSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return nil, false +} + +// AsBinarySource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for HTTPSource. +func (hs HTTPSource) AsAvroSource() (*AvroSource, 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', 'TypeAzureMariaDB', '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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for HubspotLinkedService. +func (hls HubspotLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, 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 +} + +// 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 +} + +// 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 +} + +// AsDb2TableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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 +} + +// AsJSONDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsJSONDataset() (*JSONDataset, 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 +} + +// AsAvroDataset is the BasicDataset implementation for HubspotObjectDataset. +func (hod HubspotObjectDataset) AsAvroDataset() (*AvroDataset, 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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.QueryTimeout != nil { + objectMap["queryTimeout"] = hs.QueryTimeout + } + 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) +} + +// 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 +} + +// AsWebSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsCassandraSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 +} + +// 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 +} + +// AsSalesforceSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &hs, true +} + +// AsBinarySource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for HubspotSource. +func (hs HubspotSource) AsAvroSource() (*AvroSource, 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 + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + hs.QueryTimeout = queryTimeout + } + 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', '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 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 +} + +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, 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 +} + +// 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. + *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', 'TypeAzureMariaDB', '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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ImpalaLinkedService. +func (ils ImpalaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, 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 { + // 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. + 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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.ImpalaDatasetTypeProperties != nil { + objectMap["typeProperties"] = iod.ImpalaDatasetTypeProperties + } + 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 +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, 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 +} + +// 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 +} + +// 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 +} + +// AsDb2TableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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 +} + +// AsJSONDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsJSONDataset() (*JSONDataset, 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 +} + +// AsAvroDataset is the BasicDataset implementation for ImpalaObjectDataset. +func (iod ImpalaObjectDataset) AsAvroDataset() (*AvroDataset, 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 impalaDatasetTypeProperties ImpalaDatasetTypeProperties + err = json.Unmarshal(*v, &impalaDatasetTypeProperties) + if err != nil { + return err + } + iod.ImpalaDatasetTypeProperties = &impalaDatasetTypeProperties + } + 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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.QueryTimeout != nil { + objectMap["queryTimeout"] = is.QueryTimeout + } + 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) +} + +// 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 +} + +// AsWebSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsCassandraSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 +} + +// 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 +} + +// AsSalesforceSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &is, true +} + +// AsBinarySource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for ImpalaSource. +func (is ImpalaSource) AsAvroSource() (*AvroSource, 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 + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + is.QueryTimeout = queryTimeout + } + 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', 'TypeAzureMariaDB', '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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for InformixLinkedService. +func (ils InformixLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', '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 +} + +// AsAvroSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAvroSink() (*AvroSink, 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 +} + +// AsAzureMySQLSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsJSONSink is the BasicCopySink implementation for InformixSink. +func (is InformixSink) AsJSONSink() (*JSONSink, 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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.QueryTimeout != nil { + objectMap["queryTimeout"] = is.QueryTimeout + } + 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) +} + +// 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 +} + +// AsWebSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// 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 +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsCassandraSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 +} + +// 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 +} + +// AsSalesforceSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsInformixSource() (*InformixSource, bool) { + return &is, true +} + +// AsAzureTableSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &is, true +} + +// AsBinarySource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for InformixSource. +func (is InformixSource) AsAvroSource() (*AvroSource, 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 + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + is.QueryTimeout = queryTimeout + } + 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, 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 +} + +// 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 +} + +// 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 +} + +// AsDb2TableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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 +} + +// AsJSONDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsJSONDataset() (*JSONDataset, 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 +} + +// AsAvroDataset is the BasicDataset implementation for InformixTableDataset. +func (itd InformixTableDataset) AsAvroDataset() (*AvroDataset, 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"` @@ -98485,202 +107030,1474 @@ type IntegrationRuntimeDataProxyProperties struct { 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"` +// 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', 'TypeAzureMariaDB', '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 +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, 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 } -// IntegrationRuntimeListResponseIterator provides access to a complete listing of -// IntegrationRuntimeResource values. -type IntegrationRuntimeListResponseIterator struct { - i int - page IntegrationRuntimeListResponsePage +// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, 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 +// AsOffice365LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, 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()) +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, 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()) +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter IntegrationRuntimeListResponseIterator) Response() IntegrationRuntimeListResponse { - return iter.page.Response() +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, 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] +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { + return nil, false } -// Creates a new instance of the IntegrationRuntimeListResponseIterator type. -func NewIntegrationRuntimeListResponseIterator(page IntegrationRuntimeListResponsePage) IntegrationRuntimeListResponseIterator { - return IntegrationRuntimeListResponseIterator{page: page} +// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, 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 +// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, 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))) +// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false } -// IntegrationRuntimeListResponsePage contains a page of IntegrationRuntimeResource values. -type IntegrationRuntimeListResponsePage struct { - fn func(context.Context, IntegrationRuntimeListResponse) (IntegrationRuntimeListResponse, error) - irlr IntegrationRuntimeListResponse +// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, 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 +// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, 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()) +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, 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() +// AsInformixLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page IntegrationRuntimeListResponsePage) Response() IntegrationRuntimeListResponse { - return page.irlr +// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, 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 +// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, 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} +// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, 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"` +// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, 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"` +// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, 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"` +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, 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) +// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. +func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeNodeMonitoringData struct. -func (irnmd *IntegrationRuntimeNodeMonitoringData) UnmarshalJSON(body []byte) error { +// 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 { @@ -98688,89 +108505,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 "typeProperties": if v != nil { - var nodeName string - err = json.Unmarshal(*v, &nodeName) + var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties + err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties) if err != nil { return err } - irnmd.NodeName = &nodeName + jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties } - case "availableMemoryInMB": + default: if v != nil { - var availableMemoryInMB int32 - err = json.Unmarshal(*v, &availableMemoryInMB) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) 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 + if jls.AdditionalProperties == nil { + jls.AdditionalProperties = make(map[string]interface{}) } - irnmd.CPUUtilization = &CPUUtilization + jls.AdditionalProperties[k] = additionalProperties } - case "concurrentJobsLimit": + case "connectVia": if v != nil { - var concurrentJobsLimit int32 - err = json.Unmarshal(*v, &concurrentJobsLimit) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - irnmd.ConcurrentJobsLimit = &concurrentJobsLimit + jls.ConnectVia = &connectVia } - case "concurrentJobsRunning": + case "description": if v != nil { - var concurrentJobsRunning int32 - err = json.Unmarshal(*v, &concurrentJobsRunning) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - irnmd.ConcurrentJobsRunning = &concurrentJobsRunning + jls.Description = &description } - case "maxConcurrentJobs": + case "parameters": if v != nil { - var maxConcurrentJobs int32 - err = json.Unmarshal(*v, &maxConcurrentJobs) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - irnmd.MaxConcurrentJobs = &maxConcurrentJobs + jls.Parameters = parameters } - case "sentBytes": + case "annotations": if v != nil { - var sentBytes float64 - err = json.Unmarshal(*v, &sentBytes) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - irnmd.SentBytes = &sentBytes + jls.Annotations = &annotations } - case "receivedBytes": + case "type": if v != nil { - var receivedBytes float64 - err = json.Unmarshal(*v, &receivedBytes) + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - irnmd.ReceivedBytes = &receivedBytes + jls.Type = typeVar } } } @@ -98778,83 +108577,28 @@ 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 -} - -// 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"` +// 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 IntegrationRuntimeResource struct. -func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error { +// 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 { @@ -98862,49 +108606,76 @@ func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": + case "host": if v != nil { - properties, err := unmarshalBasicIntegrationRuntime(*v) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - irr.Properties = properties + jlstp.Host = host } - case "id": + case "port": if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - irr.ID = &ID + jlstp.Port = port } - case "name": + case "username": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - irr.Name = &name + jlstp.Username = username } - case "type": + case "password": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - irr.Type = &typeVar + jlstp.Password = password } - case "etag": + case "useEncryptedEndpoints": if v != nil { - var etag string - err = json.Unmarshal(*v, &etag) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - irr.Etag = &etag + 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 } } } @@ -98912,43 +108683,504 @@ func (irr *IntegrationRuntimeResource) UnmarshalJSON(body []byte) error { return nil } -// IntegrationRuntimeSsisCatalogInfo catalog information for managed dedicated integration runtime. -type IntegrationRuntimeSsisCatalogInfo struct { +// 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:""` - // 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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, 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 +} + +// 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 +} + +// 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 +} + +// AsDb2TableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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 +} + +// AsJSONDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsJSONDataset() (*JSONDataset, 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 +} + +// AsAvroDataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAvroDataset() (*AvroDataset, 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) +// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset. +func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeSsisCatalogInfo struct. -func (irsci *IntegrationRuntimeSsisCatalogInfo) UnmarshalJSON(body []byte) error { +// 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 { @@ -98956,165 +109188,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 + jod.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 jod.AdditionalProperties == nil { + jod.AdditionalProperties = make(map[string]interface{}) } - irsci.CatalogAdminUserName = &catalogAdminUserName + jod.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 + jod.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 + jod.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 + jod.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 + jod.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 + jod.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 + jod.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 + jod.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 + jod.Type = typeVar } } } @@ -99122,224 +109287,494 @@ 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 +// 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `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 JiraSource. +func (js JiraSource) MarshalJSON() ([]byte, error) { + js.Type = TypeJiraSource + objectMap := make(map[string]interface{}) + if js.Query != nil { + objectMap["query"] = js.Query } - if !done { - err = azure.NewAsyncOpIncompleteError("datafactory.IntegrationRuntimesStartFuture") - return + if js.QueryTimeout != nil { + objectMap["queryTimeout"] = js.QueryTimeout } - 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 js.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = js.SourceRetryCount } - return + 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) } -// IntegrationRuntimesStopFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. -type IntegrationRuntimesStopFuture struct { - azure.Future +// AsHTTPSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHTTPSource() (*HTTPSource, 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 +// AsAzureBlobFSSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false } -// BasicIntegrationRuntimeStatus integration runtime status. -type BasicIntegrationRuntimeStatus interface { - AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) - AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) - AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, 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: '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"` +// AsOffice365Source is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsOffice365Source() (*Office365Source, 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 - } +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, 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 - } +// AsMongoDbV2Source is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMongoDbV2Source() (*MongoDbV2Source, 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)) +// AsMongoDbSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMongoDbSource() (*MongoDbSource, 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 +// AsWebSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsWebSource() (*WebSource, 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) +// AsOracleSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsOracleSource() (*OracleSource, bool) { + return nil, false } -// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { +// AsHdfsSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { - return &irs, true +// AsFileSystemSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false } -// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for IntegrationRuntimeStatus. -func (irs IntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { - return &irs, true +// AsRestSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsRestSource() (*RestSource, bool) { + return nil, false } -// 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 - } - } - } +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} - return nil +// AsODataSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsODataSource() (*ODataSource, bool) { + return nil, false } -// 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"` +// AsMicrosoftAccessSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false } -// 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"` +// AsRelationalSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for IntegrationRuntimeStatusResponse struct. -func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error { +// 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 +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsCassandraSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 +} + +// 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 +} + +// AsSalesforceSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &js, true +} + +// AsBinarySource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for JiraSource. +func (js JiraSource) AsAvroSource() (*AvroSource, 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 { @@ -99347,63 +109782,24 @@ func (irsr *IntegrationRuntimeStatusResponse) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "name": + case "query": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - irsr.Name = &name + js.Query = query } - case "properties": + case "queryTimeout": if v != nil { - properties, err := unmarshalBasicIntegrationRuntimeStatus(*v) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - irsr.Properties = properties + js.QueryTimeout = queryTimeout } - } - } - - 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{} @@ -99411,28 +109807,46 @@ func (irvnp *IntegrationRuntimeVNetProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - if irvnp.AdditionalProperties == nil { - irvnp.AdditionalProperties = make(map[string]interface{}) + if js.AdditionalProperties == nil { + js.AdditionalProperties = make(map[string]interface{}) } - irvnp.AdditionalProperties[k] = additionalProperties + js.AdditionalProperties[k] = additionalProperties } - case "vNetId": + case "sourceRetryCount": if v != nil { - var vNetID string - err = json.Unmarshal(*v, &vNetID) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - irvnp.VNetID = &vNetID + js.SourceRetryCount = sourceRetryCount } - case "subnet": + case "sourceRetryWait": if v != nil { - var subnet string - err = json.Unmarshal(*v, &subnet) + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) if err != nil { return err } - irvnp.Subnet = &subnet + 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 } } } @@ -99440,514 +109854,504 @@ 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"` +// JSONDataset json dataset. +type JSONDataset struct { + // JSONDatasetTypeProperties - Json dataset properties. + *JSONDatasetTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 JSONDataset. +func (jd JSONDataset) MarshalJSON() ([]byte, error) { + jd.Type = TypeJSON objectMap := make(map[string]interface{}) - if jls.JiraLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = jls.JiraLinkedServiceTypeProperties + if jd.JSONDatasetTypeProperties != nil { + objectMap["typeProperties"] = jd.JSONDatasetTypeProperties } - if jls.ConnectVia != nil { - objectMap["connectVia"] = jls.ConnectVia + if jd.Description != nil { + objectMap["description"] = jd.Description } - if jls.Description != nil { - objectMap["description"] = jls.Description + if jd.Structure != nil { + objectMap["structure"] = jd.Structure } - if jls.Parameters != nil { - objectMap["parameters"] = jls.Parameters + if jd.Schema != nil { + objectMap["schema"] = jd.Schema } - if jls.Annotations != nil { - objectMap["annotations"] = jls.Annotations + if jd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = jd.LinkedServiceName } - if jls.Type != "" { - objectMap["type"] = jls.Type + if jd.Parameters != nil { + objectMap["parameters"] = jd.Parameters } - for k, v := range jls.AdditionalProperties { + if jd.Annotations != nil { + objectMap["annotations"] = jd.Annotations + } + if jd.Folder != nil { + objectMap["folder"] = jd.Folder + } + if jd.Type != "" { + objectMap["type"] = jd.Type + } + for k, v := range jd.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) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return nil, false +// AsJSONDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsJSONDataset() (*JSONDataset, bool) { + return &jd, true } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for JiraLinkedService. -func (jls JiraLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) 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 JSONDataset. +func (jd JSONDataset) AsBasicDataset() (BasicDataset, bool) { + return &jd, true } -// UnmarshalJSON is the custom unmarshaler for JiraLinkedService struct. -func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for JSONDataset struct. +func (jd *JSONDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -99957,12 +110361,12 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var jiraLinkedServiceTypeProperties JiraLinkedServiceTypeProperties - err = json.Unmarshal(*v, &jiraLinkedServiceTypeProperties) + var JSONDatasetTypeProperties JSONDatasetTypeProperties + err = json.Unmarshal(*v, &JSONDatasetTypeProperties) if err != nil { return err } - jls.JiraLinkedServiceTypeProperties = &jiraLinkedServiceTypeProperties + jd.JSONDatasetTypeProperties = &JSONDatasetTypeProperties } default: if v != nil { @@ -99971,28 +110375,46 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if jls.AdditionalProperties == nil { - jls.AdditionalProperties = make(map[string]interface{}) + if jd.AdditionalProperties == nil { + jd.AdditionalProperties = make(map[string]interface{}) } - jls.AdditionalProperties[k] = additionalProperties + jd.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 } - jls.ConnectVia = &connectVia + jd.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 } - jls.Description = &description + jd.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + jd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + jd.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -100001,7 +110423,7 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - jls.Parameters = parameters + jd.Parameters = parameters } case "annotations": if v != nil { @@ -100010,16 +110432,25 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - jls.Annotations = &annotations + jd.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + jd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - jls.Type = typeVar + jd.Type = typeVar } } } @@ -100027,28 +110458,18 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { 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"` +// JSONDatasetTypeProperties json dataset properties. +type JSONDatasetTypeProperties struct { + // Location - The location of the json data storage. + Location *DatasetLocation `json:"location,omitempty"` + // EncodingName - The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + EncodingName interface{} `json:"encodingName,omitempty"` + // Compression - The data compression method used for the json dataset. + Compression BasicDatasetCompression `json:"compression,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for JiraLinkedServiceTypeProperties struct. -func (jlstp *JiraLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for JSONDatasetTypeProperties struct. +func (jdtp *JSONDatasetTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -100056,76 +110477,31 @@ func (jlstp *JiraLinkedServiceTypeProperties) 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 - } - 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": + case "location": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var location DatasetLocation + err = json.Unmarshal(*v, &location) if err != nil { return err } - jlstp.UseHostVerification = useHostVerification + jdtp.Location = &location } - case "usePeerVerification": + case "encodingName": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var encodingName interface{} + err = json.Unmarshal(*v, &encodingName) if err != nil { return err } - jlstp.UsePeerVerification = usePeerVerification + jdtp.EncodingName = encodingName } - case "encryptedCredential": + case "compression": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + compression, err := unmarshalBasicDatasetCompression(*v) if err != nil { return err } - jlstp.EncryptedCredential = encryptedCredential + jdtp.Compression = compression } } } @@ -100133,469 +110509,422 @@ 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"` +// 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:""` - // 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"` + // 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 JiraObjectDataset. -func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) { - jod.Type = TypeJiraObject +// MarshalJSON is the custom marshaler for JSONFormat. +func (jf JSONFormat) MarshalJSON() ([]byte, error) { + jf.Type = TypeJSONFormat objectMap := make(map[string]interface{}) - if jod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = jod.GenericDatasetTypeProperties - } - if jod.Description != nil { - objectMap["description"] = jod.Description + if jf.FilePattern != nil { + objectMap["filePattern"] = jf.FilePattern } - if jod.Structure != nil { - objectMap["structure"] = jod.Structure + if jf.NestingSeparator != nil { + objectMap["nestingSeparator"] = jf.NestingSeparator } - if jod.Schema != nil { - objectMap["schema"] = jod.Schema + if jf.EncodingName != nil { + objectMap["encodingName"] = jf.EncodingName } - if jod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = jod.LinkedServiceName + if jf.JSONNodeReference != nil { + objectMap["jsonNodeReference"] = jf.JSONNodeReference } - if jod.Parameters != nil { - objectMap["parameters"] = jod.Parameters + if jf.JSONPathDefinition != nil { + objectMap["jsonPathDefinition"] = jf.JSONPathDefinition } - if jod.Annotations != nil { - objectMap["annotations"] = jod.Annotations + if jf.Serializer != nil { + objectMap["serializer"] = jf.Serializer } - if jod.Folder != nil { - objectMap["folder"] = jod.Folder + if jf.Deserializer != nil { + objectMap["deserializer"] = jf.Deserializer } - if jod.Type != "" { - objectMap["type"] = jod.Type + if jf.Type != "" { + objectMap["type"] = jf.Type } - for k, v := range jod.AdditionalProperties { + for k, v := range jf.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) { +// AsParquetFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsParquetFormat() (*ParquetFormat, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsOrcFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsOrcFormat() (*OrcFormat, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsAvroFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsAvroFormat() (*AvroFormat, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false +// AsJSONFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsJSONFormat() (*JSONFormat, bool) { + return &jf, true } -// AsSQLServerTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsTextFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsTextFormat() (*TextFormat, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { - return nil, false +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for JSONFormat. +func (jf JSONFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &jf, true } -// AsSapEccResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} +// 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 + } + } + } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false + return nil } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false +// JSONSink a copy activity Json sink. +type JSONSink struct { + // StoreSettings - Json store settings. + StoreSettings BasicStoreWriteSettings `json:"storeSettings,omitempty"` + // FormatSettings - Json format settings. + FormatSettings *JSONWriteSettings `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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// AsSalesforceObjectDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for JSONSink. +func (js JSONSink) MarshalJSON() ([]byte, error) { + js.Type = TypeJSONSink + objectMap := make(map[string]interface{}) + objectMap["storeSettings"] = js.StoreSettings + if js.FormatSettings != nil { + objectMap["formatSettings"] = js.FormatSettings + } + if js.WriteBatchSize != nil { + objectMap["writeBatchSize"] = js.WriteBatchSize + } + if js.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = js.WriteBatchTimeout + } + if js.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = js.SinkRetryCount + } + if js.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = js.SinkRetryWait + } + 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) } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsInformixSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsOracleSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLMISink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLServerSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsFileSystemSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsBinarySink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsParquetSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsAvroSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { - return nil, false +// AsJSONSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsJSONSink() (*JSONSink, bool) { + return &js, true } -// AsAmazonS3Dataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsDataset() (*Dataset, bool) { +// AsCopySink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for JiraObjectDataset. -func (jod JiraObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &jod, true +// AsBasicCopySink is the BasicCopySink implementation for JSONSink. +func (js JSONSink) AsBasicCopySink() (BasicCopySink, bool) { + return &js, true } -// UnmarshalJSON is the custom unmarshaler for JiraObjectDataset struct. -func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for JSONSink struct. +func (js *JSONSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -100603,98 +110932,88 @@ func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "storeSettings": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + storeSettings, err := unmarshalBasicStoreWriteSettings(*v) if err != nil { return err } - jod.GenericDatasetTypeProperties = &genericDatasetTypeProperties + js.StoreSettings = storeSettings } - default: + case "formatSettings": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var formatSettings JSONWriteSettings + err = json.Unmarshal(*v, &formatSettings) if err != nil { return err } - if jod.AdditionalProperties == nil { - jod.AdditionalProperties = make(map[string]interface{}) - } - jod.AdditionalProperties[k] = additionalProperties + js.FormatSettings = &formatSettings } - 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 } - jod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err + if js.AdditionalProperties == nil { + js.AdditionalProperties = make(map[string]interface{}) } - jod.Structure = structure + js.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 } - jod.Schema = schema + js.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 } - jod.LinkedServiceName = &linkedServiceName + js.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 } - jod.Parameters = parameters + js.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 } - jod.Annotations = &annotations + js.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 } - jod.Folder = &folder + js.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - jod.Type = typeVar + js.Type = typeVar } } } @@ -100702,10 +111021,10 @@ func (jod *JiraObjectDataset) UnmarshalJSON(body []byte) error { 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"` +// JSONSource a copy activity Json source. +type JSONSource struct { + // StoreSettings - Json 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). @@ -100714,16 +111033,16 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for JiraSource. -func (js JiraSource) MarshalJSON() ([]byte, error) { - js.Type = TypeJiraSource +// MarshalJSON is the custom marshaler for JSONSource. +func (js JSONSource) MarshalJSON() ([]byte, error) { + js.Type = TypeJSONSource objectMap := make(map[string]interface{}) - if js.Query != nil { - objectMap["query"] = js.Query + if js.StoreSettings != nil { + objectMap["storeSettings"] = js.StoreSettings } if js.SourceRetryCount != nil { objectMap["sourceRetryCount"] = js.SourceRetryCount @@ -100743,418 +111062,448 @@ func (js JiraSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsJiraSource() (*JiraSource, bool) { - return &js, true +// AsBlobSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsBlobSource() (*BlobSource, bool) { + return nil, false } -// AsImpalaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsODataSource() (*ODataSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsSybaseSource() (*SybaseSource, bool) { +// AsSQLServerSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSQLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDb2Source() (*Db2Source, bool) { +// AsSapHanaSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsInformixSource() (*InformixSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsBlobSource() (*BlobSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsBinarySource() (*BinarySource, bool) { +// AsInformixSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsParquetSource() (*ParquetSource, bool) { +// AsTabularSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsCopySource() (*CopySource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for JiraSource. -func (js JiraSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsBinarySource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsJSONSource() (*JSONSource, bool) { return &js, true } -// UnmarshalJSON is the custom unmarshaler for JiraSource struct. -func (js *JiraSource) UnmarshalJSON(body []byte) error { +// AsDelimitedTextSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for JSONSource. +func (js JSONSource) AsBasicCopySource() (BasicCopySource, bool) { + return &js, true +} + +// UnmarshalJSON is the custom unmarshaler for JSONSource struct. +func (js *JSONSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -101162,14 +111511,14 @@ func (js *JiraSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "storeSettings": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var storeSettings StoreReadSettings + err = json.Unmarshal(*v, &storeSettings) if err != nil { return err } - js.Query = query + js.StoreSettings = &storeSettings } default: if v != nil { @@ -101225,99 +111574,33 @@ 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"` +// JSONWriteSettings json write settings. +type JSONWriteSettings struct { + // FilePattern - File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. Possible values include: 'SetOfObjects', 'ArrayOfObjects' + FilePattern JSONWriteFilePattern `json:"filePattern,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"` + // Type - The write setting type. + Type *string `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for JSONFormat. -func (jf JSONFormat) MarshalJSON() ([]byte, error) { - jf.Type = TypeJSONFormat +// MarshalJSON is the custom marshaler for JSONWriteSettings. +func (jws JSONWriteSettings) MarshalJSON() ([]byte, error) { 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 jws.FilePattern != "" { + objectMap["filePattern"] = jws.FilePattern } - if jf.Serializer != nil { - objectMap["serializer"] = jf.Serializer - } - if jf.Deserializer != nil { - objectMap["deserializer"] = jf.Deserializer - } - if jf.Type != "" { - objectMap["type"] = jf.Type + if jws.Type != nil { + objectMap["type"] = jws.Type } - for k, v := range jf.AdditionalProperties { + for k, v := range jws.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 { +// UnmarshalJSON is the custom unmarshaler for JSONWriteSettings struct. +func (jws *JSONWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -101327,48 +111610,12 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error { switch k { case "filePattern": if v != nil { - var filePattern interface{} + var filePattern JSONWriteFilePattern 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 + jws.FilePattern = filePattern } default: if v != nil { @@ -101377,37 +111624,19 @@ func (jf *JSONFormat) UnmarshalJSON(body []byte) error { 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 + if jws.AdditionalProperties == nil { + jws.AdditionalProperties = make(map[string]interface{}) } - jf.Deserializer = deserializer + jws.AdditionalProperties[k] = additionalProperties } case "type": if v != nil { - var typeVar TypeBasicDatasetStorageFormat + var typeVar string err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - jf.Type = typeVar + jws.Type = &typeVar } } } @@ -101629,6 +111858,7 @@ type BasicLinkedService interface { AsPhoenixLinkedService() (*PhoenixLinkedService, bool) AsPaypalLinkedService() (*PaypalLinkedService, bool) AsMarketoLinkedService() (*MarketoLinkedService, bool) + AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) AsMagentoLinkedService() (*MagentoLinkedService, bool) AsJiraLinkedService() (*JiraLinkedService, bool) @@ -101711,7 +111941,7 @@ type LinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -101819,6 +112049,10 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) { var mls MarketoLinkedService err := json.Unmarshal(body, &mls) return mls, err + case string(TypeAzureMariaDB): + var amdls AzureMariaDBLinkedService + err := json.Unmarshal(body, &amdls) + return amdls, err case string(TypeMariaDB): var mdls MariaDBLinkedService err := json.Unmarshal(body, &mdls) @@ -102253,6 +112487,11 @@ func (ls LinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for LinkedService. func (ls LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -103385,7 +113624,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -103537,6 +113776,11 @@ func (mls MagentoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MagentoLinkedService. func (mls MagentoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -104062,7 +114306,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -104198,6 +114442,11 @@ func (mod MagentoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -104323,6 +114572,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 @@ -104363,6 +114622,16 @@ func (mod MagentoObjectDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -104478,6 +114747,11 @@ func (mod MagentoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -104488,6 +114762,11 @@ func (mod MagentoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -104615,6 +114894,8 @@ func (mod *MagentoObjectDataset) UnmarshalJSON(body []byte) error { type MagentoSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -104623,7 +114904,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -104634,6 +114915,9 @@ func (ms MagentoSource) MarshalJSON() ([]byte, error) { if ms.Query != nil { objectMap["query"] = ms.Query } + if ms.QueryTimeout != nil { + objectMap["queryTimeout"] = ms.QueryTimeout + } if ms.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ms.SourceRetryCount } @@ -104652,6 +114936,116 @@ func (ms MagentoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 +} + +// AsWebSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -104747,6 +115141,11 @@ func (ms MagentoSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -104822,81 +115221,21 @@ 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 @@ -104922,11 +115261,6 @@ 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 @@ -104952,18 +115286,13 @@ func (ms MagentoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc 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) { +// AsSapBwSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -104992,53 +115321,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ms, true } -// AsAzureTableSource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MagentoSource. -func (ms MagentoSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -105052,6 +115361,11 @@ func (ms MagentoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -105080,6 +115394,15 @@ func (ms *MagentoSource) UnmarshalJSON(body []byte) error { } ms.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ms.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -105436,7 +115759,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -105588,6 +115911,11 @@ func (mdls MariaDBLinkedService) AsMarketoLinkedService() (*MarketoLinkedService return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. func (mdls MariaDBLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return &mdls, true @@ -106023,6 +116351,8 @@ type MariaDBLinkedServiceTypeProperties struct { type MariaDBSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -106031,7 +116361,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -106042,6 +116372,9 @@ func (mds MariaDBSource) MarshalJSON() ([]byte, error) { if mds.Query != nil { objectMap["query"] = mds.Query } + if mds.QueryTimeout != nil { + objectMap["queryTimeout"] = mds.QueryTimeout + } if mds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mds.SourceRetryCount } @@ -106060,6 +116393,116 @@ func (mds MariaDBSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 +} + +// AsWebSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -106155,6 +116598,11 @@ func (mds MariaDBSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsMariaDBSource() (*MariaDBSource, bool) { return &mds, true @@ -106230,81 +116678,21 @@ 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 @@ -106330,11 +116718,6 @@ 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 @@ -106360,18 +116743,13 @@ func (mds MariaDBSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSour 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) { +// AsSapBwSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -106400,53 +116778,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &mds, true } -// AsAzureTableSource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MariaDBSource. -func (mds MariaDBSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -106460,6 +116818,11 @@ func (mds MariaDBSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -106488,6 +116851,15 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { } mds.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + mds.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -106562,7 +116934,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -106698,6 +117070,11 @@ func (mdtd MariaDBTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return &mdtd, true @@ -106823,6 +117200,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 @@ -106863,6 +117250,16 @@ func (mdtd MariaDBTableDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -106978,6 +117375,11 @@ func (mdtd MariaDBTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -106988,6 +117390,11 @@ func (mdtd MariaDBTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -107125,7 +117532,7 @@ type MarketoLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -107277,6 +117684,11 @@ func (mls MarketoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return &mls, true } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MarketoLinkedService. func (mls MarketoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -107813,7 +118225,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -107949,6 +118361,11 @@ func (mod MarketoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return &mod, true } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -108074,6 +118491,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 @@ -108114,6 +118541,16 @@ func (mod MarketoObjectDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -108229,6 +118666,11 @@ func (mod MarketoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -108239,6 +118681,11 @@ func (mod MarketoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -108366,6 +118813,8 @@ func (mod *MarketoObjectDataset) UnmarshalJSON(body []byte) error { type MarketoSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -108374,7 +118823,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -108385,6 +118834,9 @@ func (ms MarketoSource) MarshalJSON() ([]byte, error) { if ms.Query != nil { objectMap["query"] = ms.Query } + if ms.QueryTimeout != nil { + objectMap["queryTimeout"] = ms.QueryTimeout + } if ms.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ms.SourceRetryCount } @@ -108403,6 +118855,116 @@ func (ms MarketoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -108498,6 +119060,11 @@ func (ms MarketoSource) AsMarketoSource() (*MarketoSource, bool) { return &ms, true } +// AsAzureMariaDBSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -108573,81 +119140,21 @@ func (ms MarketoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -108673,11 +119180,6 @@ func (ms MarketoSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -108703,18 +119205,13 @@ func (ms MarketoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -108743,53 +119240,33 @@ func (ms MarketoSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// 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) { +// AsAzureTableSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ms, true } -// AsAzureTableSource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MarketoSource. -func (ms MarketoSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -108803,6 +119280,11 @@ func (ms MarketoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -108831,6 +119313,15 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error { } ms.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ms.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -108899,7 +119390,7 @@ type MicrosoftAccessLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -109051,6 +119542,11 @@ func (mals MicrosoftAccessLinkedService) AsMarketoLinkedService() (*MarketoLinke return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. +func (mals MicrosoftAccessLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MicrosoftAccessLinkedService. func (mals MicrosoftAccessLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -109571,7 +120067,7 @@ type MicrosoftAccessSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -109726,6 +120222,11 @@ func (mas MicrosoftAccessSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for MicrosoftAccessSink. func (mas MicrosoftAccessSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -109741,11 +120242,21 @@ func (mas MicrosoftAccessSink) AsSapCloudForCustomerSink() (*SapCloudForCustomer return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for MicrosoftAccessSink. func (mas MicrosoftAccessSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for MicrosoftAccessSink. +func (mas MicrosoftAccessSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for MicrosoftAccessSink. func (mas MicrosoftAccessSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -109863,7 +120374,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -109892,6 +120403,116 @@ func (mas MicrosoftAccessSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return &mas, true +} + +// AsRelationalSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -109987,6 +120608,11 @@ func (mas MicrosoftAccessSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -110062,81 +120688,21 @@ func (mas MicrosoftAccessSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -110162,11 +120728,6 @@ func (mas MicrosoftAccessSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -110192,18 +120753,13 @@ func (mas MicrosoftAccessSource) AsSapCloudForCustomerSource() (*SapCloudForCust return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -110232,53 +120788,33 @@ func (mas MicrosoftAccessSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// 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 } -// AsRelationalSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MicrosoftAccessSource. -func (mas MicrosoftAccessSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -110292,6 +120828,11 @@ func (mas MicrosoftAccessSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MicrosoftAccessSource. +func (mas MicrosoftAccessSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MicrosoftAccessSource. func (mas MicrosoftAccessSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -110394,7 +120935,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -110530,6 +121071,11 @@ func (matd MicrosoftAccessTableDataset) AsMarketoObjectDataset() (*MarketoObject return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -110655,6 +121201,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 @@ -110695,6 +121251,16 @@ func (matd MicrosoftAccessTableDataset) AsRelationalTableDataset() (*RelationalT return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -110810,6 +121376,11 @@ func (matd MicrosoftAccessTableDataset) AsBinaryDataset() (*BinaryDataset, bool) return nil, false } +// AsJSONDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -110820,6 +121391,11 @@ func (matd MicrosoftAccessTableDataset) AsParquetDataset() (*ParquetDataset, boo return nil, false } +// AsAvroDataset is the BasicDataset implementation for MicrosoftAccessTableDataset. +func (matd MicrosoftAccessTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MicrosoftAccessTableDataset. func (matd MicrosoftAccessTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -110969,7 +121545,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -111105,6 +121681,11 @@ func (mdcd MongoDbCollectionDataset) AsMarketoObjectDataset() (*MarketoObjectDat return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -111230,6 +121811,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 @@ -111270,6 +121861,16 @@ func (mdcd MongoDbCollectionDataset) AsRelationalTableDataset() (*RelationalTabl return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -111385,6 +121986,11 @@ func (mdcd MongoDbCollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -111395,6 +122001,11 @@ func (mdcd MongoDbCollectionDataset) AsParquetDataset() (*ParquetDataset, bool) return nil, false } +// AsAvroDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -111636,7 +122247,7 @@ type MongoDbLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -111788,6 +122399,11 @@ func (mdls MongoDbLinkedService) AsMarketoLinkedService() (*MarketoLinkedService return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. func (mdls MongoDbLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -112349,7 +122965,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -112378,6 +122994,116 @@ func (mds MongoDbSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMongoDbSource() (*MongoDbSource, bool) { + return &mds, true +} + +// AsWebSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -112473,6 +123199,11 @@ func (mds MongoDbSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -112548,81 +123279,21 @@ func (mds MongoDbSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// 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 } -// AsWebSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -112648,11 +123319,6 @@ func (mds MongoDbSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -112678,18 +123344,13 @@ func (mds MongoDbSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSour return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -112718,53 +123379,33 @@ func (mds MongoDbSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// 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) { +// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MongoDbSource. -func (mds MongoDbSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -112778,6 +123419,11 @@ func (mds MongoDbSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -112880,7 +123526,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -113016,6 +123662,11 @@ func (mdvcd MongoDbV2CollectionDataset) AsMarketoObjectDataset() (*MarketoObject return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -113141,6 +123792,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 @@ -113181,6 +123842,16 @@ func (mdvcd MongoDbV2CollectionDataset) AsRelationalTableDataset() (*RelationalT return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -113296,6 +123967,11 @@ func (mdvcd MongoDbV2CollectionDataset) AsBinaryDataset() (*BinaryDataset, bool) return nil, false } +// AsJSONDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -113306,6 +123982,11 @@ func (mdvcd MongoDbV2CollectionDataset) AsParquetDataset() (*ParquetDataset, boo return nil, false } +// AsAvroDataset is the BasicDataset implementation for MongoDbV2CollectionDataset. +func (mdvcd MongoDbV2CollectionDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MongoDbV2CollectionDataset. func (mdvcd MongoDbV2CollectionDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -113449,7 +124130,7 @@ type MongoDbV2LinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -113601,6 +124282,11 @@ func (mdvls MongoDbV2LinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. +func (mdvls MongoDbV2LinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MongoDbV2LinkedService. func (mdvls MongoDbV2LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -114038,6 +124724,8 @@ type MongoDbV2Source struct { 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"` + // 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"` // 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). @@ -114046,7 +124734,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -114063,6 +124751,9 @@ func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) { if mdvs.BatchSize != nil { objectMap["batchSize"] = mdvs.BatchSize } + if mdvs.QueryTimeout != nil { + objectMap["queryTimeout"] = mdvs.QueryTimeout + } if mdvs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mdvs.SourceRetryCount } @@ -114081,6 +124772,116 @@ func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// 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 +} + +// AsWebSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -114176,6 +124977,11 @@ func (mdvs MongoDbV2Source) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -114251,81 +125057,21 @@ func (mdvs MongoDbV2Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// 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 -} - // AsCassandraSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -114351,11 +125097,6 @@ 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 @@ -114381,18 +125122,13 @@ func (mdvs MongoDbV2Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerS 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) { +// AsSapBwSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -114421,53 +125157,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MongoDbV2Source. -func (mdvs MongoDbV2Source) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -114481,6 +125197,11 @@ func (mdvs MongoDbV2Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MongoDbV2Source. +func (mdvs MongoDbV2Source) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MongoDbV2Source. func (mdvs MongoDbV2Source) AsCopySource() (*CopySource, bool) { return nil, false @@ -114527,6 +125248,15 @@ func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error { } mdvs.BatchSize = batchSize } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + mdvs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -114597,7 +125327,7 @@ type MultiplePipelineTrigger 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: 'Started', 'Stopped', 'Disabled' + // 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"` @@ -114803,7 +125533,7 @@ type MySQLLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -114955,6 +125685,11 @@ func (msls MySQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for MySQLLinkedService. func (msls MySQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -115431,6 +126166,8 @@ func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error type MySQLSource struct { // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -115439,7 +126176,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -115450,6 +126187,9 @@ func (mss MySQLSource) MarshalJSON() ([]byte, error) { if mss.Query != nil { objectMap["query"] = mss.Query } + if mss.QueryTimeout != nil { + objectMap["queryTimeout"] = mss.QueryTimeout + } if mss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mss.SourceRetryCount } @@ -115468,6 +126208,116 @@ func (mss MySQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -115563,6 +126413,11 @@ func (mss MySQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -115638,81 +126493,21 @@ func (mss MySQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -115738,11 +126533,6 @@ func (mss MySQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -115768,18 +126558,13 @@ func (mss MySQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -115808,53 +126593,33 @@ func (mss MySQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} - -// AsBlobSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &mss, true } -// AsAzureTableSource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for MySQLSource. -func (mss MySQLSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -115868,6 +126633,11 @@ func (mss MySQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for MySQLSource. +func (mss MySQLSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for MySQLSource. func (mss MySQLSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -115896,6 +126666,15 @@ func (mss *MySQLSource) UnmarshalJSON(body []byte) error { } mss.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + mss.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -115970,7 +126749,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -116106,6 +126885,11 @@ func (mstd MySQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, b return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -116231,6 +127015,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 @@ -116271,6 +127065,16 @@ func (mstd MySQLTableDataset) AsRelationalTableDataset() (*RelationalTableDatase return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -116386,6 +127190,11 @@ func (mstd MySQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -116396,6 +127205,11 @@ func (mstd MySQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for MySQLTableDataset. +func (mstd MySQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for MySQLTableDataset. func (mstd MySQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -116539,7 +127353,7 @@ type NetezzaLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -116691,6 +127505,11 @@ func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -117140,6 +127959,8 @@ type NetezzaSource struct { PartitionOption NetezzaPartitionOption `json:"partitionOption,omitempty"` // PartitionSettings - The settings that will be leveraged for Netezza source partitioning. PartitionSettings *NetezzaPartitionSettings `json:"partitionSettings,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"` // 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). @@ -117148,7 +127969,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -117165,6 +127986,9 @@ func (ns NetezzaSource) MarshalJSON() ([]byte, error) { if ns.PartitionSettings != nil { objectMap["partitionSettings"] = ns.PartitionSettings } + if ns.QueryTimeout != nil { + objectMap["queryTimeout"] = ns.QueryTimeout + } if ns.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ns.SourceRetryCount } @@ -117183,6 +128007,116 @@ func (ns NetezzaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -117278,6 +128212,11 @@ func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -117353,81 +128292,21 @@ func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -117453,11 +128332,6 @@ func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -117483,18 +128357,13 @@ func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -117523,53 +128392,33 @@ func (ns NetezzaSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false -} - -// AsBlobSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ns, true } -// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for NetezzaSource. -func (ns NetezzaSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -117583,6 +128432,11 @@ func (ns NetezzaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for NetezzaSource. func (ns NetezzaSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -117629,6 +128483,15 @@ func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { } ns.PartitionSettings = &partitionSettings } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ns.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -117685,8 +128548,8 @@ func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { // NetezzaTableDataset netezza dataset. type NetezzaTableDataset struct { - // GenericDatasetTypeProperties - Properties specific to this dataset type. - *GenericDatasetTypeProperties `json:"typeProperties,omitempty"` + // NetezzaTableDatasetTypeProperties - Properties specific to this dataset type. + *NetezzaTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -117703,7 +128566,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -117711,8 +128574,8 @@ type NetezzaTableDataset struct { func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) { ntd.Type = TypeNetezzaTable objectMap := make(map[string]interface{}) - if ntd.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = ntd.GenericDatasetTypeProperties + if ntd.NetezzaTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = ntd.NetezzaTableDatasetTypeProperties } if ntd.Description != nil { objectMap["description"] = ntd.Description @@ -117839,6 +128702,11 @@ func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -117964,6 +128832,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 @@ -118004,6 +128882,16 @@ func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDatas return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -118119,6 +129007,11 @@ func (ntd NetezzaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -118129,6 +129022,11 @@ func (ntd NetezzaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset. func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -118155,12 +129053,12 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var genericDatasetTypeProperties GenericDatasetTypeProperties - err = json.Unmarshal(*v, &genericDatasetTypeProperties) + var netezzaTableDatasetTypeProperties NetezzaTableDatasetTypeProperties + err = json.Unmarshal(*v, &netezzaTableDatasetTypeProperties) if err != nil { return err } - ntd.GenericDatasetTypeProperties = &genericDatasetTypeProperties + ntd.NetezzaTableDatasetTypeProperties = &netezzaTableDatasetTypeProperties } default: if v != nil { @@ -118252,6 +129150,16 @@ func (ntd *NetezzaTableDataset) UnmarshalJSON(body []byte) error { return nil } +// NetezzaTableDatasetTypeProperties netezza dataset properties. +type NetezzaTableDatasetTypeProperties 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 Netezza. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The schema name of the Netezza. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` +} + // ODataLinkedService open Data Protocol (OData) linked service. type ODataLinkedService struct { // ODataLinkedServiceTypeProperties - OData linked service properties. @@ -118266,7 +129174,7 @@ type ODataLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -118418,6 +129326,11 @@ func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService. func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -119006,7 +129919,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -119142,6 +130055,11 @@ func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -119267,6 +130185,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 @@ -119307,6 +130235,16 @@ func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDat return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -119422,6 +130360,11 @@ func (odrd ODataResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -119432,6 +130375,11 @@ func (odrd ODataResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset. func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -119573,7 +130521,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -119602,6 +130550,116 @@ func (ods ODataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsODataSource() (*ODataSource, bool) { + return &ods, true +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -119697,6 +130755,11 @@ func (ods ODataSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -119772,81 +130835,21 @@ func (ods ODataSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -119872,11 +130875,6 @@ func (ods ODataSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -119902,19 +130900,14 @@ func (ods ODataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for ODataSource. -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. @@ -119942,53 +130935,33 @@ func (ods ODataSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ODataSource. -func (ods ODataSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -120002,6 +130975,11 @@ func (ods ODataSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for ODataSource. +func (ods ODataSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for ODataSource. func (ods ODataSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -120098,7 +131076,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -120250,6 +131228,11 @@ func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bo return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService. func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -120770,7 +131753,7 @@ type OdbcSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -120925,6 +131908,11 @@ func (osVar OdbcSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for OdbcSink. func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -120940,11 +131928,21 @@ func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, boo return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for OdbcSink. func (osVar OdbcSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for OdbcSink. func (osVar OdbcSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -121054,6 +132052,8 @@ func (osVar *OdbcSink) UnmarshalJSON(body []byte) error { type OdbcSource struct { // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -121062,7 +132062,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -121073,6 +132073,9 @@ func (osVar OdbcSource) MarshalJSON() ([]byte, error) { if osVar.Query != nil { objectMap["query"] = osVar.Query } + if osVar.QueryTimeout != nil { + objectMap["queryTimeout"] = osVar.QueryTimeout + } if osVar.SourceRetryCount != nil { objectMap["sourceRetryCount"] = osVar.SourceRetryCount } @@ -121091,6 +132094,116 @@ func (osVar OdbcSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -121186,6 +132299,11 @@ func (osVar OdbcSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -121261,81 +132379,21 @@ func (osVar OdbcSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -121361,11 +132419,6 @@ func (osVar OdbcSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -121391,18 +132444,13 @@ func (osVar OdbcSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -121431,53 +132479,33 @@ func (osVar OdbcSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &osVar, true } -// AsAzureTableSource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for OdbcSource. -func (osVar OdbcSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -121491,6 +132519,11 @@ func (osVar OdbcSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for OdbcSource. +func (osVar OdbcSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for OdbcSource. func (osVar OdbcSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -121519,6 +132552,15 @@ func (osVar *OdbcSource) UnmarshalJSON(body []byte) error { } osVar.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + osVar.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -121593,7 +132635,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -121729,6 +132771,11 @@ func (otd OdbcTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, boo return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -121854,6 +132901,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 @@ -121894,6 +132951,16 @@ func (otd OdbcTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -122009,6 +133076,11 @@ func (otd OdbcTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -122019,6 +133091,11 @@ func (otd OdbcTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for OdbcTableDataset. +func (otd OdbcTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for OdbcTableDataset. func (otd OdbcTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -122168,7 +133245,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -122304,6 +133381,11 @@ func (o3d Office365Dataset) AsMarketoObjectDataset() (*MarketoObjectDataset, boo return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -122429,6 +133511,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 @@ -122469,6 +133561,16 @@ func (o3d Office365Dataset) AsRelationalTableDataset() (*RelationalTableDataset, return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -122584,6 +133686,11 @@ func (o3d Office365Dataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -122594,6 +133701,11 @@ func (o3d Office365Dataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for Office365Dataset. +func (o3d Office365Dataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for Office365Dataset. func (o3d Office365Dataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -122739,7 +133851,7 @@ type Office365LinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -122891,6 +134003,11 @@ func (o3ls Office365LinkedService) AsMarketoLinkedService() (*MarketoLinkedServi return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for Office365LinkedService. +func (o3ls Office365LinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for Office365LinkedService. func (o3ls Office365LinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -123387,6 +134504,16 @@ func (o3lstp *Office365LinkedServiceTypeProperties) UnmarshalJSON(body []byte) e // Office365Source a copy activity source for an Office365 service. type Office365Source struct { + // AllowedGroups - The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). + AllowedGroups interface{} `json:"allowedGroups,omitempty"` + // UserScopeFilterURI - The user scope uri. Type: string (or Expression with resultType string). + UserScopeFilterURI interface{} `json:"userScopeFilterUri,omitempty"` + // DateFilterColumn - The Column to apply the and . Type: string (or Expression with resultType string). + DateFilterColumn interface{} `json:"dateFilterColumn,omitempty"` + // StartTime - Start time of the requested range for this dataset. Type: string (or Expression with resultType string). + StartTime interface{} `json:"startTime,omitempty"` + // EndTime - End time of the requested range for this dataset. Type: string (or Expression with resultType string). + EndTime interface{} `json:"endTime,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). @@ -123395,7 +134522,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -123403,6 +134530,21 @@ type Office365Source struct { func (o3s Office365Source) MarshalJSON() ([]byte, error) { o3s.Type = TypeOffice365Source objectMap := make(map[string]interface{}) + if o3s.AllowedGroups != nil { + objectMap["allowedGroups"] = o3s.AllowedGroups + } + if o3s.UserScopeFilterURI != nil { + objectMap["userScopeFilterUri"] = o3s.UserScopeFilterURI + } + if o3s.DateFilterColumn != nil { + objectMap["dateFilterColumn"] = o3s.DateFilterColumn + } + if o3s.StartTime != nil { + objectMap["startTime"] = o3s.StartTime + } + if o3s.EndTime != nil { + objectMap["endTime"] = o3s.EndTime + } if o3s.SourceRetryCount != nil { objectMap["sourceRetryCount"] = o3s.SourceRetryCount } @@ -123421,6 +134563,116 @@ func (o3s Office365Source) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// 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 +} + +// AsMongoDbV2Source is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -123516,6 +134768,11 @@ func (o3s Office365Source) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -123591,81 +134848,21 @@ func (o3s Office365Source) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// 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 -} - -// AsMongoDbV2Source is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -123691,11 +134888,6 @@ func (o3s Office365Source) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -123721,18 +134913,13 @@ func (o3s Office365Source) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -123761,53 +134948,33 @@ func (o3s Office365Source) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsBlobSource() (*BlobSource, bool) { - return nil, false -} - -// AsAzureTableSource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for Office365Source. -func (o3s Office365Source) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -123821,6 +134988,11 @@ func (o3s Office365Source) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for Office365Source. +func (o3s Office365Source) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for Office365Source. func (o3s Office365Source) AsCopySource() (*CopySource, bool) { return nil, false @@ -123840,6 +135012,51 @@ func (o3s *Office365Source) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "allowedGroups": + if v != nil { + var allowedGroups interface{} + err = json.Unmarshal(*v, &allowedGroups) + if err != nil { + return err + } + o3s.AllowedGroups = allowedGroups + } + case "userScopeFilterUri": + if v != nil { + var userScopeFilterURI interface{} + err = json.Unmarshal(*v, &userScopeFilterURI) + if err != nil { + return err + } + o3s.UserScopeFilterURI = userScopeFilterURI + } + case "dateFilterColumn": + if v != nil { + var dateFilterColumn interface{} + err = json.Unmarshal(*v, &dateFilterColumn) + if err != nil { + return err + } + o3s.DateFilterColumn = dateFilterColumn + } + case "startTime": + if v != nil { + var startTime interface{} + err = json.Unmarshal(*v, &startTime) + if err != nil { + return err + } + o3s.StartTime = startTime + } + case "endTime": + if v != nil { + var endTime interface{} + err = json.Unmarshal(*v, &endTime) + if err != nil { + return err + } + o3s.EndTime = endTime + } default: if v != nil { var additionalProperties interface{} @@ -124213,7 +135430,7 @@ type OracleLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -124365,6 +135582,11 @@ func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService. func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -124822,7 +136044,7 @@ type OracleServiceCloudLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -124974,6 +136196,11 @@ func (oscls OracleServiceCloudLinkedService) AsMarketoLinkedService() (*MarketoL return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. +func (oscls OracleServiceCloudLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for OracleServiceCloudLinkedService. func (oscls OracleServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -125510,7 +136737,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -125646,6 +136873,11 @@ func (oscod OracleServiceCloudObjectDataset) AsMarketoObjectDataset() (*MarketoO return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -125771,6 +137003,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 @@ -125811,6 +137053,16 @@ func (oscod OracleServiceCloudObjectDataset) AsRelationalTableDataset() (*Relati return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -125926,6 +137178,11 @@ func (oscod OracleServiceCloudObjectDataset) AsBinaryDataset() (*BinaryDataset, return nil, false } +// AsJSONDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -125936,6 +137193,11 @@ func (oscod OracleServiceCloudObjectDataset) AsParquetDataset() (*ParquetDataset return nil, false } +// AsAvroDataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. +func (oscod OracleServiceCloudObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for OracleServiceCloudObjectDataset. func (oscod OracleServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -126063,6 +137325,8 @@ func (oscod *OracleServiceCloudObjectDataset) UnmarshalJSON(body []byte) error { type OracleServiceCloudSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -126071,7 +137335,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -126082,6 +137346,9 @@ func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) { if oscs.Query != nil { objectMap["query"] = oscs.Query } + if oscs.QueryTimeout != nil { + objectMap["queryTimeout"] = oscs.QueryTimeout + } if oscs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = oscs.SourceRetryCount } @@ -126100,6 +137367,116 @@ func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -126195,6 +137572,11 @@ func (oscs OracleServiceCloudSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -126270,81 +137652,21 @@ func (oscs OracleServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, bool return nil, false } -// AsHTTPSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -126370,11 +137692,6 @@ func (oscs OracleServiceCloudSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -126400,18 +137717,13 @@ func (oscs OracleServiceCloudSource) AsSapCloudForCustomerSource() (*SapCloudFor return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -126440,53 +137752,33 @@ func (oscs OracleServiceCloudSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// 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) { +// AsAzureTableSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsTabularSource() (*TabularSource, 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 +// AsBasicTabularSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &oscs, true } -// AsAzureTableSource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for OracleServiceCloudSource. -func (oscs OracleServiceCloudSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -126500,6 +137792,11 @@ func (oscs OracleServiceCloudSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for OracleServiceCloudSource. +func (oscs OracleServiceCloudSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for OracleServiceCloudSource. func (oscs OracleServiceCloudSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -126528,6 +137825,15 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error { } oscs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + oscs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -126598,7 +137904,7 @@ type OracleSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -126753,6 +138059,11 @@ func (osVar OracleSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for OracleSink. func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -126768,11 +138079,21 @@ func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, b return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for OracleSink. func (osVar OracleSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for OracleSink. func (osVar OracleSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -126896,7 +138217,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -126934,6 +138255,116 @@ func (osVar OracleSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) { + return &osVar, true +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -127029,6 +138460,11 @@ func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -127104,81 +138540,21 @@ func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) { - return &osVar, true -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -127204,11 +138580,6 @@ func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -127234,18 +138605,13 @@ func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSou return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -127274,53 +138640,33 @@ func (osVar OracleSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -127334,6 +138680,11 @@ func (osVar OracleSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for OracleSource. func (osVar OracleSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -127463,7 +138814,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -127599,6 +138950,11 @@ func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, b return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -127724,6 +139080,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 @@ -127764,6 +139130,16 @@ func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDatase return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -127879,6 +139255,11 @@ func (otd OracleTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -127889,6 +139270,11 @@ func (otd OracleTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset. func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -128014,8 +139400,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. @@ -128166,7 +139556,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -128302,6 +139692,11 @@ func (pd ParquetDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -128427,6 +139822,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 @@ -128467,6 +139872,16 @@ func (pd ParquetDataset) AsRelationalTableDataset() (*RelationalTableDataset, bo return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -128582,6 +139997,11 @@ func (pd ParquetDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -128592,6 +140012,11 @@ func (pd ParquetDataset) AsParquetDataset() (*ParquetDataset, bool) { return &pd, true } +// AsAvroDataset is the BasicDataset implementation for ParquetDataset. +func (pd ParquetDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for ParquetDataset. func (pd ParquetDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -128845,7 +140270,7 @@ func (pf *ParquetFormat) UnmarshalJSON(body []byte) error { // ParquetSink a copy activity Parquet sink. type ParquetSink struct { // StoreSettings - Parquet store settings. - StoreSettings *StoreWriteSettings `json:"storeSettings,omitempty"` + StoreSettings BasicStoreWriteSettings `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. @@ -128858,7 +140283,7 @@ type ParquetSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -128866,9 +140291,7 @@ type ParquetSink struct { func (ps ParquetSink) MarshalJSON() ([]byte, error) { ps.Type = TypeParquetSink objectMap := make(map[string]interface{}) - if ps.StoreSettings != nil { - objectMap["storeSettings"] = ps.StoreSettings - } + objectMap["storeSettings"] = ps.StoreSettings if ps.WriteBatchSize != nil { objectMap["writeBatchSize"] = ps.WriteBatchSize } @@ -129013,6 +140436,11 @@ func (ps ParquetSink) AsParquetSink() (*ParquetSink, bool) { return &ps, true } +// AsAvroSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for ParquetSink. func (ps ParquetSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -129028,11 +140456,21 @@ func (ps ParquetSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, boo return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for ParquetSink. func (ps ParquetSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for ParquetSink. +func (ps ParquetSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for ParquetSink. func (ps ParquetSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -129059,12 +140497,11 @@ func (ps *ParquetSink) UnmarshalJSON(body []byte) error { switch k { case "storeSettings": if v != nil { - var storeSettings StoreWriteSettings - err = json.Unmarshal(*v, &storeSettings) + storeSettings, err := unmarshalBasicStoreWriteSettings(*v) if err != nil { return err } - ps.StoreSettings = &storeSettings + ps.StoreSettings = storeSettings } default: if v != nil { @@ -129150,7 +140587,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -129179,6 +140616,116 @@ func (ps ParquetSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -129274,6 +140821,11 @@ func (ps ParquetSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -129349,81 +140901,21 @@ func (ps ParquetSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -129449,11 +140941,6 @@ func (ps ParquetSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -129479,18 +140966,13 @@ func (ps ParquetSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -129519,53 +141001,33 @@ func (ps ParquetSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ParquetSource. -func (ps ParquetSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -129579,6 +141041,11 @@ func (ps ParquetSource) AsParquetSource() (*ParquetSource, bool) { return &ps, true } +// AsAvroSource is the BasicCopySource implementation for ParquetSource. +func (ps ParquetSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for ParquetSource. func (ps ParquetSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -129675,7 +141142,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -129827,6 +141294,11 @@ func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService. func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -130363,7 +141835,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -130499,6 +141971,11 @@ func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -130624,6 +142101,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 @@ -130664,6 +142151,16 @@ func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDatas return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -130779,6 +142276,11 @@ func (pod PaypalObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -130789,6 +142291,11 @@ func (pod PaypalObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset. func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -130916,6 +142423,8 @@ func (pod *PaypalObjectDataset) UnmarshalJSON(body []byte) error { type PaypalSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -130924,7 +142433,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -130935,6 +142444,9 @@ func (ps PaypalSource) MarshalJSON() ([]byte, error) { if ps.Query != nil { objectMap["query"] = ps.Query } + if ps.QueryTimeout != nil { + objectMap["queryTimeout"] = ps.QueryTimeout + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -130953,6 +142465,116 @@ func (ps PaypalSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -131048,6 +142670,11 @@ func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -131123,81 +142750,21 @@ func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -131223,11 +142790,6 @@ func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -131253,18 +142815,13 @@ func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -131293,53 +142850,33 @@ func (ps PaypalSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // 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) { +// AsAzureTableSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ps, true } -// AsAzureTableSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -131353,6 +142890,11 @@ func (ps PaypalSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for PaypalSource. func (ps PaypalSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -131381,6 +142923,15 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error { } ps.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ps.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -131435,6 +142986,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. @@ -131449,7 +143010,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -131601,6 +143162,11 @@ func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -132174,8 +143740,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. @@ -132192,7 +143758,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -132200,8 +143766,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 @@ -132328,6 +143894,11 @@ func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -132453,6 +144024,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 @@ -132493,6 +144074,16 @@ func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -132608,6 +144199,11 @@ func (pod PhoenixObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -132618,6 +144214,11 @@ func (pod PhoenixObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset. func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -132644,12 +144245,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 { @@ -132745,6 +144346,8 @@ func (pod *PhoenixObjectDataset) UnmarshalJSON(body []byte) error { type PhoenixSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -132753,7 +144356,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -132764,6 +144367,9 @@ func (ps PhoenixSource) MarshalJSON() ([]byte, error) { if ps.Query != nil { objectMap["query"] = ps.Query } + if ps.QueryTimeout != nil { + objectMap["queryTimeout"] = ps.QueryTimeout + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -132782,6 +144388,116 @@ func (ps PhoenixSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -132877,6 +144593,11 @@ func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -132952,81 +144673,21 @@ func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -133052,11 +144713,6 @@ func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -133082,18 +144738,13 @@ func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSourc return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -133122,53 +144773,33 @@ func (ps PhoenixSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ps, true } -// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -133182,6 +144813,11 @@ func (ps PhoenixSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for PhoenixSource. func (ps PhoenixSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -133210,6 +144846,15 @@ func (ps *PhoenixSource) UnmarshalJSON(body []byte) error { } ps.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ps.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -133956,7 +145601,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -134108,6 +145753,11 @@ func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -134584,6 +146234,8 @@ func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) type PostgreSQLSource struct { // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -134592,7 +146244,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -134603,6 +146255,9 @@ func (pss PostgreSQLSource) MarshalJSON() ([]byte, error) { if pss.Query != nil { objectMap["query"] = pss.Query } + if pss.QueryTimeout != nil { + objectMap["queryTimeout"] = pss.QueryTimeout + } if pss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = pss.SourceRetryCount } @@ -134621,6 +146276,116 @@ func (pss PostgreSQLSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -134716,6 +146481,11 @@ func (pss PostgreSQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -134791,81 +146561,21 @@ func (pss PostgreSQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -134891,11 +146601,6 @@ func (pss PostgreSQLSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -134921,18 +146626,13 @@ func (pss PostgreSQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerS return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -134961,53 +146661,33 @@ func (pss PostgreSQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &pss, true } -// AsAzureTableSource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for PostgreSQLSource. -func (pss PostgreSQLSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -135021,6 +146701,11 @@ func (pss PostgreSQLSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for PostgreSQLSource. +func (pss PostgreSQLSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for PostgreSQLSource. func (pss PostgreSQLSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -135049,6 +146734,15 @@ func (pss *PostgreSQLSource) UnmarshalJSON(body []byte) error { } pss.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + pss.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -135123,7 +146817,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -135259,6 +146953,11 @@ func (pstd PostgreSQLTableDataset) AsMarketoObjectDataset() (*MarketoObjectDatas return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -135384,6 +147083,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 @@ -135424,6 +147133,16 @@ func (pstd PostgreSQLTableDataset) AsRelationalTableDataset() (*RelationalTableD return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -135539,6 +147258,11 @@ func (pstd PostgreSQLTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -135549,6 +147273,11 @@ func (pstd PostgreSQLTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for PostgreSQLTableDataset. +func (pstd PostgreSQLTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for PostgreSQLTableDataset. func (pstd PostgreSQLTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -135674,8 +147403,22 @@ func (pstd *PostgreSQLTableDataset) UnmarshalJSON(body []byte) error { // PostgreSQLTableDatasetTypeProperties postgreSQL table dataset properties. type PostgreSQLTableDatasetTypeProperties struct { - // TableName - The PostgreSQL table name. 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"` + // Table - The PostgreSQL table name. Type: string (or Expression with resultType string). + Table interface{} `json:"table,omitempty"` + // Schema - The PostgreSQL schema name. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,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. @@ -135692,7 +147435,7 @@ type PrestoLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -135844,6 +147587,11 @@ func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService. func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -136439,8 +148187,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. @@ -136457,7 +148205,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -136465,8 +148213,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 @@ -136593,6 +148341,11 @@ func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -136718,6 +148471,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 @@ -136758,6 +148521,16 @@ func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDatas return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -136873,6 +148646,11 @@ func (pod PrestoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -136883,6 +148661,11 @@ func (pod PrestoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset. func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -136909,12 +148692,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 { @@ -137010,6 +148793,8 @@ func (pod *PrestoObjectDataset) UnmarshalJSON(body []byte) error { type PrestoSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -137018,7 +148803,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -137029,6 +148814,9 @@ func (ps PrestoSource) MarshalJSON() ([]byte, error) { if ps.Query != nil { objectMap["query"] = ps.Query } + if ps.QueryTimeout != nil { + objectMap["queryTimeout"] = ps.QueryTimeout + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -137047,6 +148835,116 @@ func (ps PrestoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -137142,6 +149040,11 @@ func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -137217,81 +149120,21 @@ func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -137317,11 +149160,6 @@ func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -137347,18 +149185,13 @@ func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -137387,53 +149220,33 @@ func (ps PrestoSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // 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) { +// AsAzureTableSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ps, true } -// AsAzureTableSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -137447,6 +149260,11 @@ func (ps PrestoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for PrestoSource. func (ps PrestoSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -137475,6 +149293,15 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { } ps.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ps.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -137543,7 +149370,7 @@ type QuickBooksLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -137695,6 +149522,11 @@ func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -138240,7 +150072,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -138376,6 +150208,11 @@ func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectData return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -138501,6 +150338,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 @@ -138541,6 +150388,16 @@ func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTable return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -138656,6 +150513,11 @@ func (qbod QuickBooksObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -138666,6 +150528,11 @@ func (qbod QuickBooksObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset. func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -138793,6 +150660,8 @@ func (qbod *QuickBooksObjectDataset) UnmarshalJSON(body []byte) error { type QuickBooksSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -138801,7 +150670,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -138812,6 +150681,9 @@ func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { if qbs.Query != nil { objectMap["query"] = qbs.Query } + if qbs.QueryTimeout != nil { + objectMap["queryTimeout"] = qbs.QueryTimeout + } if qbs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = qbs.SourceRetryCount } @@ -138830,6 +150702,116 @@ func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -138925,6 +150907,11 @@ func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -139000,81 +150987,21 @@ func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -139100,11 +151027,6 @@ func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -139130,18 +151052,13 @@ func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerS return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -139170,53 +151087,33 @@ func (qbs QuickBooksSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // 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) { +// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &qbs, true } -// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -139230,6 +151127,11 @@ func (qbs QuickBooksSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for QuickBooksSource. func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -139258,6 +151160,15 @@ func (qbs *QuickBooksSource) UnmarshalJSON(body []byte) error { } qbs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + qbs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -139586,7 +151497,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -139615,6 +151526,116 @@ func (rs RelationalSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -139710,6 +151731,11 @@ func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -139785,81 +151811,21 @@ func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -139885,11 +151851,6 @@ func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -139915,18 +151876,13 @@ func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSo return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -139955,53 +151911,33 @@ func (rs RelationalSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// 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) { +// AsAzureTableSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -140015,6 +151951,11 @@ func (rs RelationalSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for RelationalSource. func (rs RelationalSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -140117,7 +152058,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -140253,6 +152194,11 @@ func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDatase return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -140378,6 +152324,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 @@ -140418,6 +152374,16 @@ func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDa return &rtd, true } +// AsDb2TableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -140533,6 +152499,11 @@ func (rtd RelationalTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -140543,6 +152514,11 @@ func (rtd RelationalTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset. func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -140910,7 +152886,7 @@ type RerunTumblingWindowTrigger 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: 'Started', 'Stopped', 'Disabled' + // 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"` @@ -141121,7 +153097,7 @@ type ResponsysLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -141273,6 +153249,11 @@ func (rls ResponsysLinkedService) AsMarketoLinkedService() (*MarketoLinkedServic return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. +func (rls ResponsysLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for ResponsysLinkedService. func (rls ResponsysLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -141809,7 +153790,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -141945,6 +153926,11 @@ func (rod ResponsysObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDatase return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -142070,6 +154056,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 @@ -142110,6 +154106,16 @@ func (rod ResponsysObjectDataset) AsRelationalTableDataset() (*RelationalTableDa return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -142225,6 +154231,11 @@ func (rod ResponsysObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -142235,6 +154246,11 @@ func (rod ResponsysObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for ResponsysObjectDataset. +func (rod ResponsysObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for ResponsysObjectDataset. func (rod ResponsysObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -142362,6 +154378,8 @@ func (rod *ResponsysObjectDataset) UnmarshalJSON(body []byte) error { type ResponsysSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -142370,7 +154388,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -142381,6 +154399,9 @@ func (rs ResponsysSource) MarshalJSON() ([]byte, error) { if rs.Query != nil { objectMap["query"] = rs.Query } + if rs.QueryTimeout != nil { + objectMap["queryTimeout"] = rs.QueryTimeout + } if rs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = rs.SourceRetryCount } @@ -142399,6 +154420,116 @@ func (rs ResponsysSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -142494,6 +154625,11 @@ func (rs ResponsysSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -142569,81 +154705,21 @@ func (rs ResponsysSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// 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 @@ -142669,11 +154745,6 @@ func (rs ResponsysSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -142699,18 +154770,13 @@ func (rs ResponsysSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSou return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -142739,53 +154805,33 @@ func (rs ResponsysSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { - return nil, false -} - -// AsDynamicsSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &rs, true } -// AsAzureTableSource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ResponsysSource. -func (rs ResponsysSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -142799,6 +154845,11 @@ func (rs ResponsysSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for ResponsysSource. +func (rs ResponsysSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for ResponsysSource. func (rs ResponsysSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -142827,6 +154878,15 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { } rs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + rs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -142901,7 +154961,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -143037,6 +155097,11 @@ func (rrd RestResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -143162,6 +155227,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 @@ -143202,6 +155277,16 @@ func (rrd RestResourceDataset) AsRelationalTableDataset() (*RelationalTableDatas return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -143317,6 +155402,11 @@ func (rrd RestResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -143327,6 +155417,11 @@ func (rrd RestResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for RestResourceDataset. +func (rrd RestResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for RestResourceDataset. func (rrd RestResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -143478,7 +155573,7 @@ type RestServiceLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -143630,6 +155725,11 @@ func (rsls RestServiceLinkedService) AsMarketoLinkedService() (*MarketoLinkedSer return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. +func (rsls RestServiceLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for RestServiceLinkedService. func (rsls RestServiceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -144180,6 +156280,14 @@ func (rslstp *RestServiceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) // RestSource a copy activity Rest service source. type RestSource 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"` + // PaginationRules - The pagination rules to compose next page requests. Type: string (or Expression with resultType string). + PaginationRules interface{} `json:"paginationRules,omitempty"` // 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. @@ -144192,7 +156300,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -144200,6 +156308,18 @@ type RestSource struct { func (rs RestSource) MarshalJSON() ([]byte, error) { rs.Type = TypeRestSource objectMap := make(map[string]interface{}) + if rs.RequestMethod != nil { + objectMap["requestMethod"] = rs.RequestMethod + } + if rs.RequestBody != nil { + objectMap["requestBody"] = rs.RequestBody + } + if rs.AdditionalHeaders != nil { + objectMap["additionalHeaders"] = rs.AdditionalHeaders + } + if rs.PaginationRules != nil { + objectMap["paginationRules"] = rs.PaginationRules + } if rs.HTTPRequestTimeout != nil { objectMap["httpRequestTimeout"] = rs.HTTPRequestTimeout } @@ -144224,6 +156344,116 @@ func (rs RestSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsRestSource() (*RestSource, bool) { + return &rs, true +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -144319,6 +156549,11 @@ func (rs RestSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -144394,81 +156629,21 @@ func (rs RestSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// 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 @@ -144494,11 +156669,6 @@ 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 @@ -144524,18 +156694,13 @@ func (rs RestSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, 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) { +// AsSapBwSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -144564,53 +156729,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsBasicTabularSource() (BasicTabularSource, 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) { +// AsBinarySource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for RestSource. -func (rs RestSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -144624,6 +156769,11 @@ func (rs RestSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for RestSource. +func (rs RestSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for RestSource. func (rs RestSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -144643,6 +156793,42 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { } 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 + } + rs.RequestMethod = requestMethod + } + case "requestBody": + if v != nil { + var requestBody interface{} + err = json.Unmarshal(*v, &requestBody) + if err != nil { + return err + } + rs.RequestBody = requestBody + } + case "additionalHeaders": + if v != nil { + var additionalHeaders interface{} + err = json.Unmarshal(*v, &additionalHeaders) + if err != nil { + return err + } + rs.AdditionalHeaders = additionalHeaders + } + case "paginationRules": + if v != nil { + var paginationRules interface{} + err = json.Unmarshal(*v, &paginationRules) + if err != nil { + return err + } + rs.PaginationRules = paginationRules + } case "httpRequestTimeout": if v != nil { var HTTPRequestTimeout interface{} @@ -144769,7 +156955,7 @@ type SalesforceLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -144921,6 +157107,11 @@ func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedServi return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -145428,7 +157619,7 @@ 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -145580,6 +157771,11 @@ func (smcls SalesforceMarketingCloudLinkedService) AsMarketoLinkedService() (*Ma return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. +func (smcls SalesforceMarketingCloudLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceMarketingCloudLinkedService. func (smcls SalesforceMarketingCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -146106,7 +158302,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -146242,6 +158438,11 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsMarketoObjectDataset() (*Ma return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -146367,6 +158568,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 @@ -146407,6 +158618,16 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsRelationalTableDataset() (* return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -146522,6 +158743,11 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsBinaryDataset() (*BinaryDat return nil, false } +// AsJSONDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -146532,6 +158758,11 @@ func (smcod SalesforceMarketingCloudObjectDataset) AsParquetDataset() (*ParquetD return nil, false } +// AsAvroDataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. +func (smcod SalesforceMarketingCloudObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SalesforceMarketingCloudObjectDataset. func (smcod SalesforceMarketingCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -146659,6 +158890,8 @@ func (smcod *SalesforceMarketingCloudObjectDataset) UnmarshalJSON(body []byte) e type SalesforceMarketingCloudSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -146667,7 +158900,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -146678,6 +158911,9 @@ func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) { if smcs.Query != nil { objectMap["query"] = smcs.Query } + if smcs.QueryTimeout != nil { + objectMap["queryTimeout"] = smcs.QueryTimeout + } if smcs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = smcs.SourceRetryCount } @@ -146696,6 +158932,116 @@ func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 +} + +// AsWebSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false +} + +// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -146791,6 +159137,11 @@ func (smcs SalesforceMarketingCloudSource) AsMarketoSource() (*MarketoSource, bo return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -146866,81 +159217,21 @@ func (smcs SalesforceMarketingCloudSource) AsAmazonMWSSource() (*AmazonMWSSource 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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -146966,11 +159257,6 @@ func (smcs SalesforceMarketingCloudSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -146996,18 +159282,13 @@ func (smcs SalesforceMarketingCloudSource) AsSapCloudForCustomerSource() (*SapCl return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { - return nil, false -} - // AsSalesforceSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -147036,53 +159317,33 @@ func (smcs SalesforceMarketingCloudSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsRelationalSource() (*RelationalSource, bool) { - return nil, false -} - -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { - return nil, false -} - -// AsDynamicsCrmSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &smcs, true } -// AsBlobSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsBlobSource() (*BlobSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsBinarySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. -func (smcs SalesforceMarketingCloudSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -147096,6 +159357,11 @@ func (smcs SalesforceMarketingCloudSource) AsParquetSource() (*ParquetSource, bo return nil, false } +// AsAvroSource is the BasicCopySource implementation for SalesforceMarketingCloudSource. +func (smcs SalesforceMarketingCloudSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SalesforceMarketingCloudSource. func (smcs SalesforceMarketingCloudSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -147124,6 +159390,15 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { } smcs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + smcs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -147198,7 +159473,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -147334,6 +159609,11 @@ func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDatas return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -147459,6 +159739,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 @@ -147499,6 +159789,16 @@ func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableD return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -147614,6 +159914,11 @@ func (sod SalesforceObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -147624,6 +159929,11 @@ func (sod SalesforceObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset. func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -147767,7 +160077,7 @@ type SalesforceServiceCloudLinkedService 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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -147919,6 +160229,11 @@ func (sscls SalesforceServiceCloudLinkedService) AsMarketoLinkedService() (*Mark return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. +func (sscls SalesforceServiceCloudLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceServiceCloudLinkedService. func (sscls SalesforceServiceCloudLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -148443,7 +160758,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -148579,6 +160894,11 @@ func (sscod SalesforceServiceCloudObjectDataset) AsMarketoObjectDataset() (*Mark return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -148704,6 +161024,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 @@ -148744,6 +161074,16 @@ func (sscod SalesforceServiceCloudObjectDataset) AsRelationalTableDataset() (*Re return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -148859,6 +161199,11 @@ func (sscod SalesforceServiceCloudObjectDataset) AsBinaryDataset() (*BinaryDatas return nil, false } +// AsJSONDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -148869,6 +161214,11 @@ func (sscod SalesforceServiceCloudObjectDataset) AsParquetDataset() (*ParquetDat return nil, false } +// AsAvroDataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. +func (sscod SalesforceServiceCloudObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SalesforceServiceCloudObjectDataset. func (sscod SalesforceServiceCloudObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -149018,7 +161368,7 @@ type SalesforceServiceCloudSink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -149179,6 +161529,11 @@ func (sscs SalesforceServiceCloudSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for SalesforceServiceCloudSink. func (sscs SalesforceServiceCloudSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -149194,11 +161549,21 @@ func (sscs SalesforceServiceCloudSink) AsSapCloudForCustomerSink() (*SapCloudFor return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for SalesforceServiceCloudSink. func (sscs SalesforceServiceCloudSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for SalesforceServiceCloudSink. +func (sscs SalesforceServiceCloudSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SalesforceServiceCloudSink. func (sscs SalesforceServiceCloudSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -149336,7 +161701,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -149368,6 +161733,116 @@ func (sscs SalesforceServiceCloudSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return &sscs, true +} + +// AsODataSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { + return nil, false +} + +// 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -149463,6 +161938,11 @@ func (sscs SalesforceServiceCloudSource) AsMarketoSource() (*MarketoSource, bool return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -149538,81 +162018,21 @@ func (sscs SalesforceServiceCloudSource) AsAmazonMWSSource() (*AmazonMWSSource, return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsWebSource() (*WebSource, bool) { - return nil, false -} - // AsTeradataSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsOracleSource() (*OracleSource, bool) { - return nil, false -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -149638,11 +162058,6 @@ func (sscs SalesforceServiceCloudSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -149668,18 +162083,13 @@ func (sscs SalesforceServiceCloudSource) AsSapCloudForCustomerSource() (*SapClou return nil, false } -// 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 } -// AsODataSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsODataSource() (*ODataSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -149708,53 +162118,33 @@ func (sscs SalesforceServiceCloudSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { - return nil, false -} - // AsInformixSource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// 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) { +// AsAzureTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SalesforceServiceCloudSource. -func (sscs SalesforceServiceCloudSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -149768,6 +162158,11 @@ func (sscs SalesforceServiceCloudSource) AsParquetSource() (*ParquetSource, bool return nil, false } +// AsAvroSource is the BasicCopySource implementation for SalesforceServiceCloudSource. +func (sscs SalesforceServiceCloudSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SalesforceServiceCloudSource. func (sscs SalesforceServiceCloudSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -149879,7 +162274,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -150040,6 +162435,11 @@ func (ss SalesforceSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -150055,11 +162455,21 @@ func (ss SalesforceSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SalesforceSink. func (ss SalesforceSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -150189,6 +162599,8 @@ type SalesforceSource struct { 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"` + // 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"` // 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). @@ -150197,7 +162609,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -150211,6 +162623,9 @@ func (ss SalesforceSource) MarshalJSON() ([]byte, error) { if ss.ReadBehavior != "" { objectMap["readBehavior"] = ss.ReadBehavior } + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -150229,6 +162644,116 @@ func (ss SalesforceSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -150324,6 +162849,11 @@ func (ss SalesforceSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -150399,81 +162929,21 @@ func (ss SalesforceSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SalesforceSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -150499,11 +162969,6 @@ func (ss SalesforceSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -150529,18 +162994,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -150569,53 +163029,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true } -// AsAzureTableSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -150629,6 +163069,11 @@ func (ss SalesforceSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SalesforceSource. func (ss SalesforceSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -150666,6 +163111,15 @@ func (ss *SalesforceSource) UnmarshalJSON(body []byte) error { } ss.ReadBehavior = readBehavior } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ss.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -150720,6 +163174,596 @@ 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', '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 +} + +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, 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 +} + +// AsDb2TableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, 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 +} + +// AsJSONDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsJSONDataset() (*JSONDataset, 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 +} + +// AsAvroDataset is the BasicDataset implementation for SapBwCubeDataset. +func (sbcd SapBwCubeDataset) AsAvroDataset() (*AvroDataset, 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. @@ -150734,7 +163778,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -150886,6 +163930,11 @@ func (sbls SapBWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SapBWLinkedService. func (sbls SapBWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -151391,6 +164440,573 @@ 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + 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.QueryTimeout != nil { + objectMap["queryTimeout"] = sbs.QueryTimeout + } + 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) +} + +// 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 +} + +// AsWebSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// 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 +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureMariaDBSource() (*AzureMariaDBSource, 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 +} + +// AsCassandraSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureMySQLSource() (*AzureMySQLSource, 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 +} + +// 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 +} + +// AsSalesforceSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// AsInformixSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sbs, true +} + +// AsBinarySource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsJSONSource() (*JSONSource, 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 +} + +// AsAvroSource is the BasicCopySource implementation for SapBwSource. +func (sbs SapBwSource) AsAvroSource() (*AvroSource, 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 + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sbs.QueryTimeout = queryTimeout + } + 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. @@ -151405,7 +165021,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -151557,6 +165173,11 @@ func (scfcls SapCloudForCustomerLinkedService) AsMarketoLinkedService() (*Market return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. func (scfcls SapCloudForCustomerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -152060,7 +165681,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -152196,6 +165817,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsMarketoObjectDataset() (*Mark return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -152321,6 +165947,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 @@ -152361,6 +165997,16 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsRelationalTableDataset() (*Re return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -152476,6 +166122,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsBinaryDataset() (*BinaryDatas return nil, false } +// AsJSONDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -152486,6 +166137,11 @@ func (scfcrd SapCloudForCustomerResourceDataset) AsParquetDataset() (*ParquetDat return nil, false } +// AsAvroDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -152632,7 +166288,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -152787,6 +166443,11 @@ func (scfcs SapCloudForCustomerSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -152802,11 +166463,21 @@ func (scfcs SapCloudForCustomerSink) AsSapCloudForCustomerSink() (*SapCloudForCu return &scfcs, true } +// AsAzureMySQLSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SapCloudForCustomerSink. func (scfcs SapCloudForCustomerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -152916,6 +166587,8 @@ func (scfcs *SapCloudForCustomerSink) UnmarshalJSON(body []byte) error { type SapCloudForCustomerSource struct { // Query - SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -152924,7 +166597,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -152935,6 +166608,9 @@ func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { if scfcs.Query != nil { objectMap["query"] = scfcs.Query } + if scfcs.QueryTimeout != nil { + objectMap["queryTimeout"] = scfcs.QueryTimeout + } if scfcs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = scfcs.SourceRetryCount } @@ -152953,6 +166629,116 @@ func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -153048,6 +166834,11 @@ func (scfcs SapCloudForCustomerSource) AsMarketoSource() (*MarketoSource, bool) return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -153123,81 +166914,21 @@ func (scfcs SapCloudForCustomerSource) AsAmazonMWSSource() (*AmazonMWSSource, bo return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapCloudForCustomerSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -153223,11 +166954,6 @@ func (scfcs SapCloudForCustomerSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -153253,18 +166979,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -153293,53 +167014,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &scfcs, true } -// AsAzureTableSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -153353,6 +167054,11 @@ func (scfcs SapCloudForCustomerSource) AsParquetSource() (*ParquetSource, bool) return nil, false } +// AsAvroSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SapCloudForCustomerSource. func (scfcs SapCloudForCustomerSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -153381,6 +167087,15 @@ func (scfcs *SapCloudForCustomerSource) UnmarshalJSON(body []byte) error { } scfcs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + scfcs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -153449,7 +167164,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -153601,6 +167316,11 @@ func (sels SapEccLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SapEccLinkedService. func (sels SapEccLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -154104,7 +167824,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -154240,6 +167960,11 @@ func (serd SapEccResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDatase return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -154365,6 +168090,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 @@ -154405,6 +168140,16 @@ func (serd SapEccResourceDataset) AsRelationalTableDataset() (*RelationalTableDa return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -154520,6 +168265,11 @@ func (serd SapEccResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -154530,6 +168280,11 @@ func (serd SapEccResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SapEccResourceDataset. func (serd SapEccResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -154663,6 +168418,8 @@ type SapEccResourceDatasetTypeProperties struct { type SapEccSource struct { // Query - SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -154671,7 +168428,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -154682,6 +168439,9 @@ func (ses SapEccSource) MarshalJSON() ([]byte, error) { if ses.Query != nil { objectMap["query"] = ses.Query } + if ses.QueryTimeout != nil { + objectMap["queryTimeout"] = ses.QueryTimeout + } if ses.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ses.SourceRetryCount } @@ -154700,6 +168460,116 @@ func (ses SapEccSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -154795,6 +168665,11 @@ func (ses SapEccSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -154870,81 +168745,21 @@ func (ses SapEccSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapEccSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -154970,11 +168785,6 @@ func (ses SapEccSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -155000,18 +168810,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -155040,53 +168845,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ses, true } -// AsAzureTableSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -155100,6 +168885,11 @@ func (ses SapEccSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SapEccSource. func (ses SapEccSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -155128,6 +168918,15 @@ func (ses *SapEccSource) UnmarshalJSON(body []byte) error { } ses.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ses.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -155196,7 +168995,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -155348,6 +169147,11 @@ func (shls SapHanaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. func (shls SapHanaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -155859,6 +169663,8 @@ type SapHanaSource struct { Query interface{} `json:"query,omitempty"` // PacketSize - The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). PacketSize interface{} `json:"packetSize,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"` // 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). @@ -155867,7 +169673,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -155881,6 +169687,9 @@ func (shs SapHanaSource) MarshalJSON() ([]byte, error) { if shs.PacketSize != nil { objectMap["packetSize"] = shs.PacketSize } + if shs.QueryTimeout != nil { + objectMap["queryTimeout"] = shs.QueryTimeout + } if shs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = shs.SourceRetryCount } @@ -155899,6 +169708,116 @@ func (shs SapHanaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -155994,6 +169913,11 @@ func (shs SapHanaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -156069,81 +169993,21 @@ func (shs SapHanaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapHanaSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -156169,11 +170033,6 @@ func (shs SapHanaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -156199,18 +170058,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -156239,53 +170093,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &shs, true } -// AsAzureTableSource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SapHanaSource. -func (shs SapHanaSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -156299,6 +170133,11 @@ func (shs SapHanaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SapHanaSource. +func (shs SapHanaSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SapHanaSource. func (shs SapHanaSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -156336,6 +170175,15 @@ func (shs *SapHanaSource) UnmarshalJSON(body []byte) error { } shs.PacketSize = packetSize } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + shs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -156410,7 +170258,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -156546,6 +170394,11 @@ func (shtd SapHanaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -156671,6 +170524,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 @@ -156711,6 +170574,16 @@ func (shtd SapHanaTableDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -156826,6 +170699,11 @@ func (shtd SapHanaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -156836,6 +170714,11 @@ func (shtd SapHanaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for SapHanaTableDataset. +func (shtd SapHanaTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SapHanaTableDataset. func (shtd SapHanaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -156981,7 +170864,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -157133,6 +171016,11 @@ func (sohls SapOpenHubLinkedService) AsMarketoLinkedService() (*MarketoLinkedSer return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. +func (sohls SapOpenHubLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SapOpenHubLinkedService. func (sohls SapOpenHubLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -157652,6 +171540,12 @@ func (sohlstp *SapOpenHubLinkedServiceTypeProperties) UnmarshalJSON(body []byte) // SapOpenHubSource a copy activity source for SAP Business Warehouse Open Hub Destination source. type SapOpenHubSource struct { + // ExcludeLastRequest - Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). + ExcludeLastRequest interface{} `json:"excludeLastRequest,omitempty"` + // BaseRequestID - The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). + BaseRequestID interface{} `json:"baseRequestId,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"` // 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). @@ -157660,7 +171554,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -157668,6 +171562,15 @@ type SapOpenHubSource struct { func (sohs SapOpenHubSource) MarshalJSON() ([]byte, error) { sohs.Type = TypeSapOpenHubSource objectMap := make(map[string]interface{}) + if sohs.ExcludeLastRequest != nil { + objectMap["excludeLastRequest"] = sohs.ExcludeLastRequest + } + if sohs.BaseRequestID != nil { + objectMap["baseRequestId"] = sohs.BaseRequestID + } + if sohs.QueryTimeout != nil { + objectMap["queryTimeout"] = sohs.QueryTimeout + } if sohs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sohs.SourceRetryCount } @@ -157686,6 +171589,116 @@ func (sohs SapOpenHubSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -157781,6 +171794,11 @@ func (sohs SapOpenHubSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -157856,81 +171874,21 @@ func (sohs SapOpenHubSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapOpenHubSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -157956,11 +171914,6 @@ func (sohs SapOpenHubSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -157986,18 +171939,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -158026,53 +171974,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sohs, true } -// AsAzureTableSource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SapOpenHubSource. -func (sohs SapOpenHubSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -158086,6 +172014,11 @@ func (sohs SapOpenHubSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SapOpenHubSource. +func (sohs SapOpenHubSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SapOpenHubSource. func (sohs SapOpenHubSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -158105,6 +172038,33 @@ func (sohs *SapOpenHubSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "excludeLastRequest": + if v != nil { + var excludeLastRequest interface{} + err = json.Unmarshal(*v, &excludeLastRequest) + if err != nil { + return err + } + sohs.ExcludeLastRequest = excludeLastRequest + } + case "baseRequestId": + if v != nil { + var baseRequestID interface{} + err = json.Unmarshal(*v, &baseRequestID) + if err != nil { + return err + } + sohs.BaseRequestID = baseRequestID + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sohs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -158179,7 +172139,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -158315,6 +172275,11 @@ func (sohtd SapOpenHubTableDataset) AsMarketoObjectDataset() (*MarketoObjectData return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -158440,6 +172405,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 @@ -158480,6 +172455,16 @@ func (sohtd SapOpenHubTableDataset) AsRelationalTableDataset() (*RelationalTable return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -158595,6 +172580,11 @@ func (sohtd SapOpenHubTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -158605,6 +172595,11 @@ func (sohtd SapOpenHubTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for SapOpenHubTableDataset. +func (sohtd SapOpenHubTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SapOpenHubTableDataset. func (sohtd SapOpenHubTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -158752,7 +172747,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -158904,6 +172899,11 @@ func (stls SapTableLinkedService) AsMarketoLinkedService() (*MarketoLinkedServic return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SapTableLinkedService. +func (stls SapTableLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SapTableLinkedService. func (stls SapTableLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -159551,7 +173551,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -159687,6 +173687,11 @@ func (strd SapTableResourceDataset) AsMarketoObjectDataset() (*MarketoObjectData return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -159812,6 +173817,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 @@ -159852,6 +173867,16 @@ func (strd SapTableResourceDataset) AsRelationalTableDataset() (*RelationalTable return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -159967,6 +173992,11 @@ func (strd SapTableResourceDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -159977,6 +174007,11 @@ func (strd SapTableResourceDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for SapTableResourceDataset. +func (strd SapTableResourceDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SapTableResourceDataset. func (strd SapTableResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -160124,6 +174159,8 @@ type SapTableSource struct { PartitionOption SapTablePartitionOption `json:"partitionOption,omitempty"` // PartitionSettings - The settings that will be leveraged for SAP table source partitioning. PartitionSettings *SapTablePartitionSettings `json:"partitionSettings,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"` // 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). @@ -160132,7 +174169,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -160164,6 +174201,9 @@ func (sts SapTableSource) MarshalJSON() ([]byte, error) { if sts.PartitionSettings != nil { objectMap["partitionSettings"] = sts.PartitionSettings } + if sts.QueryTimeout != nil { + objectMap["queryTimeout"] = sts.QueryTimeout + } if sts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sts.SourceRetryCount } @@ -160182,6 +174222,116 @@ func (sts SapTableSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -160277,6 +174427,11 @@ func (sts SapTableSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -160352,81 +174507,21 @@ func (sts SapTableSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapTableSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -160452,11 +174547,6 @@ func (sts SapTableSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsSapTableSource() (*SapTableSource, bool) { return &sts, true @@ -160482,18 +174572,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -160522,53 +174607,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sts, true } -// AsAzureTableSource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SapTableSource. -func (sts SapTableSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -160582,6 +174647,11 @@ func (sts SapTableSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SapTableSource. +func (sts SapTableSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SapTableSource. func (sts SapTableSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -160673,6 +174743,15 @@ func (sts *SapTableSource) UnmarshalJSON(body []byte) error { } sts.PartitionSettings = &partitionSettings } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sts.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -160737,7 +174816,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: 'Started', 'Stopped', 'Disabled' + // 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"` @@ -161577,7 +175656,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -161729,6 +175808,11 @@ func (snls ServiceNowLinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. func (snls ServiceNowLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -162297,7 +176381,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -162433,6 +176517,11 @@ func (snod ServiceNowObjectDataset) AsMarketoObjectDataset() (*MarketoObjectData return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -162558,6 +176647,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 @@ -162598,6 +176697,16 @@ func (snod ServiceNowObjectDataset) AsRelationalTableDataset() (*RelationalTable return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -162713,6 +176822,11 @@ func (snod ServiceNowObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -162723,6 +176837,11 @@ func (snod ServiceNowObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for ServiceNowObjectDataset. func (snod ServiceNowObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -162850,6 +176969,8 @@ func (snod *ServiceNowObjectDataset) UnmarshalJSON(body []byte) error { type ServiceNowSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -162858,7 +176979,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -162869,6 +176990,9 @@ func (sns ServiceNowSource) MarshalJSON() ([]byte, error) { if sns.Query != nil { objectMap["query"] = sns.Query } + if sns.QueryTimeout != nil { + objectMap["queryTimeout"] = sns.QueryTimeout + } if sns.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sns.SourceRetryCount } @@ -162887,6 +177011,116 @@ func (sns ServiceNowSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -162982,6 +177216,11 @@ func (sns ServiceNowSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -163057,81 +177296,21 @@ func (sns ServiceNowSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ServiceNowSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -163157,11 +177336,6 @@ func (sns ServiceNowSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -163187,18 +177361,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -163227,53 +177396,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sns, true } -// AsAzureTableSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -163287,6 +177436,11 @@ func (sns ServiceNowSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for ServiceNowSource. func (sns ServiceNowSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -163315,6 +177469,15 @@ func (sns *ServiceNowSource) UnmarshalJSON(body []byte) error { } sns.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sns.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -163927,7 +178090,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -164079,6 +178242,11 @@ func (ssls SftpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. func (ssls SftpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -164651,7 +178819,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -164803,6 +178971,11 @@ func (sls ShopifyLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. func (sls ShopifyLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -165328,7 +179501,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -165464,6 +179637,11 @@ func (sod ShopifyObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -165589,6 +179767,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 @@ -165629,6 +179817,16 @@ func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -165744,6 +179942,11 @@ func (sod ShopifyObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -165754,6 +179957,11 @@ func (sod ShopifyObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for ShopifyObjectDataset. func (sod ShopifyObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -165881,6 +180089,8 @@ func (sod *ShopifyObjectDataset) UnmarshalJSON(body []byte) error { type ShopifySource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -165889,7 +180099,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -165900,6 +180110,9 @@ func (ss ShopifySource) MarshalJSON() ([]byte, error) { if ss.Query != nil { objectMap["query"] = ss.Query } + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -165918,6 +180131,116 @@ func (ss ShopifySource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -166013,6 +180336,11 @@ func (ss ShopifySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -166088,81 +180416,21 @@ func (ss ShopifySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ShopifySource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -166188,11 +180456,6 @@ func (ss ShopifySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -166218,18 +180481,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -166258,53 +180516,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true } -// AsAzureTableSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -166318,6 +180556,11 @@ func (ss ShopifySource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for ShopifySource. func (ss ShopifySource) AsCopySource() (*CopySource, bool) { return nil, false @@ -166346,6 +180589,15 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { } ss.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ss.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -166400,6 +180652,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. @@ -166414,7 +180676,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -166566,6 +180828,11 @@ func (sls SparkLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, b return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. func (sls SparkLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -167161,8 +181428,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. @@ -167179,7 +181446,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -167187,8 +181454,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 @@ -167315,6 +181582,11 @@ func (sod SparkObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, b return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -167440,6 +181712,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 @@ -167480,6 +181762,16 @@ func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDatase return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -167595,6 +181887,11 @@ func (sod SparkObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -167605,6 +181902,11 @@ func (sod SparkObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for SparkObjectDataset. func (sod SparkObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -167631,12 +181933,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 { @@ -167732,6 +182034,8 @@ func (sod *SparkObjectDataset) UnmarshalJSON(body []byte) error { type SparkSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -167740,7 +182044,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -167751,6 +182055,9 @@ func (ss SparkSource) MarshalJSON() ([]byte, error) { if ss.Query != nil { objectMap["query"] = ss.Query } + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -167769,6 +182076,116 @@ func (ss SparkSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -167864,6 +182281,11 @@ func (ss SparkSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -167939,81 +182361,21 @@ func (ss SparkSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SparkSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -168039,11 +182401,6 @@ func (ss SparkSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -168069,18 +182426,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -168109,53 +182461,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true } -// AsAzureTableSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -168169,6 +182501,11 @@ func (ss SparkSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SparkSource. func (ss SparkSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -168197,6 +182534,15 @@ func (ss *SparkSource) UnmarshalJSON(body []byte) error { } ss.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ss.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -168259,6 +182605,8 @@ type SQLDWSink struct { AllowPolyBase interface{} `json:"allowPolyBase,omitempty"` // PolyBaseSettings - Specifies PolyBase-related settings when allowPolyBase is true. PolyBaseSettings *PolybaseSettings `json:"polyBaseSettings,omitempty"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,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. @@ -168271,7 +182619,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -168288,6 +182636,9 @@ func (sds SQLDWSink) MarshalJSON() ([]byte, error) { if sds.PolyBaseSettings != nil { objectMap["polyBaseSettings"] = sds.PolyBaseSettings } + if sds.TableOption != nil { + objectMap["tableOption"] = sds.TableOption + } if sds.WriteBatchSize != nil { objectMap["writeBatchSize"] = sds.WriteBatchSize } @@ -168432,6 +182783,11 @@ func (sds SQLDWSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -168447,11 +182803,21 @@ func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SQLDWSink. func (sds SQLDWSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -168503,6 +182869,15 @@ func (sds *SQLDWSink) UnmarshalJSON(body []byte) error { } sds.PolyBaseSettings = &polyBaseSettings } + case "tableOption": + if v != nil { + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) + if err != nil { + return err + } + sds.TableOption = tableOption + } default: if v != nil { var additionalProperties interface{} @@ -168583,6 +182958,8 @@ type SQLDWSource struct { SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. StoredProcedureParameters interface{} `json:"storedProcedureParameters,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"` // 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). @@ -168591,7 +182968,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -168608,6 +182985,9 @@ func (sds SQLDWSource) MarshalJSON() ([]byte, error) { if sds.StoredProcedureParameters != nil { objectMap["storedProcedureParameters"] = sds.StoredProcedureParameters } + if sds.QueryTimeout != nil { + objectMap["queryTimeout"] = sds.QueryTimeout + } if sds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sds.SourceRetryCount } @@ -168626,6 +183006,116 @@ func (sds SQLDWSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -168721,6 +183211,11 @@ func (sds SQLDWSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -168796,81 +183291,21 @@ func (sds SQLDWSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLDWSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) { return &sds, true @@ -168896,11 +183331,6 @@ func (sds SQLDWSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -168926,18 +183356,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -168966,53 +183391,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sds, true } -// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -169026,6 +183431,11 @@ func (sds SQLDWSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SQLDWSource. func (sds SQLDWSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -169072,6 +183482,15 @@ func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { } sds.StoredProcedureParameters = storedProcedureParameters } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sds.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -169138,6 +183557,8 @@ type SQLMISink struct { 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"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,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. @@ -169150,7 +183571,7 @@ type SQLMISink 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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -169173,6 +183594,9 @@ func (sms SQLMISink) MarshalJSON() ([]byte, error) { if sms.StoredProcedureTableTypeParameterName != nil { objectMap["storedProcedureTableTypeParameterName"] = sms.StoredProcedureTableTypeParameterName } + if sms.TableOption != nil { + objectMap["tableOption"] = sms.TableOption + } if sms.WriteBatchSize != nil { objectMap["writeBatchSize"] = sms.WriteBatchSize } @@ -169317,6 +183741,11 @@ func (sms SQLMISink) AsParquetSink() (*ParquetSink, bool) { return nil, false } +// AsAvroSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + // AsAzureTableSink is the BasicCopySink implementation for SQLMISink. func (sms SQLMISink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false @@ -169332,11 +183761,21 @@ func (sms SQLMISink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool return nil, false } +// AsAzureMySQLSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + // AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLMISink. func (sms SQLMISink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } +// AsJSONSink is the BasicCopySink implementation for SQLMISink. +func (sms SQLMISink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + // AsDelimitedTextSink is the BasicCopySink implementation for SQLMISink. func (sms SQLMISink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false @@ -169406,6 +183845,15 @@ func (sms *SQLMISink) UnmarshalJSON(body []byte) error { } sms.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName } + case "tableOption": + if v != nil { + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) + if err != nil { + return err + } + sms.TableOption = tableOption + } default: if v != nil { var additionalProperties interface{} @@ -169488,6 +183936,8 @@ type SQLMISource struct { StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` // ProduceAdditionalTypes - Which additional types to produce. ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,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"` // 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). @@ -169496,7 +183946,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -169516,6 +183966,9 @@ func (sms SQLMISource) MarshalJSON() ([]byte, error) { if sms.ProduceAdditionalTypes != nil { objectMap["produceAdditionalTypes"] = sms.ProduceAdditionalTypes } + if sms.QueryTimeout != nil { + objectMap["queryTimeout"] = sms.QueryTimeout + } if sms.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sms.SourceRetryCount } @@ -169534,6 +183987,116 @@ func (sms SQLMISource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 +} + +// AsWebSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsWebSource() (*WebSource, 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for SQLMISource. func (sms SQLMISource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -169629,6 +184192,11 @@ func (sms SQLMISource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for SQLMISource. func (sms SQLMISource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -169693,89 +184261,29 @@ func (sms SQLMISource) AsCouchbaseSource() (*CouchbaseSource, bool) { 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) { + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsHdfsSource() (*HdfsSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } @@ -169804,11 +184312,6 @@ 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 @@ -169834,18 +184337,13 @@ func (sms SQLMISource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource 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) { +// AsSapBwSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -169874,53 +184372,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sms, true } -// AsAzureTableSource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLMISource. -func (sms SQLMISource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -169934,6 +184412,11 @@ func (sms SQLMISource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for SQLMISource. +func (sms SQLMISource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for SQLMISource. func (sms SQLMISource) AsCopySource() (*CopySource, bool) { return nil, false @@ -169989,6 +184472,15 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { } sms.ProduceAdditionalTypes = produceAdditionalTypes } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sms.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -170057,7 +184549,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -170209,6 +184701,11 @@ func (ssls SQLServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedServi return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. func (ssls SQLServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -170704,6 +185201,8 @@ type SQLServerSink struct { 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"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,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. @@ -170716,7 +185215,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', '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 - 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' Type TypeBasicCopySink `json:"type,omitempty"` } @@ -170739,6 +185238,9 @@ func (sss SQLServerSink) MarshalJSON() ([]byte, error) { if sss.StoredProcedureTableTypeParameterName != nil { objectMap["storedProcedureTableTypeParameterName"] = sss.StoredProcedureTableTypeParameterName } + if sss.TableOption != nil { + objectMap["tableOption"] = sss.TableOption + } if sss.WriteBatchSize != nil { objectMap["writeBatchSize"] = sss.WriteBatchSize } @@ -170751,175 +185253,1175 @@ func (sss SQLServerSink) MarshalJSON() ([]byte, error) { if sss.SinkRetryWait != nil { objectMap["sinkRetryWait"] = sss.SinkRetryWait } - if sss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + if sss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + } + if sss.Type != "" { + objectMap["type"] = sss.Type + } + for k, v := range sss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { + 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 +} + +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLServerSink. +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 +} + +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { + return nil, false +} + +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false +} + +// AsOracleSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsOracleSink() (*OracleSink, bool) { + return nil, false +} + +// AsSQLDWSink is the BasicCopySink implementation for SQLServerSink. +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 +} + +// AsSQLServerSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLServerSink() (*SQLServerSink, bool) { + return &sss, true +} + +// AsSQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSQLSink() (*SQLSink, bool) { + return nil, false +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for SQLServerSink. +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 +} + +// AsAvroSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAvroSink() (*AvroSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsAzureMySQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { + return nil, false +} + +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { + return nil, false +} + +// AsJSONSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsJSONSink() (*JSONSink, bool) { + return nil, false +} + +// AsDelimitedTextSink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for SQLServerSink. +func (sss SQLServerSink) AsBasicCopySink() (BasicCopySink, bool) { + return &sss, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLServerSink struct. +func (sss *SQLServerSink) 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 + } + sss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName + } + case "sqlWriterTableType": + if v != nil { + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) + if err != nil { + return err + } + sss.SQLWriterTableType = SQLWriterTableType + } + case "preCopyScript": + if v != nil { + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) + if err != nil { + return err + } + sss.PreCopyScript = preCopyScript + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + sss.StoredProcedureParameters = storedProcedureParameters + } + case "storedProcedureTableTypeParameterName": + if v != nil { + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + if err != nil { + return err + } + sss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + } + case "tableOption": + if v != nil { + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) + if err != nil { + return err + } + sss.TableOption = tableOption + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sss.AdditionalProperties == nil { + sss.AdditionalProperties = make(map[string]interface{}) + } + sss.AdditionalProperties[k] = additionalProperties + } + case "writeBatchSize": + if v != nil { + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) + if err != nil { + return err + } + sss.WriteBatchSize = writeBatchSize + } + case "writeBatchTimeout": + if v != nil { + var writeBatchTimeout interface{} + err = json.Unmarshal(*v, &writeBatchTimeout) + if err != nil { + return err + } + sss.WriteBatchTimeout = writeBatchTimeout + } + case "sinkRetryCount": + if v != nil { + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) + if err != nil { + return err + } + sss.SinkRetryCount = sinkRetryCount + } + case "sinkRetryWait": + if v != nil { + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) + if err != nil { + return err + } + sss.SinkRetryWait = sinkRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySink + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sss.Type = typeVar + } + } + } + + return nil +} + +// SQLServerSource a copy activity SQL server source. +type SQLServerSource 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLServerSource. +func (sss SQLServerSource) MarshalJSON() ([]byte, error) { + sss.Type = TypeSQLServerSource + objectMap := make(map[string]interface{}) + if sss.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = sss.SQLReaderQuery + } + if sss.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = sss.SQLReaderStoredProcedureName + } + if sss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = sss.StoredProcedureParameters + } + if sss.ProduceAdditionalTypes != nil { + objectMap["produceAdditionalTypes"] = sss.ProduceAdditionalTypes + } + if sss.QueryTimeout != nil { + objectMap["queryTimeout"] = sss.QueryTimeout + } + if sss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = sss.SourceRetryCount + } + if sss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = sss.SourceRetryWait + } + if sss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + } + if sss.Type != "" { + objectMap["type"] = sss.Type + } + for k, v := range sss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsHTTPSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false +} + +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} + +// AsDynamicsAXSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false +} + +// AsResponsysSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsTeradataSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsTeradataSource() (*TeradataSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SQLServerSource. +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 +} + +// AsSQLServerSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLServerSource() (*SQLServerSource, bool) { + return &sss, true +} + +// AsSQLSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapTableSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} + +// AsSapOpenHubSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false +} + +// AsSapHanaSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &sss, true +} + +// AsBinarySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SQLServerSource. +func (sss SQLServerSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sss, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLServerSource struct. +func (sss *SQLServerSource) 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 + } + sss.SQLReaderQuery = SQLReaderQuery + } + case "sqlReaderStoredProcedureName": + if v != nil { + var SQLReaderStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLReaderStoredProcedureName) + if err != nil { + return err + } + sss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + sss.StoredProcedureParameters = storedProcedureParameters + } + case "produceAdditionalTypes": + if v != nil { + var produceAdditionalTypes interface{} + err = json.Unmarshal(*v, &produceAdditionalTypes) + if err != nil { + return err + } + sss.ProduceAdditionalTypes = produceAdditionalTypes + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + sss.QueryTimeout = queryTimeout + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sss.AdditionalProperties == nil { + sss.AdditionalProperties = make(map[string]interface{}) + } + sss.AdditionalProperties[k] = additionalProperties + } + case "sourceRetryCount": + if v != nil { + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) + if err != nil { + return err + } + sss.SourceRetryCount = sourceRetryCount + } + case "sourceRetryWait": + if v != nil { + var sourceRetryWait interface{} + err = json.Unmarshal(*v, &sourceRetryWait) + if err != nil { + return err + } + sss.SourceRetryWait = sourceRetryWait + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + sss.MaxConcurrentConnections = maxConcurrentConnections + } + case "type": + if v != nil { + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sss.Type = typeVar + } + } + } + + return nil +} + +// SQLServerStoredProcedureActivity SQL stored procedure activity type. +type SQLServerStoredProcedureActivity struct { + // SQLServerStoredProcedureActivityTypeProperties - SQL stored procedure activity properties. + *SQLServerStoredProcedureActivityTypeProperties `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 SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) MarshalJSON() ([]byte, error) { + ssspa.Type = TypeSQLServerStoredProcedure + objectMap := make(map[string]interface{}) + if ssspa.SQLServerStoredProcedureActivityTypeProperties != nil { + objectMap["typeProperties"] = ssspa.SQLServerStoredProcedureActivityTypeProperties + } + if ssspa.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ssspa.LinkedServiceName + } + if ssspa.Policy != nil { + objectMap["policy"] = ssspa.Policy + } + if ssspa.Name != nil { + objectMap["name"] = ssspa.Name + } + if ssspa.Description != nil { + objectMap["description"] = ssspa.Description + } + if ssspa.DependsOn != nil { + objectMap["dependsOn"] = ssspa.DependsOn + } + if ssspa.UserProperties != nil { + objectMap["userProperties"] = ssspa.UserProperties } - if sss.Type != "" { - objectMap["type"] = sss.Type + if ssspa.Type != "" { + objectMap["type"] = ssspa.Type } - for k, v := range sss.AdditionalProperties { + for k, v := range ssspa.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsAzureFunctionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsDatabricksSparkPythonActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsDatabricksSparkJarActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsInformixSink() (*InformixSink, bool) { +// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsOdbcSink() (*OdbcSink, bool) { +// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsDeleteActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDeleteActivity() (*DeleteActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return &ssspa, true +} + +// AsCustomActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsOracleSink() (*OracleSink, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLMISink() (*SQLMISink, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLServerSink() (*SQLServerSink, bool) { - return &sss, true +// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false } -// AsSQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSQLSink() (*SQLSink, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsBlobSink() (*BlobSink, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ssspa, true +} + +// AsWebHookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWebHookActivity() (*WebHookActivity, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsBinarySink() (*BinarySink, bool) { +// AsAppendVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsParquetSink() (*ParquetSink, bool) { +// AsSetVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsFilterActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsValidationActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsValidationActivity() (*ValidationActivity, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsCopySink() (*CopySink, bool) { +// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLServerSink. -func (sss SQLServerSink) AsBasicCopySink() (BasicCopySink, bool) { - return &sss, true +// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLServerSink struct. -func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { +// AsControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicActivity() (BasicActivity, bool) { + return &ssspa, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLServerStoredProcedureActivity struct. +func (ssspa *SQLServerStoredProcedureActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -170927,50 +186429,32 @@ func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { } 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 - } - sss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName - } - case "sqlWriterTableType": - if v != nil { - var SQLWriterTableType interface{} - err = json.Unmarshal(*v, &SQLWriterTableType) - if err != nil { - return err - } - sss.SQLWriterTableType = SQLWriterTableType - } - case "preCopyScript": + case "typeProperties": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var SQLServerStoredProcedureActivityTypeProperties SQLServerStoredProcedureActivityTypeProperties + err = json.Unmarshal(*v, &SQLServerStoredProcedureActivityTypeProperties) if err != nil { return err } - sss.PreCopyScript = preCopyScript + ssspa.SQLServerStoredProcedureActivityTypeProperties = &SQLServerStoredProcedureActivityTypeProperties } - case "storedProcedureParameters": + case "linkedServiceName": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - sss.StoredProcedureParameters = storedProcedureParameters + ssspa.LinkedServiceName = &linkedServiceName } - case "storedProcedureTableTypeParameterName": + case "policy": if v != nil { - var storedProcedureTableTypeParameterName interface{} - err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) if err != nil { return err } - sss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + ssspa.Policy = &policy } default: if v != nil { @@ -170979,64 +186463,55 @@ func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sss.AdditionalProperties == nil { - sss.AdditionalProperties = make(map[string]interface{}) - } - sss.AdditionalProperties[k] = additionalProperties - } - case "writeBatchSize": - if v != nil { - var writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) - if err != nil { - return err + if ssspa.AdditionalProperties == nil { + ssspa.AdditionalProperties = make(map[string]interface{}) } - sss.WriteBatchSize = writeBatchSize + ssspa.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 } - sss.WriteBatchTimeout = writeBatchTimeout + ssspa.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 } - sss.SinkRetryCount = sinkRetryCount + ssspa.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 } - sss.SinkRetryWait = sinkRetryWait + ssspa.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 } - sss.MaxConcurrentConnections = maxConcurrentConnections + ssspa.UserProperties = &userProperties } case "type": if v != nil { - var typeVar TypeBasicCopySink + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sss.Type = typeVar + ssspa.Type = typeVar } } } @@ -171044,474 +186519,524 @@ func (sss *SQLServerSink) UnmarshalJSON(body []byte) error { return nil } -// SQLServerSource a copy activity SQL server source. -type SQLServerSource 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"` +// SQLServerStoredProcedureActivityTypeProperties SQL stored procedure activity properties. +type SQLServerStoredProcedureActivityTypeProperties struct { + // StoredProcedureName - Stored procedure name. Type: string (or Expression with resultType string). + StoredProcedureName interface{} `json:"storedProcedureName,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"` +} + +// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivityTypeProperties. +func (ssspatp SQLServerStoredProcedureActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ssspatp.StoredProcedureName != nil { + objectMap["storedProcedureName"] = ssspatp.StoredProcedureName + } + if ssspatp.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ssspatp.StoredProcedureParameters + } + return json.Marshal(objectMap) +} + +// SQLServerTableDataset the on-premises SQL Server dataset. +type SQLServerTableDataset struct { + // SQLServerTableDatasetTypeProperties - On-premises SQL Server dataset properties. + *SQLServerTableDatasetTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLServerSource. -func (sss SQLServerSource) MarshalJSON() ([]byte, error) { - sss.Type = TypeSQLServerSource +// MarshalJSON is the custom marshaler for SQLServerTableDataset. +func (sstd SQLServerTableDataset) MarshalJSON() ([]byte, error) { + sstd.Type = TypeSQLServerTable objectMap := make(map[string]interface{}) - if sss.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = sss.SQLReaderQuery + if sstd.SQLServerTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties } - if sss.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = sss.SQLReaderStoredProcedureName + if sstd.Description != nil { + objectMap["description"] = sstd.Description } - if sss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = sss.StoredProcedureParameters + if sstd.Structure != nil { + objectMap["structure"] = sstd.Structure } - if sss.ProduceAdditionalTypes != nil { - objectMap["produceAdditionalTypes"] = sss.ProduceAdditionalTypes + if sstd.Schema != nil { + objectMap["schema"] = sstd.Schema } - if sss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = sss.SourceRetryCount + if sstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sstd.LinkedServiceName } - if sss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = sss.SourceRetryWait + if sstd.Parameters != nil { + objectMap["parameters"] = sstd.Parameters } - if sss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sss.MaxConcurrentConnections + if sstd.Annotations != nil { + objectMap["annotations"] = sstd.Annotations } - if sss.Type != "" { - objectMap["type"] = sss.Type + if sstd.Folder != nil { + objectMap["folder"] = sstd.Folder } - for k, v := range sss.AdditionalProperties { + if sstd.Type != "" { + objectMap["type"] = sstd.Type + } + for k, v := range sstd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSparkSource() (*SparkSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsShopifySource() (*ShopifySource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMarketoSource() (*MarketoSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOffice365Source() (*Office365Source, bool) { +// AsWebTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return &sstd, true +} + +// AsSapOpenHubTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsTeradataSource() (*TeradataSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOracleSource() (*OracleSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLMISource() (*SQLMISource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLServerSource() (*SQLServerSource, bool) { - return &sss, true +// AsInformixTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { + return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSQLSource() (*SQLSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsRestSource() (*RestSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapEccSource() (*SapEccSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsODataSource() (*ODataSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsSybaseSource() (*SybaseSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMySQLSource() (*MySQLSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDb2Source() (*Db2Source, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsParquetSource() (*ParquetSource, bool) { +// AsJSONDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsCopySource() (*CopySource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLServerSource. -func (sss SQLServerSource) AsBasicCopySource() (BasicCopySource, bool) { - return &sss, true +// AsParquetDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLServerSource struct. -func (sss *SQLServerSource) UnmarshalJSON(body []byte) error { +// AsAvroDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &sstd, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLServerTableDataset struct. +func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -171519,89 +187044,98 @@ func (sss *SQLServerSource) 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 SQLServerTableDatasetTypeProperties SQLServerTableDatasetTypeProperties + err = json.Unmarshal(*v, &SQLServerTableDatasetTypeProperties) if err != nil { return err } - sss.SQLReaderQuery = SQLReaderQuery + sstd.SQLServerTableDatasetTypeProperties = &SQLServerTableDatasetTypeProperties } - 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 } - sss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + if sstd.AdditionalProperties == nil { + sstd.AdditionalProperties = make(map[string]interface{}) + } + sstd.AdditionalProperties[k] = additionalProperties } - case "storedProcedureParameters": + case "description": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - sss.StoredProcedureParameters = storedProcedureParameters + sstd.Description = &description } - case "produceAdditionalTypes": + case "structure": if v != nil { - var produceAdditionalTypes interface{} - err = json.Unmarshal(*v, &produceAdditionalTypes) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - sss.ProduceAdditionalTypes = produceAdditionalTypes + sstd.Structure = structure } - 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 sss.AdditionalProperties == nil { - sss.AdditionalProperties = make(map[string]interface{}) + sstd.Schema = schema + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err } - sss.AdditionalProperties[k] = additionalProperties + sstd.LinkedServiceName = &linkedServiceName } - case "sourceRetryCount": + case "parameters": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - sss.SourceRetryCount = sourceRetryCount + sstd.Parameters = parameters } - case "sourceRetryWait": + case "annotations": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - sss.SourceRetryWait = sourceRetryWait + sstd.Annotations = &annotations } - case "maxConcurrentConnections": + case "folder": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - sss.MaxConcurrentConnections = maxConcurrentConnections + sstd.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sss.Type = typeVar + sstd.Type = typeVar } } } @@ -171609,249 +187143,264 @@ func (sss *SQLServerSource) UnmarshalJSON(body []byte) error { return nil } -// SQLServerStoredProcedureActivity SQL stored procedure activity type. -type SQLServerStoredProcedureActivity struct { - // SQLServerStoredProcedureActivityTypeProperties - SQL stored procedure activity properties. - *SQLServerStoredProcedureActivityTypeProperties `json:"typeProperties,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Policy - Activity policy. - Policy *ActivityPolicy `json:"policy,omitempty"` +// SQLServerTableDatasetTypeProperties on-premises SQL Server dataset properties. +type SQLServerTableDatasetTypeProperties 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 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. +type SQLSink 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"` + // TableOption - The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). + TableOption interface{} `json:"tableOption,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"` + // 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', 'TypeAvroSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink', 'TypeAzureMySQLSink', 'TypeAzurePostgreSQLSink', 'TypeJSONSink', 'TypeDelimitedTextSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) MarshalJSON() ([]byte, error) { - ssspa.Type = TypeSQLServerStoredProcedure +// MarshalJSON is the custom marshaler for SQLSink. +func (ss SQLSink) MarshalJSON() ([]byte, error) { + ss.Type = TypeSQLSink objectMap := make(map[string]interface{}) - if ssspa.SQLServerStoredProcedureActivityTypeProperties != nil { - objectMap["typeProperties"] = ssspa.SQLServerStoredProcedureActivityTypeProperties + if ss.SQLWriterStoredProcedureName != nil { + objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName } - if ssspa.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ssspa.LinkedServiceName + if ss.SQLWriterTableType != nil { + objectMap["sqlWriterTableType"] = ss.SQLWriterTableType } - if ssspa.Policy != nil { - objectMap["policy"] = ssspa.Policy + if ss.PreCopyScript != nil { + objectMap["preCopyScript"] = ss.PreCopyScript } - if ssspa.Name != nil { - objectMap["name"] = ssspa.Name + if ss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters } - if ssspa.Description != nil { - objectMap["description"] = ssspa.Description + if ss.StoredProcedureTableTypeParameterName != nil { + objectMap["storedProcedureTableTypeParameterName"] = ss.StoredProcedureTableTypeParameterName } - if ssspa.DependsOn != nil { - objectMap["dependsOn"] = ssspa.DependsOn + if ss.TableOption != nil { + objectMap["tableOption"] = ss.TableOption } - if ssspa.UserProperties != nil { - objectMap["userProperties"] = ssspa.UserProperties + if ss.WriteBatchSize != nil { + objectMap["writeBatchSize"] = ss.WriteBatchSize } - if ssspa.Type != "" { - objectMap["type"] = ssspa.Type + if ss.WriteBatchTimeout != nil { + objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout } - for k, v := range ssspa.AdditionalProperties { + if ss.SinkRetryCount != nil { + objectMap["sinkRetryCount"] = ss.SinkRetryCount + } + if ss.SinkRetryWait != nil { + objectMap["sinkRetryWait"] = ss.SinkRetryWait + } + 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) } -// AsAzureFunctionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureFunctionActivity() (*AzureFunctionActivity, bool) { - return nil, false -} - -// AsDatabricksSparkPythonActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkPythonActivity() (*DatabricksSparkPythonActivity, bool) { +// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { return nil, false } -// AsDatabricksSparkJarActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDatabricksSparkJarActivity() (*DatabricksSparkJarActivity, bool) { +// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { return nil, false } -// AsDatabricksNotebookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsDynamicsCrmSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) { +// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsInformixSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsInformixSink() (*InformixSink, bool) { return nil, false } -// AsAzureDataExplorerCommandActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureDataExplorerCommandActivity() (*AzureDataExplorerCommandActivity, bool) { +// AsOdbcSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsDeleteActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDeleteActivity() (*DeleteActivity, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { - return &ssspa, true -} - -// AsCustomActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsAzureBlobFSSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsSQLMISink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLMISink() (*SQLMISink, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsAzureSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsSQLServerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLServerSink() (*SQLServerSink, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) { - return nil, false +// AsSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLSink() (*SQLSink, bool) { + return &ss, true } -// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ssspa, true -} - -// AsWebHookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWebHookActivity() (*WebHookActivity, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsAppendVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAppendVariableActivity() (*AppendVariableActivity, bool) { +// AsBlobSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsSetVariableActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsSetVariableActivity() (*SetVariableActivity, bool) { +// AsBinarySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBinarySink() (*BinarySink, bool) { return nil, false } -// AsFilterActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsFilterActivity() (*FilterActivity, bool) { +// AsParquetSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsParquetSink() (*ParquetSink, bool) { return nil, false } -// AsValidationActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsValidationActivity() (*ValidationActivity, bool) { +// AsAvroSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAvroSink() (*AvroSink, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsAzureMySQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureMySQLSink() (*AzureMySQLSink, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsControlActivity() (*ControlActivity, bool) { +// AsJSONSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsJSONSink() (*JSONSink, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicControlActivity() (BasicControlActivity, bool) { +// AsDelimitedTextSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { return nil, false } -// AsActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsActivity() (*Activity, bool) { +// AsCopySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicActivity() (BasicActivity, bool) { - return &ssspa, true +// AsBasicCopySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ss, true } -// UnmarshalJSON is the custom unmarshaler for SQLServerStoredProcedureActivity struct. -func (ssspa *SQLServerStoredProcedureActivity) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SQLSink struct. +func (ss *SQLSink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -171859,32 +187408,59 @@ func (ssspa *SQLServerStoredProcedureActivity) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "typeProperties": + case "sqlWriterStoredProcedureName": if v != nil { - var SQLServerStoredProcedureActivityTypeProperties SQLServerStoredProcedureActivityTypeProperties - err = json.Unmarshal(*v, &SQLServerStoredProcedureActivityTypeProperties) + var SQLWriterStoredProcedureName interface{} + err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) if err != nil { return err } - ssspa.SQLServerStoredProcedureActivityTypeProperties = &SQLServerStoredProcedureActivityTypeProperties + ss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName } - case "linkedServiceName": + case "sqlWriterTableType": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var SQLWriterTableType interface{} + err = json.Unmarshal(*v, &SQLWriterTableType) if err != nil { return err } - ssspa.LinkedServiceName = &linkedServiceName + ss.SQLWriterTableType = SQLWriterTableType } - case "policy": + case "preCopyScript": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + var preCopyScript interface{} + err = json.Unmarshal(*v, &preCopyScript) if err != nil { return err } - ssspa.Policy = &policy + ss.PreCopyScript = preCopyScript + } + case "storedProcedureParameters": + if v != nil { + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) + if err != nil { + return err + } + ss.StoredProcedureParameters = storedProcedureParameters + } + case "storedProcedureTableTypeParameterName": + if v != nil { + var storedProcedureTableTypeParameterName interface{} + err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + if err != nil { + return err + } + ss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + } + case "tableOption": + if v != nil { + var tableOption interface{} + err = json.Unmarshal(*v, &tableOption) + if err != nil { + return err + } + ss.TableOption = tableOption } default: if v != nil { @@ -171893,55 +187469,64 @@ func (ssspa *SQLServerStoredProcedureActivity) UnmarshalJSON(body []byte) error if err != nil { return err } - if ssspa.AdditionalProperties == nil { - ssspa.AdditionalProperties = make(map[string]interface{}) + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - ssspa.AdditionalProperties[k] = additionalProperties + ss.AdditionalProperties[k] = additionalProperties } - case "name": + case "writeBatchSize": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var writeBatchSize interface{} + err = json.Unmarshal(*v, &writeBatchSize) if err != nil { return err } - ssspa.Name = &name + ss.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 } - ssspa.Description = &description + ss.WriteBatchTimeout = writeBatchTimeout } - case "dependsOn": + case "sinkRetryCount": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var sinkRetryCount interface{} + err = json.Unmarshal(*v, &sinkRetryCount) if err != nil { return err } - ssspa.DependsOn = &dependsOn + ss.SinkRetryCount = sinkRetryCount } - case "userProperties": + case "sinkRetryWait": if v != nil { - var userProperties []UserProperty - err = json.Unmarshal(*v, &userProperties) + var sinkRetryWait interface{} + err = json.Unmarshal(*v, &sinkRetryWait) if err != nil { return err } - ssspa.UserProperties = &userProperties + ss.SinkRetryWait = sinkRetryWait + } + 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 TypeBasicActivity + var typeVar TypeBasicCopySink err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ssspa.Type = typeVar + ss.Type = typeVar } } } @@ -171949,489 +187534,504 @@ func (ssspa *SQLServerStoredProcedureActivity) UnmarshalJSON(body []byte) error return nil } -// SQLServerStoredProcedureActivityTypeProperties SQL stored procedure activity properties. -type SQLServerStoredProcedureActivityTypeProperties struct { - // StoredProcedureName - Stored procedure name. Type: string (or Expression with resultType string). - StoredProcedureName interface{} `json:"storedProcedureName,omitempty"` +// SQLSource a copy activity SQL source. +type SQLSource 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"` -} - -// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivityTypeProperties. -func (ssspatp SQLServerStoredProcedureActivityTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ssspatp.StoredProcedureName != nil { - objectMap["storedProcedureName"] = ssspatp.StoredProcedureName - } - if ssspatp.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ssspatp.StoredProcedureParameters - } - return json.Marshal(objectMap) -} - -// SQLServerTableDataset the on-premises SQL Server dataset. -type SQLServerTableDataset struct { - // SQLServerTableDatasetTypeProperties - On-premises SQL Server dataset properties. - *SQLServerTableDatasetTypeProperties `json:"typeProperties,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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLServerTableDataset. -func (sstd SQLServerTableDataset) MarshalJSON() ([]byte, error) { - sstd.Type = TypeSQLServerTable +// MarshalJSON is the custom marshaler for SQLSource. +func (ss SQLSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSQLSource objectMap := make(map[string]interface{}) - if sstd.SQLServerTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties - } - if sstd.Description != nil { - objectMap["description"] = sstd.Description + if ss.SQLReaderQuery != nil { + objectMap["sqlReaderQuery"] = ss.SQLReaderQuery } - if sstd.Structure != nil { - objectMap["structure"] = sstd.Structure + if ss.SQLReaderStoredProcedureName != nil { + objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName } - if sstd.Schema != nil { - objectMap["schema"] = sstd.Schema + if ss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters } - if sstd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sstd.LinkedServiceName + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout } - if sstd.Parameters != nil { - objectMap["parameters"] = sstd.Parameters + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount } - if sstd.Annotations != nil { - objectMap["annotations"] = sstd.Annotations + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait } - if sstd.Folder != nil { - objectMap["folder"] = sstd.Folder + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if sstd.Type != "" { - objectMap["type"] = sstd.Type + if ss.Type != "" { + objectMap["type"] = ss.Type } - for k, v := range sstd.AdditionalProperties { + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsOffice365Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsRestSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsODataSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsResponsysSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapTableResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return &sstd, true +// AsPaypalSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsPostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOdbcTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsInformixTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsTeradataTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsTeradataSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsOffice365Dataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsAzureBlobFSDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { +// AsSQLMISource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLSource() (*SQLSource, bool) { + return &ss, true +} + +// AsSapTableSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLMITableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { +// AsSapBwSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsSybaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsMySQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBinaryDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsOdbcSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsDb2Source is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsInformixSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) { +// AsTabularSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &sstd, true +// AsBasicTabularSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true } -// UnmarshalJSON is the custom unmarshaler for SQLServerTableDataset struct. -func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error { +// AsBinarySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} + +// AsJSONSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsJSONSource() (*JSONSource, bool) { + return nil, false +} + +// AsDelimitedTextSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false +} + +// AsParquetSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// UnmarshalJSON is the custom unmarshaler for SQLSource struct. +func (ss *SQLSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -172439,98 +188039,89 @@ func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "sqlReaderQuery": if v != nil { - var SQLServerTableDatasetTypeProperties SQLServerTableDatasetTypeProperties - err = json.Unmarshal(*v, &SQLServerTableDatasetTypeProperties) + var SQLReaderQuery interface{} + err = json.Unmarshal(*v, &SQLReaderQuery) if err != nil { return err } - sstd.SQLServerTableDatasetTypeProperties = &SQLServerTableDatasetTypeProperties + ss.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 sstd.AdditionalProperties == nil { - sstd.AdditionalProperties = make(map[string]interface{}) - } - sstd.AdditionalProperties[k] = additionalProperties + ss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName } - case "description": + case "storedProcedureParameters": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var storedProcedureParameters map[string]*StoredProcedureParameter + err = json.Unmarshal(*v, &storedProcedureParameters) if err != nil { return err } - sstd.Description = &description + ss.StoredProcedureParameters = storedProcedureParameters } - case "structure": + case "queryTimeout": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - sstd.Structure = structure + ss.QueryTimeout = queryTimeout } - 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 } - sstd.Schema = schema - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - sstd.LinkedServiceName = &linkedServiceName + ss.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 } - sstd.Parameters = parameters + ss.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 } - sstd.Annotations = &annotations + ss.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 } - sstd.Folder = &folder + ss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sstd.Type = typeVar + ss.Type = typeVar } } } @@ -172538,240 +188129,519 @@ func (sstd *SQLServerTableDataset) UnmarshalJSON(body []byte) error { return nil } -// 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 interface{} `json:"tableName,omitempty"` -} - -// SQLSink a copy activity SQL sink. -type SQLSink 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"` +// SquareLinkedService square Service linked service. +type SquareLinkedService struct { + // SquareLinkedServiceTypeProperties - Square Service linked service properties. + *SquareLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 SQLSink. -func (ss SQLSink) MarshalJSON() ([]byte, error) { - ss.Type = TypeSQLSink +// MarshalJSON is the custom marshaler for SquareLinkedService. +func (sls SquareLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSquare objectMap := make(map[string]interface{}) - if ss.SQLWriterStoredProcedureName != nil { - objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName - } - if ss.SQLWriterTableType != nil { - objectMap["sqlWriterTableType"] = ss.SQLWriterTableType - } - if ss.PreCopyScript != nil { - objectMap["preCopyScript"] = ss.PreCopyScript - } - if ss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters - } - if ss.StoredProcedureTableTypeParameterName != nil { - objectMap["storedProcedureTableTypeParameterName"] = ss.StoredProcedureTableTypeParameterName - } - if ss.WriteBatchSize != nil { - objectMap["writeBatchSize"] = ss.WriteBatchSize + if sls.SquareLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties } - if ss.WriteBatchTimeout != nil { - objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if ss.SinkRetryCount != nil { - objectMap["sinkRetryCount"] = ss.SinkRetryCount + if sls.Description != nil { + objectMap["description"] = sls.Description } - if ss.SinkRetryWait != nil { - objectMap["sinkRetryWait"] = ss.SinkRetryWait + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations } - if ss.Type != "" { - objectMap["type"] = ss.Type + if sls.Type != "" { + objectMap["type"] = sls.Type } - for k, v := range ss.AdditionalProperties { + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsCosmosDbMongoDbAPISink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCosmosDbMongoDbAPISink() (*CosmosDbMongoDbAPISink, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { + return nil, false +} + +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { + return nil, false +} + +// AsSapTableLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { + return nil, false +} + +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { + return nil, false +} + +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { + return nil, false +} + +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { + return nil, false +} + +// AsResponsysLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { + return nil, false +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return &sls, true +} + +// AsSparkLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsRestServiceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { + return nil, false +} + +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + 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 +} + +// AsOffice365LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { + return nil, false +} + +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { + return nil, false +} + +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSalesforceServiceCloudSink() (*SalesforceServiceCloudSink, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureDataExplorerSink() (*AzureDataExplorerSink, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCommonDataServiceForAppsSink() (*CommonDataServiceForAppsSink, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsDynamicsCrmSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDynamicsCrmSink() (*DynamicsCrmSink, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsMicrosoftAccessSink() (*MicrosoftAccessSink, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsInformixSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsInformixSink() (*InformixSink, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsAzureBlobFSSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureBlobFSSink() (*AzureBlobFSSink, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOracleSink() (*OracleSink, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSQLMISink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLMISink() (*SQLMISink, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsAzureSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureSQLSink() (*AzureSQLSink, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSQLServerSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLServerSink() (*SQLServerSink, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLSink() (*SQLSink, bool) { - return &ss, true +// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBlobSink() (*BlobSink, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsBinarySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBinarySink() (*BinarySink, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsParquetSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsParquetSink() (*ParquetSink, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzurePostgreSQLSink() (*AzurePostgreSQLSink, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsDelimitedTextSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDelimitedTextSink() (*DelimitedTextSink, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCopySink() (*CopySink, bool) { +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ss, true +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLSink struct. -func (ss *SQLSink) UnmarshalJSON(body []byte) error { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for SquareLinkedService struct. +func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -172779,116 +188649,177 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "sqlWriterStoredProcedureName": + case "typeProperties": if v != nil { - var SQLWriterStoredProcedureName interface{} - err = json.Unmarshal(*v, &SQLWriterStoredProcedureName) + var squareLinkedServiceTypeProperties SquareLinkedServiceTypeProperties + err = json.Unmarshal(*v, &squareLinkedServiceTypeProperties) if err != nil { return err } - ss.SQLWriterStoredProcedureName = SQLWriterStoredProcedureName + sls.SquareLinkedServiceTypeProperties = &squareLinkedServiceTypeProperties } - case "sqlWriterTableType": + default: if v != nil { - var SQLWriterTableType interface{} - err = json.Unmarshal(*v, &SQLWriterTableType) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - ss.SQLWriterTableType = SQLWriterTableType + if sls.AdditionalProperties == nil { + sls.AdditionalProperties = make(map[string]interface{}) + } + sls.AdditionalProperties[k] = additionalProperties } - case "preCopyScript": + case "connectVia": if v != nil { - var preCopyScript interface{} - err = json.Unmarshal(*v, &preCopyScript) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - ss.PreCopyScript = preCopyScript + sls.ConnectVia = &connectVia } - case "storedProcedureParameters": + case "description": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ss.StoredProcedureParameters = storedProcedureParameters + sls.Description = &description } - case "storedProcedureTableTypeParameterName": + case "parameters": if v != nil { - var storedProcedureTableTypeParameterName interface{} - err = json.Unmarshal(*v, &storedProcedureTableTypeParameterName) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - ss.StoredProcedureTableTypeParameterName = storedProcedureTableTypeParameterName + sls.Parameters = parameters } - 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 ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) + sls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err } - ss.AdditionalProperties[k] = additionalProperties + sls.Type = typeVar } - case "writeBatchSize": + } + } + + return nil +} + +// SquareLinkedServiceTypeProperties square Service linked service properties. +type SquareLinkedServiceTypeProperties struct { + // Host - The URL of the Square instance. (i.e. mystore.mysquare.com) + Host interface{} `json:"host,omitempty"` + // ClientID - The client ID associated with your Square application. + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret associated with your Square application. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // RedirectURI - The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) + RedirectURI interface{} `json:"redirectUri,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 SquareLinkedServiceTypeProperties struct. +func (slstp *SquareLinkedServiceTypeProperties) 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 writeBatchSize interface{} - err = json.Unmarshal(*v, &writeBatchSize) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - ss.WriteBatchSize = writeBatchSize + slstp.Host = host } - case "writeBatchTimeout": + case "clientId": if v != nil { - var writeBatchTimeout interface{} - err = json.Unmarshal(*v, &writeBatchTimeout) + var clientID interface{} + err = json.Unmarshal(*v, &clientID) if err != nil { return err } - ss.WriteBatchTimeout = writeBatchTimeout + slstp.ClientID = clientID } - case "sinkRetryCount": + case "clientSecret": if v != nil { - var sinkRetryCount interface{} - err = json.Unmarshal(*v, &sinkRetryCount) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ss.SinkRetryCount = sinkRetryCount + slstp.ClientSecret = clientSecret } - case "sinkRetryWait": + case "redirectUri": if v != nil { - var sinkRetryWait interface{} - err = json.Unmarshal(*v, &sinkRetryWait) + var redirectURI interface{} + err = json.Unmarshal(*v, &redirectURI) if err != nil { return err } - ss.SinkRetryWait = sinkRetryWait + slstp.RedirectURI = redirectURI } - case "maxConcurrentConnections": + case "useEncryptedEndpoints": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + slstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "type": + case "useHostVerification": if v != nil { - var typeVar TypeBasicCopySink - err = json.Unmarshal(*v, &typeVar) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - ss.Type = typeVar + slstp.UseHostVerification = useHostVerification + } + case "usePeerVerification": + if v != nil { + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) + if err != nil { + return err + } + slstp.UsePeerVerification = usePeerVerification + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + slstp.EncryptedCredential = encryptedCredential } } } @@ -172896,469 +188827,504 @@ func (ss *SQLSink) UnmarshalJSON(body []byte) error { return nil } -// SQLSource a copy activity SQL source. -type SQLSource 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"` +// SquareObjectDataset square Service dataset. +type SquareObjectDataset 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLSource. -func (ss SQLSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSQLSource +// MarshalJSON is the custom marshaler for SquareObjectDataset. +func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSquareObject objectMap := make(map[string]interface{}) - if ss.SQLReaderQuery != nil { - objectMap["sqlReaderQuery"] = ss.SQLReaderQuery + if sod.GenericDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.GenericDatasetTypeProperties } - if ss.SQLReaderStoredProcedureName != nil { - objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName + if sod.Description != nil { + objectMap["description"] = sod.Description } - if ss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters + if sod.Structure != nil { + objectMap["structure"] = sod.Structure } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount + if sod.Schema != nil { + objectMap["schema"] = sod.Schema } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters } - if ss.Type != "" { - objectMap["type"] = ss.Type + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations } - for k, v := range ss.AdditionalProperties { + 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) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsVerticaSource() (*VerticaSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsXeroSource() (*XeroSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSquareSource() (*SquareSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return &sod, true +} + +// AsSparkObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSparkSource() (*SparkSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsJiraSource() (*JiraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHiveSource() (*HiveSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDrillSource() (*DrillSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOffice365Source() (*Office365Source, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsWebSource() (*WebSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsTeradataSource() (*TeradataSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsSybaseTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLMISource() (*SQLMISource, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLSource() (*SQLSource, bool) { - return &ss, true +// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false } -// AsRestSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsRestSource() (*RestSource, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsODataSource() (*ODataSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSybaseSource() (*SybaseSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMySQLSource() (*MySQLSource, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOdbcSource() (*OdbcSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDb2Source() (*Db2Source, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsInformixSource() (*InformixSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBinarySource() (*BinarySource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsBinaryDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsParquetSource() (*ParquetSource, bool) { +// AsJSONDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCopySource() (*CopySource, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsParquetDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLSource struct. -func (ss *SQLSource) UnmarshalJSON(body []byte) error { +// AsAvroDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true +} + +// UnmarshalJSON is the custom unmarshaler for SquareObjectDataset struct. +func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -173366,80 +189332,98 @@ func (ss *SQLSource) 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 genericDatasetTypeProperties GenericDatasetTypeProperties + err = json.Unmarshal(*v, &genericDatasetTypeProperties) if err != nil { return err } - ss.SQLReaderQuery = SQLReaderQuery + sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties } - 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 } - ss.SQLReaderStoredProcedureName = SQLReaderStoredProcedureName + if sod.AdditionalProperties == nil { + sod.AdditionalProperties = make(map[string]interface{}) + } + sod.AdditionalProperties[k] = additionalProperties } - case "storedProcedureParameters": + case "description": if v != nil { - var storedProcedureParameters map[string]*StoredProcedureParameter - err = json.Unmarshal(*v, &storedProcedureParameters) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - ss.StoredProcedureParameters = storedProcedureParameters + sod.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 ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) + sod.Structure = structure + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err } - ss.AdditionalProperties[k] = additionalProperties + sod.Schema = schema } - case "sourceRetryCount": + case "linkedServiceName": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + sod.LinkedServiceName = &linkedServiceName } - 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 } - ss.SourceRetryWait = sourceRetryWait + sod.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 } - ss.MaxConcurrentConnections = maxConcurrentConnections + sod.Annotations = &annotations + } + case "folder": + if v != nil { + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) + if err != nil { + return err + } + sod.Folder = &folder } case "type": if v != nil { - var typeVar TypeBasicCopySource + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - ss.Type = typeVar + sod.Type = typeVar } } } @@ -173447,514 +189431,494 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { return nil } -// SquareLinkedService square Service linked service. -type SquareLinkedService struct { - // SquareLinkedServiceTypeProperties - Square Service linked service properties. - *SquareLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SquareSource a copy activity Square Service source. +type SquareSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,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"` // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SquareLinkedService. -func (sls SquareLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeSquare +// MarshalJSON is the custom marshaler for SquareSource. +func (ss SquareSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSquareSource objectMap := make(map[string]interface{}) - if sls.SquareLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties + if ss.Query != nil { + objectMap["query"] = ss.Query } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout } - if sls.Description != nil { - objectMap["description"] = sls.Description + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount } - if sls.Parameters != nil { - objectMap["parameters"] = sls.Parameters + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait } - if sls.Annotations != nil { - objectMap["annotations"] = sls.Annotations + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if sls.Type != "" { - objectMap["type"] = sls.Type + if ss.Type != "" { + objectMap["type"] = ss.Type } - for k, v := range sls.AdditionalProperties { + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsOffice365Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return &sls, true -} - -// AsSparkLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsRestSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsODataSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsResponsysSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsSquareSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSquareSource() (*SquareSource, bool) { + return &ss, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsTeradataSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLMISource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSQLServerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLServerSource() (*SQLServerSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSapTableSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSapHanaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSapBwSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsSybaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsMySQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsOdbcSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDb2Source is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsInformixSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsTabularSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true +} + +// AsBinarySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsJSONSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsDelimitedTextSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsParquetSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAvroSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAvroSource() (*AvroSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsBasicCopySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true } -// UnmarshalJSON is the custom unmarshaler for SquareLinkedService struct. -func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SquareSource struct. +func (ss *SquareSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -173962,71 +189926,71 @@ func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "query": if v != nil { - var squareLinkedServiceTypeProperties SquareLinkedServiceTypeProperties - err = json.Unmarshal(*v, &squareLinkedServiceTypeProperties) + var query interface{} + err = json.Unmarshal(*v, &query) if err != nil { return err } - sls.SquareLinkedServiceTypeProperties = &squareLinkedServiceTypeProperties + ss.Query = query } - default: + case "queryTimeout": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - if sls.AdditionalProperties == nil { - sls.AdditionalProperties = make(map[string]interface{}) - } - sls.AdditionalProperties[k] = additionalProperties + ss.QueryTimeout = queryTimeout } - 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 } - sls.ConnectVia = &connectVia + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) + } + ss.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 } - sls.Description = &description + ss.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 } - sls.Parameters = parameters + ss.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 } - sls.Annotations = &annotations + ss.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicCopySource err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sls.Type = typeVar + ss.Type = typeVar } } } @@ -174034,575 +189998,1000 @@ func (sls *SquareLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SquareLinkedServiceTypeProperties square Service linked service properties. -type SquareLinkedServiceTypeProperties struct { - // Host - The URL of the Square instance. (i.e. mystore.mysquare.com) - Host interface{} `json:"host,omitempty"` - // ClientID - The client ID associated with your Square application. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with your Square application. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // RedirectURI - The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) - RedirectURI interface{} `json:"redirectUri,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 SquareLinkedServiceTypeProperties struct. -func (slstp *SquareLinkedServiceTypeProperties) 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 - } - slstp.Host = host - } - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - slstp.ClientID = clientID - } - case "clientSecret": - if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - slstp.ClientSecret = clientSecret - } - case "redirectUri": - if v != nil { - var redirectURI interface{} - err = json.Unmarshal(*v, &redirectURI) - if err != nil { - return err - } - slstp.RedirectURI = redirectURI - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - slstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "useHostVerification": - if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) - if err != nil { - return err - } - slstp.UseHostVerification = useHostVerification - } - case "usePeerVerification": - if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) - if err != nil { - return err - } - slstp.UsePeerVerification = usePeerVerification - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - slstp.EncryptedCredential = encryptedCredential - } - } - } - - 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"` } -// SquareObjectDataset square Service dataset. -type SquareObjectDataset 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. +// SsisEnvironment ssis environment. +type SsisEnvironment struct { + // FolderID - Folder id which contains environment. + FolderID *int64 `json:"folderId,omitempty"` + // Variables - Variable in environment + Variables *[]SsisVariable `json:"variables,omitempty"` + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata 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"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SquareObjectDataset. -func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeSquareObject +// MarshalJSON is the custom marshaler for SsisEnvironment. +func (se SsisEnvironment) MarshalJSON() ([]byte, error) { + se.Type = TypeEnvironment objectMap := make(map[string]interface{}) - if sod.GenericDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.GenericDatasetTypeProperties - } - if sod.Description != nil { - objectMap["description"] = sod.Description - } - if sod.Structure != nil { - objectMap["structure"] = sod.Structure - } - if sod.Schema != nil { - objectMap["schema"] = sod.Schema - } - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName + if se.FolderID != nil { + objectMap["folderId"] = se.FolderID } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters + if se.Variables != nil { + objectMap["variables"] = se.Variables } - if sod.Annotations != nil { - objectMap["annotations"] = sod.Annotations + if se.ID != nil { + objectMap["id"] = se.ID } - if sod.Folder != nil { - objectMap["folder"] = sod.Folder + if se.Name != nil { + objectMap["name"] = se.Name } - if sod.Type != "" { - objectMap["type"] = sod.Type + if se.Description != nil { + objectMap["description"] = se.Description } - for k, v := range sod.AdditionalProperties { - objectMap[k] = v + if se.Type != "" { + objectMap["type"] = se.Type } return json.Marshal(objectMap) } -// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { - return nil, false +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisEnvironment() (*SsisEnvironment, bool) { + return &se, true } -// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsDynamicsAXResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsResponsysObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. +func (se SsisEnvironment) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &se, true } -// AsVerticaTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { - return nil, false +// SsisEnvironmentReference ssis environment reference. +type SsisEnvironmentReference struct { + // ID - Environment reference id. + ID *int64 `json:"id,omitempty"` + // EnvironmentFolderName - Environment folder name. + EnvironmentFolderName *string `json:"environmentFolderName,omitempty"` + // EnvironmentName - Environment name. + EnvironmentName *string `json:"environmentName,omitempty"` + // ReferenceType - Reference type + ReferenceType *string `json:"referenceType,omitempty"` } -// AsNetezzaTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { - return nil, false +// SSISExecutionCredential SSIS package execution credential. +type SSISExecutionCredential 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"` } -// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false +// SSISExecutionParameter SSIS execution parameter. +type SSISExecutionParameter struct { + // Value - SSIS package execution parameter value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` } -// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false +// SsisFolder ssis folder. +type SsisFolder struct { + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsSquareObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return &sod, true +// MarshalJSON is the custom marshaler for SsisFolder. +func (sf SsisFolder) MarshalJSON() ([]byte, error) { + sf.Type = TypeFolder + objectMap := make(map[string]interface{}) + if sf.ID != nil { + objectMap["id"] = sf.ID + } + if sf.Name != nil { + objectMap["name"] = sf.Name + } + if sf.Description != nil { + objectMap["description"] = sf.Description + } + if sf.Type != "" { + objectMap["type"] = sf.Type + } + return json.Marshal(objectMap) } -// AsSparkObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisFolder() (*SsisFolder, bool) { + return &sf, true } -// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. +func (sf SsisFolder) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &sf, true } -// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false +// 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"` } -// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false +// 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) } -// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false +// 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 } -// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { - return nil, false +// 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"` } -// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { - return nil, false +// BasicSsisObjectMetadata SSIS object metadata. +type BasicSsisObjectMetadata interface { + AsSsisEnvironment() (*SsisEnvironment, bool) + AsSsisPackage() (*SsisPackage, bool) + AsSsisProject() (*SsisProject, bool) + AsSsisFolder() (*SsisFolder, bool) + AsSsisObjectMetadata() (*SsisObjectMetadata, bool) } -// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { - return nil, false +// SsisObjectMetadata SSIS object metadata. +type SsisObjectMetadata struct { + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false +func unmarshalBasicSsisObjectMetadata(body []byte) (BasicSsisObjectMetadata, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeEnvironment): + var se SsisEnvironment + err := json.Unmarshal(body, &se) + return se, err + case string(TypePackage): + var sp SsisPackage + err := json.Unmarshal(body, &sp) + return sp, err + case string(TypeProject): + var sp SsisProject + err := json.Unmarshal(body, &sp) + return sp, err + case string(TypeFolder): + var sf SsisFolder + err := json.Unmarshal(body, &sf) + return sf, err + default: + var som SsisObjectMetadata + err := json.Unmarshal(body, &som) + return som, err + } } +func unmarshalBasicSsisObjectMetadataArray(body []byte) ([]BasicSsisObjectMetadata, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false + somArray := make([]BasicSsisObjectMetadata, len(rawMessages)) + + for index, rawMessage := range rawMessages { + som, err := unmarshalBasicSsisObjectMetadata(*rawMessage) + if err != nil { + return nil, err + } + somArray[index] = som + } + return somArray, nil } -// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SsisObjectMetadata. +func (som SsisObjectMetadata) MarshalJSON() ([]byte, error) { + som.Type = TypeSsisObjectMetadata + objectMap := make(map[string]interface{}) + if som.ID != nil { + objectMap["id"] = som.ID + } + if som.Name != nil { + objectMap["name"] = som.Name + } + if som.Description != nil { + objectMap["description"] = som.Description + } + if som.Type != "" { + objectMap["type"] = som.Type + } + return json.Marshal(objectMap) } -// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { - return nil, false +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { + return &som, true } -// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. +func (som SsisObjectMetadata) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &som, true } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { - return nil, false +// SsisObjectMetadataListResponse a list of SSIS object metadata. +type SsisObjectMetadataListResponse struct { + autorest.Response `json:"-"` + // Value - List of SSIS object metadata. + Value *[]BasicSsisObjectMetadata `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for SsisObjectMetadataListResponse struct. +func (somlr *SsisObjectMetadataListResponse) 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 "value": + if v != nil { + value, err := unmarshalBasicSsisObjectMetadataArray(*v) + if err != nil { + return err + } + somlr.Value = &value + } + case "nextLink": + if v != nil { + var nextLink string + err = json.Unmarshal(*v, &nextLink) + if err != nil { + return err + } + somlr.NextLink = &nextLink + } + } + } + + return nil } -// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false +// SsisObjectMetadataStatusResponse the status of the operation. +type SsisObjectMetadataStatusResponse struct { + autorest.Response `json:"-"` + // Status - The status of the operation. + Status *string `json:"status,omitempty"` + // Name - The operation name. + Name *string `json:"name,omitempty"` + // Properties - The operation properties. + Properties *string `json:"properties,omitempty"` + // Error - The operation error message. + Error *string `json:"error,omitempty"` } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false +// SsisPackage ssis Package. +type SsisPackage struct { + // FolderID - Folder id which contains package. + FolderID *int64 `json:"folderId,omitempty"` + // ProjectVersion - Project version which contains package. + ProjectVersion *int64 `json:"projectVersion,omitempty"` + // ProjectID - Project id which contains package. + ProjectID *int64 `json:"projectId,omitempty"` + // Parameters - Parameters in package + Parameters *[]SsisParameter `json:"parameters,omitempty"` + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SsisPackage. +func (sp SsisPackage) MarshalJSON() ([]byte, error) { + sp.Type = TypePackage + objectMap := make(map[string]interface{}) + if sp.FolderID != nil { + objectMap["folderId"] = sp.FolderID + } + if sp.ProjectVersion != nil { + objectMap["projectVersion"] = sp.ProjectVersion + } + if sp.ProjectID != nil { + objectMap["projectId"] = sp.ProjectID + } + if sp.Parameters != nil { + objectMap["parameters"] = sp.Parameters + } + if sp.ID != nil { + objectMap["id"] = sp.ID + } + if sp.Name != nil { + objectMap["name"] = sp.Name + } + if sp.Description != nil { + objectMap["description"] = sp.Description + } + if sp.Type != "" { + objectMap["type"] = sp.Type + } + return json.Marshal(objectMap) } -// AsSapTableResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsRestResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { - return nil, false +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisPackage() (*SsisPackage, bool) { + return &sp, true } -// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisProject() (*SsisProject, bool) { return nil, false } -// AsSapOpenHubTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsSapHanaTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. +func (sp SsisPackage) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &sp, true } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false +// 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"` } -// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { - return nil, false +// 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) } -// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false +// 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 } -// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { - return nil, false +// 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"` } -// AsPostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { - return nil, false +// SsisParameter ssis parameter. +type SsisParameter struct { + // ID - Parameter id. + ID *int64 `json:"id,omitempty"` + // Name - Parameter name. + Name *string `json:"name,omitempty"` + // Description - Parameter description. + Description *string `json:"description,omitempty"` + // DataType - Parameter type. + DataType *string `json:"dataType,omitempty"` + // Required - Whether parameter is required. + Required *bool `json:"required,omitempty"` + // Sensitive - Whether parameter is sensitive. + Sensitive *bool `json:"sensitive,omitempty"` + // DesignDefaultValue - Design default value of parameter. + DesignDefaultValue *string `json:"designDefaultValue,omitempty"` + // DefaultValue - Default value of parameter. + DefaultValue *string `json:"defaultValue,omitempty"` + // SensitiveDefaultValue - Default sensitive value of parameter. + SensitiveDefaultValue *string `json:"sensitiveDefaultValue,omitempty"` + // ValueType - Parameter value type. + ValueType *string `json:"valueType,omitempty"` + // ValueSet - Parameter value set. + ValueSet *bool `json:"valueSet,omitempty"` + // Variable - Parameter reference variable. + Variable *string `json:"variable,omitempty"` } -// AsMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { - return nil, false +// SsisProject ssis project. +type SsisProject struct { + // FolderID - Folder id which contains project. + FolderID *int64 `json:"folderId,omitempty"` + // Version - Project version. + Version *int64 `json:"version,omitempty"` + // EnvironmentRefs - Environment reference in project + EnvironmentRefs *[]SsisEnvironmentReference `json:"environmentRefs,omitempty"` + // Parameters - Parameters in project + Parameters *[]SsisParameter `json:"parameters,omitempty"` + // ID - Metadata id. + ID *int64 `json:"id,omitempty"` + // Name - Metadata name. + Name *string `json:"name,omitempty"` + // Description - Metadata description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' + Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` } -// AsOdbcTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SsisProject. +func (sp SsisProject) MarshalJSON() ([]byte, error) { + sp.Type = TypeProject + objectMap := make(map[string]interface{}) + if sp.FolderID != nil { + objectMap["folderId"] = sp.FolderID + } + if sp.Version != nil { + objectMap["version"] = sp.Version + } + if sp.EnvironmentRefs != nil { + objectMap["environmentRefs"] = sp.EnvironmentRefs + } + if sp.Parameters != nil { + objectMap["parameters"] = sp.Parameters + } + if sp.ID != nil { + objectMap["id"] = sp.ID + } + if sp.Name != nil { + objectMap["name"] = sp.Name + } + if sp.Description != nil { + objectMap["description"] = sp.Description + } + if sp.Type != "" { + objectMap["type"] = sp.Type + } + return json.Marshal(objectMap) } -// AsInformixTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { +// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisEnvironment() (*SsisEnvironment, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisPackage() (*SsisPackage, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false +// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisProject() (*SsisProject, bool) { + return &sp, true } -// AsTeradataTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { +// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisFolder() (*SsisFolder, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false +// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. +func (sp SsisProject) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { + return &sp, true } -// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { - return nil, false +// SSISPropertyOverride SSIS property override. +type SSISPropertyOverride struct { + // Value - SSIS package property override value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` + // IsSensitive - Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true + IsSensitive *bool `json:"isSensitive,omitempty"` } -// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { - return nil, false +// SsisVariable ssis variable. +type SsisVariable struct { + // ID - Variable id. + ID *int64 `json:"id,omitempty"` + // Name - Variable name. + Name *string `json:"name,omitempty"` + // Description - Variable description. + Description *string `json:"description,omitempty"` + // DataType - Variable type. + DataType *string `json:"dataType,omitempty"` + // Sensitive - Whether variable is sensitive. + Sensitive *bool `json:"sensitive,omitempty"` + // Value - Variable value. + Value *string `json:"value,omitempty"` + // SensitiveValue - Variable sensitive value. + SensitiveValue *string `json:"sensitiveValue,omitempty"` } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false +// StagingSettings staging settings. +type StagingSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // LinkedServiceName - Staging linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Path - The path to storage for storing the interim data. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` + // EnableCompression - Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). + EnableCompression interface{} `json:"enableCompression,omitempty"` } -// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for StagingSettings. +func (ss StagingSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if ss.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ss.LinkedServiceName + } + if ss.Path != nil { + objectMap["path"] = ss.Path + } + if ss.EnableCompression != nil { + objectMap["enableCompression"] = ss.EnableCompression + } + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsOffice365Dataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOffice365Dataset() (*Office365Dataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for StagingSettings struct. +func (ss *StagingSettings) 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 ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) + } + ss.AdditionalProperties[k] = additionalProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ss.LinkedServiceName = &linkedServiceName + } + case "path": + if v != nil { + var pathVar interface{} + err = json.Unmarshal(*v, &pathVar) + if err != nil { + return err + } + ss.Path = pathVar + } + case "enableCompression": + if v != nil { + var enableCompression interface{} + err = json.Unmarshal(*v, &enableCompression) + if err != nil { + return err + } + ss.EnableCompression = enableCompression + } + } + } -// AsAzureBlobFSDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { - return nil, false + return nil } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return nil, false +// StoredProcedureParameter SQL stored procedure parameter. +type StoredProcedureParameter struct { + // Value - Stored procedure parameter value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` + // Type - Stored procedure parameter type. Possible values include: 'String', 'Int', 'Int64', 'Decimal', 'GUID', 'Boolean', 'Date' + Type StoredProcedureParameterType `json:"type,omitempty"` } -// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { - return nil, false +// StoreReadSettings connector read setting. +type StoreReadSettings 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"` + // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` } -// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for StoreReadSettings. +func (srs StoreReadSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if srs.Type != nil { + objectMap["type"] = srs.Type + } + if srs.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = srs.MaxConcurrentConnections + } + for k, v := range srs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for StoreReadSettings struct. +func (srs *StoreReadSettings) 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 srs.AdditionalProperties == nil { + srs.AdditionalProperties = make(map[string]interface{}) + } + srs.AdditionalProperties[k] = additionalProperties + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + srs.Type = &typeVar + } + case "maxConcurrentConnections": + if v != nil { + var maxConcurrentConnections interface{} + err = json.Unmarshal(*v, &maxConcurrentConnections) + if err != nil { + return err + } + srs.MaxConcurrentConnections = maxConcurrentConnections + } + } + } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false + return nil } -// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) { - return nil, false +// BasicStoreWriteSettings connector write settings. +type BasicStoreWriteSettings interface { + AsFileServerWriteSettings() (*FileServerWriteSettings, bool) + AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) + AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) + AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) + AsStoreWriteSettings() (*StoreWriteSettings, bool) } -// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return nil, false +// StoreWriteSettings connector write settings. +type StoreWriteSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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"` + // Type - Possible values include: 'TypeStoreWriteSettings', 'TypeFileServerWriteSettings', 'TypeAzureDataLakeStoreWriteSettings', 'TypeAzureBlobFSWriteSettings', 'TypeAzureBlobStorageWriteSettings' + Type TypeBasicStoreWriteSettings `json:"type,omitempty"` } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { - return nil, false -} +func unmarshalBasicStoreWriteSettings(body []byte) (BasicStoreWriteSettings, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsAzureSQLMITableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { - return nil, false + switch m["type"] { + case string(TypeFileServerWriteSettings): + var fsws FileServerWriteSettings + err := json.Unmarshal(body, &fsws) + return fsws, err + case string(TypeAzureDataLakeStoreWriteSettings): + var adlsws AzureDataLakeStoreWriteSettings + err := json.Unmarshal(body, &adlsws) + return adlsws, err + case string(TypeAzureBlobFSWriteSettings): + var abfws AzureBlobFSWriteSettings + err := json.Unmarshal(body, &abfws) + return abfws, err + case string(TypeAzureBlobStorageWriteSettings): + var absws AzureBlobStorageWriteSettings + err := json.Unmarshal(body, &absws) + return absws, err + default: + var sws StoreWriteSettings + err := json.Unmarshal(body, &sws) + return sws, err + } } +func unmarshalBasicStoreWriteSettingsArray(body []byte) ([]BasicStoreWriteSettings, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { - return nil, false -} + swsArray := make([]BasicStoreWriteSettings, len(rawMessages)) -// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { - return nil, false + for index, rawMessage := range rawMessages { + sws, err := unmarshalBasicStoreWriteSettings(*rawMessage) + if err != nil { + return nil, err + } + swsArray[index] = sws + } + return swsArray, nil } -// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for StoreWriteSettings. +func (sws StoreWriteSettings) MarshalJSON() ([]byte, error) { + sws.Type = TypeStoreWriteSettings + objectMap := make(map[string]interface{}) + if sws.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = sws.MaxConcurrentConnections + } + if sws.CopyBehavior != nil { + objectMap["copyBehavior"] = sws.CopyBehavior + } + if sws.Type != "" { + objectMap["type"] = sws.Type + } + for k, v := range sws.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsBinaryDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { +// AsFileServerWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsFileServerWriteSettings() (*FileServerWriteSettings, bool) { return nil, false } -// AsDelimitedTextDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { +// AsAzureDataLakeStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsAzureDataLakeStoreWriteSettings() (*AzureDataLakeStoreWriteSettings, bool) { return nil, false } -// AsParquetDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { +// AsAzureBlobFSWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsAzureBlobFSWriteSettings() (*AzureBlobFSWriteSettings, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobStorageWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsAzureBlobStorageWriteSettings() (*AzureBlobStorageWriteSettings, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDataset() (*Dataset, bool) { - return nil, false +// AsStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsStoreWriteSettings() (*StoreWriteSettings, bool) { + return &sws, true } -// AsBasicDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true +// AsBasicStoreWriteSettings is the BasicStoreWriteSettings implementation for StoreWriteSettings. +func (sws StoreWriteSettings) AsBasicStoreWriteSettings() (BasicStoreWriteSettings, bool) { + return &sws, true } -// UnmarshalJSON is the custom unmarshaler for SquareObjectDataset struct. -func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for StoreWriteSettings struct. +func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -174610,15 +190999,6 @@ func (sod *SquareObjectDataset) 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 - } - sod.GenericDatasetTypeProperties = &genericDatasetTypeProperties - } default: if v != nil { var additionalProperties interface{} @@ -174626,82 +191006,37 @@ func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sod.AdditionalProperties == nil { - sod.AdditionalProperties = make(map[string]interface{}) - } - sod.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - sod.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - sod.Structure = structure - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - 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 - } - sod.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err + if sws.AdditionalProperties == nil { + sws.AdditionalProperties = make(map[string]interface{}) } - sod.Parameters = parameters + sws.AdditionalProperties[k] = additionalProperties } - 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 } - sod.Annotations = &annotations + sws.MaxConcurrentConnections = maxConcurrentConnections } - case "folder": + case "copyBehavior": if v != nil { - var folder DatasetFolder - err = json.Unmarshal(*v, &folder) + var copyBehavior interface{} + err = json.Unmarshal(*v, ©Behavior) if err != nil { return err } - sod.Folder = &folder + sws.CopyBehavior = copyBehavior } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicStoreWriteSettings err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sod.Type = typeVar + sws.Type = typeVar } } } @@ -174709,459 +191044,531 @@ func (sod *SquareObjectDataset) UnmarshalJSON(body []byte) error { return nil } -// SquareSource a copy activity Square Service source. -type SquareSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// SubResource azure Data Factory nested resource, which belongs to a factory. +type SubResource 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"` + // Etag - READ-ONLY; Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` +} + +// SybaseLinkedService linked service for Sybase data source. +type SybaseLinkedService struct { + // SybaseLinkedServiceTypeProperties - Sybase linked service properties. + *SybaseLinkedServiceTypeProperties `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', '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"` + // 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', 'TypeAzureMariaDB', '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 SquareSource. -func (ss SquareSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSquareSource +// MarshalJSON is the custom marshaler for SybaseLinkedService. +func (sls SybaseLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSybase objectMap := make(map[string]interface{}) - if ss.Query != nil { - objectMap["query"] = ss.Query + if sls.SybaseLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SybaseLinkedServiceTypeProperties } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait + if sls.Description != nil { + objectMap["description"] = sls.Description } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters } - if ss.Type != "" { - objectMap["type"] = ss.Type + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations } - for k, v := range ss.AdditionalProperties { + if sls.Type != "" { + objectMap["type"] = sls.Type + } + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsSapTableLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsVerticaSource() (*VerticaSource, bool) { +// AsResponsysLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSquareSource() (*SquareSource, bool) { - return &ss, true +// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { + return nil, false } -// AsSparkSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSparkSource() (*SparkSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsJiraSource() (*JiraSource, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDrillSource() (*DrillSource, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOffice365Source() (*Office365Source, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsWebSource() (*WebSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsTeradataSource() (*TeradataSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsRestServiceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLMISource() (*SQLMISource, bool) { +// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLSource() (*SQLSource, bool) { +// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsRestSource() (*RestSource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapTableSource() (*SapTableSource, bool) { +// AsOffice365LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) { +// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsODataSource() (*ODataSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSybaseSource() (*SybaseSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMySQLSource() (*MySQLSource, bool) { +// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOdbcSource() (*OdbcSource, bool) { +// AsInformixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDb2Source() (*Db2Source, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsInformixSource() (*InformixSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return &sls, true +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBlobSource() (*BlobSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBinarySource() (*BinarySource, bool) { +// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsParquetSource() (*ParquetSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCopySource() (*CopySource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SquareSource struct. -func (ss *SquareSource) UnmarshalJSON(body []byte) error { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + 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 +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { + return nil, false +} + +// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for SybaseLinkedService struct. +func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -175169,62 +191576,166 @@ func (ss *SquareSource) 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 sybaseLinkedServiceTypeProperties SybaseLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sybaseLinkedServiceTypeProperties) + if err != nil { + return err + } + sls.SybaseLinkedServiceTypeProperties = &sybaseLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + 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 + } + sls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + 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 + } + 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 TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sls.Type = typeVar + } + } + } + + return nil +} + +// SybaseLinkedServiceTypeProperties sybase linked service properties. +type SybaseLinkedServiceTypeProperties 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"` + // Schema - Schema name for connection. Type: string (or Expression with resultType string). + Schema interface{} `json:"schema,omitempty"` + // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'SybaseAuthenticationTypeBasic', 'SybaseAuthenticationTypeWindows' + AuthenticationType SybaseAuthenticationType `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 SybaseLinkedServiceTypeProperties struct. +func (slstp *SybaseLinkedServiceTypeProperties) 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 + } + slstp.Server = server + } + case "database": + if v != nil { + var databaseVar interface{} + err = json.Unmarshal(*v, &databaseVar) if err != nil { return err } - ss.Query = query + slstp.Database = databaseVar } - 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 ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) - } - ss.AdditionalProperties[k] = additionalProperties + slstp.Schema = schema } - case "sourceRetryCount": + case "authenticationType": if v != nil { - var sourceRetryCount interface{} - err = json.Unmarshal(*v, &sourceRetryCount) + var authenticationType SybaseAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + slstp.AuthenticationType = authenticationType } - case "sourceRetryWait": + case "username": if v != nil { - var sourceRetryWait interface{} - err = json.Unmarshal(*v, &sourceRetryWait) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - ss.SourceRetryWait = sourceRetryWait + slstp.Username = username } - case "maxConcurrentConnections": + case "password": if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + slstp.Password = password } - case "type": + case "encryptedCredential": if v != nil { - var typeVar TypeBasicCopySource - err = json.Unmarshal(*v, &typeVar) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - ss.Type = typeVar + slstp.EncryptedCredential = encryptedCredential } } } @@ -175232,911 +191743,494 @@ 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. - FolderID *int64 `json:"folderId,omitempty"` - // Variables - Variable in environment - Variables *[]SsisVariable `json:"variables,omitempty"` - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// 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"` + // 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"` + // 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SsisEnvironment. -func (se SsisEnvironment) MarshalJSON() ([]byte, error) { - se.Type = TypeEnvironment +// MarshalJSON is the custom marshaler for SybaseSource. +func (ss SybaseSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSybaseSource objectMap := make(map[string]interface{}) - if se.FolderID != nil { - objectMap["folderId"] = se.FolderID + if ss.Query != nil { + objectMap["query"] = ss.Query } - if se.Variables != nil { - objectMap["variables"] = se.Variables + if ss.QueryTimeout != nil { + objectMap["queryTimeout"] = ss.QueryTimeout } - if se.ID != nil { - objectMap["id"] = se.ID + if ss.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ss.SourceRetryCount } - if se.Name != nil { - objectMap["name"] = se.Name + if ss.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ss.SourceRetryWait } - if se.Description != nil { - objectMap["description"] = se.Description + if ss.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections } - if se.Type != "" { - objectMap["type"] = se.Type + if ss.Type != "" { + objectMap["type"] = ss.Type + } + for k, v := range ss.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisEnvironment() (*SsisEnvironment, bool) { - return &se, true +// AsHTTPSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisPackage() (*SsisPackage, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisProject() (*SsisProject, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisFolder() (*SsisFolder, bool) { +// AsOffice365Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisEnvironment. -func (se SsisEnvironment) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &se, true +// AsMongoDbV2Source is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false } -// SsisEnvironmentReference ssis environment reference. -type SsisEnvironmentReference struct { - // ID - Environment reference id. - ID *int64 `json:"id,omitempty"` - // EnvironmentFolderName - Environment folder name. - EnvironmentFolderName *string `json:"environmentFolderName,omitempty"` - // EnvironmentName - Environment name. - EnvironmentName *string `json:"environmentName,omitempty"` - // ReferenceType - Reference type - ReferenceType *string `json:"referenceType,omitempty"` +// AsMongoDbSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false } -// SSISExecutionCredential SSIS package execution credential. -type SSISExecutionCredential 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"` +// AsWebSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsWebSource() (*WebSource, bool) { + return nil, false } -// SSISExecutionParameter SSIS execution parameter. -type SSISExecutionParameter struct { - // Value - SSIS package execution parameter value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` +// AsOracleSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOracleSource() (*OracleSource, bool) { + return nil, false } -// SsisFolder ssis folder. -type SsisFolder struct { - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// AsAzureDataExplorerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SsisFolder. -func (sf SsisFolder) MarshalJSON() ([]byte, error) { - sf.Type = TypeFolder - objectMap := make(map[string]interface{}) - if sf.ID != nil { - objectMap["id"] = sf.ID - } - if sf.Name != nil { - objectMap["name"] = sf.Name - } - if sf.Description != nil { - objectMap["description"] = sf.Description - } - if sf.Type != "" { - objectMap["type"] = sf.Type - } - return json.Marshal(objectMap) +// AsHdfsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisPackage() (*SsisPackage, bool) { +// AsRestSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisProject() (*SsisProject, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisFolder() (*SsisFolder, bool) { - return &sf, true +// AsODataSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsODataSource() (*ODataSource, bool) { + return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisFolder. -func (sf SsisFolder) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &sf, true +// AsRelationalSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false } -// 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"` +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { + return nil, false } -// 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) +// AsDynamicsCrmSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { + return nil, false } -// 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 - } - } - } +// AsDynamicsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} - return nil +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false } -// 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"` +// AsBlobSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBlobSource() (*BlobSource, bool) { + return nil, false } -// BasicSsisObjectMetadata SSIS object metadata. -type BasicSsisObjectMetadata interface { - AsSsisEnvironment() (*SsisEnvironment, bool) - AsSsisPackage() (*SsisPackage, bool) - AsSsisProject() (*SsisProject, bool) - AsSsisFolder() (*SsisFolder, bool) - AsSsisObjectMetadata() (*SsisObjectMetadata, bool) +// AsAmazonRedshiftSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// SsisObjectMetadata SSIS object metadata. -type SsisObjectMetadata struct { - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// AsGoogleAdWordsSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { + return nil, false } -func unmarshalBasicSsisObjectMetadata(body []byte) (BasicSsisObjectMetadata, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsOracleServiceCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { + return nil, false +} - switch m["type"] { - case string(TypeEnvironment): - var se SsisEnvironment - err := json.Unmarshal(body, &se) - return se, err - case string(TypePackage): - var sp SsisPackage - err := json.Unmarshal(body, &sp) - return sp, err - case string(TypeProject): - var sp SsisProject - err := json.Unmarshal(body, &sp) - return sp, err - case string(TypeFolder): - var sf SsisFolder - err := json.Unmarshal(body, &sf) - return sf, err - default: - var som SsisObjectMetadata - err := json.Unmarshal(body, &som) - return som, err - } +// AsDynamicsAXSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { + return nil, false } -func unmarshalBasicSsisObjectMetadataArray(body []byte) ([]BasicSsisObjectMetadata, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - somArray := make([]BasicSsisObjectMetadata, len(rawMessages)) +// AsResponsysSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsResponsysSource() (*ResponsysSource, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - som, err := unmarshalBasicSsisObjectMetadata(*rawMessage) - if err != nil { - return nil, err - } - somArray[index] = som - } - return somArray, nil +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SsisObjectMetadata. -func (som SsisObjectMetadata) MarshalJSON() ([]byte, error) { - som.Type = TypeSsisObjectMetadata - objectMap := make(map[string]interface{}) - if som.ID != nil { - objectMap["id"] = som.ID - } - if som.Name != nil { - objectMap["name"] = som.Name - } - if som.Description != nil { - objectMap["description"] = som.Description - } - if som.Type != "" { - objectMap["type"] = som.Type - } - return json.Marshal(objectMap) +// AsVerticaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisPackage() (*SsisPackage, bool) { +// AsZohoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisProject() (*SsisProject, bool) { +// AsXeroSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisFolder() (*SsisFolder, bool) { +// AsSquareSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { - return &som, true +// AsSparkSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisObjectMetadata. -func (som SsisObjectMetadata) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &som, true +// AsShopifySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false } -// SsisObjectMetadataListResponse a list of SSIS object metadata. -type SsisObjectMetadataListResponse struct { - autorest.Response `json:"-"` - // Value - List of SSIS object metadata. - Value *[]BasicSsisObjectMetadata `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsServiceNowSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SsisObjectMetadataListResponse struct. -func (somlr *SsisObjectMetadataListResponse) 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 "value": - if v != nil { - value, err := unmarshalBasicSsisObjectMetadataArray(*v) - if err != nil { - return err - } - somlr.Value = &value - } - case "nextLink": - if v != nil { - var nextLink string - err = json.Unmarshal(*v, &nextLink) - if err != nil { - return err - } - somlr.NextLink = &nextLink - } - } - } +// AsQuickBooksSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} - return nil +// AsPrestoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// SsisObjectMetadataStatusResponse the status of the operation. -type SsisObjectMetadataStatusResponse struct { - autorest.Response `json:"-"` - // Status - The status of the operation. - Status *string `json:"status,omitempty"` - // Name - The operation name. - Name *string `json:"name,omitempty"` - // Properties - The operation properties. - Properties *string `json:"properties,omitempty"` - // Error - The operation error message. - Error *string `json:"error,omitempty"` +// AsPhoenixSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// SsisPackage ssis Package. -type SsisPackage struct { - // FolderID - Folder id which contains package. - FolderID *int64 `json:"folderId,omitempty"` - // ProjectVersion - Project version which contains package. - ProjectVersion *int64 `json:"projectVersion,omitempty"` - // ProjectID - Project id which contains package. - ProjectID *int64 `json:"projectId,omitempty"` - // Parameters - Parameters in package - Parameters *[]SsisParameter `json:"parameters,omitempty"` - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// AsPaypalSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SsisPackage. -func (sp SsisPackage) MarshalJSON() ([]byte, error) { - sp.Type = TypePackage - objectMap := make(map[string]interface{}) - if sp.FolderID != nil { - objectMap["folderId"] = sp.FolderID - } - if sp.ProjectVersion != nil { - objectMap["projectVersion"] = sp.ProjectVersion - } - if sp.ProjectID != nil { - objectMap["projectId"] = sp.ProjectID - } - if sp.Parameters != nil { - objectMap["parameters"] = sp.Parameters - } - if sp.ID != nil { - objectMap["id"] = sp.ID - } - if sp.Name != nil { - objectMap["name"] = sp.Name - } - if sp.Description != nil { - objectMap["description"] = sp.Description - } - if sp.Type != "" { - objectMap["type"] = sp.Type - } - return json.Marshal(objectMap) +// AsMarketoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisPackage() (*SsisPackage, bool) { - return &sp, true +// AsMariaDBSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisProject() (*SsisProject, bool) { +// AsMagentoSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisFolder() (*SsisFolder, bool) { +// AsJiraSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsImpalaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisPackage. -func (sp SsisPackage) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &sp, true +// AsHubspotSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -// 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"` +// AsHiveSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// 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) +// AsHBaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// 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 - } - } - } +// AsGreenplumSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} - return nil +// AsGoogleBigQuerySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false } -// 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"` +// AsEloquaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false } -// SsisParameter ssis parameter. -type SsisParameter struct { - // ID - Parameter id. - ID *int64 `json:"id,omitempty"` - // Name - Parameter name. - Name *string `json:"name,omitempty"` - // Description - Parameter description. - Description *string `json:"description,omitempty"` - // DataType - Parameter type. - DataType *string `json:"dataType,omitempty"` - // Required - Whether parameter is required. - Required *bool `json:"required,omitempty"` - // Sensitive - Whether parameter is sensitive. - Sensitive *bool `json:"sensitive,omitempty"` - // DesignDefaultValue - Design default value of parameter. - DesignDefaultValue *string `json:"designDefaultValue,omitempty"` - // DefaultValue - Default value of parameter. - DefaultValue *string `json:"defaultValue,omitempty"` - // SensitiveDefaultValue - Default sensitive value of parameter. - SensitiveDefaultValue *string `json:"sensitiveDefaultValue,omitempty"` - // ValueType - Parameter value type. - ValueType *string `json:"valueType,omitempty"` - // ValueSet - Parameter value set. - ValueSet *bool `json:"valueSet,omitempty"` - // Variable - Parameter reference variable. - Variable *string `json:"variable,omitempty"` +// AsDrillSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDrillSource() (*DrillSource, bool) { + return nil, false } -// SsisProject ssis project. -type SsisProject struct { - // FolderID - Folder id which contains project. - FolderID *int64 `json:"folderId,omitempty"` - // Version - Project version. - Version *int64 `json:"version,omitempty"` - // EnvironmentRefs - Environment reference in project - EnvironmentRefs *[]SsisEnvironmentReference `json:"environmentRefs,omitempty"` - // Parameters - Parameters in project - Parameters *[]SsisParameter `json:"parameters,omitempty"` - // ID - Metadata id. - ID *int64 `json:"id,omitempty"` - // Name - Metadata name. - Name *string `json:"name,omitempty"` - // Description - Metadata description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeSsisObjectMetadata', 'TypeEnvironment', 'TypePackage', 'TypeProject', 'TypeFolder' - Type TypeBasicSsisObjectMetadata `json:"type,omitempty"` +// AsCouchbaseSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SsisProject. -func (sp SsisProject) MarshalJSON() ([]byte, error) { - sp.Type = TypeProject - objectMap := make(map[string]interface{}) - if sp.FolderID != nil { - objectMap["folderId"] = sp.FolderID - } - if sp.Version != nil { - objectMap["version"] = sp.Version - } - if sp.EnvironmentRefs != nil { - objectMap["environmentRefs"] = sp.EnvironmentRefs - } - if sp.Parameters != nil { - objectMap["parameters"] = sp.Parameters - } - if sp.ID != nil { - objectMap["id"] = sp.ID - } - if sp.Name != nil { - objectMap["name"] = sp.Name - } - if sp.Description != nil { - objectMap["description"] = sp.Description - } - if sp.Type != "" { - objectMap["type"] = sp.Type - } - return json.Marshal(objectMap) +// AsConcurSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false } -// AsSsisEnvironment is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisEnvironment() (*SsisEnvironment, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSsisPackage is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisPackage() (*SsisPackage, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSsisProject is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisProject() (*SsisProject, bool) { - return &sp, true +// AsCassandraSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false } -// AsSsisFolder is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisFolder() (*SsisFolder, bool) { +// AsTeradataSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsSsisObjectMetadata() (*SsisObjectMetadata, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsBasicSsisObjectMetadata is the BasicSsisObjectMetadata implementation for SsisProject. -func (sp SsisProject) AsBasicSsisObjectMetadata() (BasicSsisObjectMetadata, bool) { - return &sp, true +// AsSQLDWSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false } -// SSISPropertyOverride SSIS property override. -type SSISPropertyOverride struct { - // Value - SSIS package property override value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` - // IsSensitive - Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true - IsSensitive *bool `json:"isSensitive,omitempty"` +// AsSQLMISource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLMISource() (*SQLMISource, bool) { + return nil, false } -// SsisVariable ssis variable. -type SsisVariable struct { - // ID - Variable id. - ID *int64 `json:"id,omitempty"` - // Name - Variable name. - Name *string `json:"name,omitempty"` - // Description - Variable description. - Description *string `json:"description,omitempty"` - // DataType - Variable type. - DataType *string `json:"dataType,omitempty"` - // Sensitive - Whether variable is sensitive. - Sensitive *bool `json:"sensitive,omitempty"` - // Value - Variable value. - Value *string `json:"value,omitempty"` - // SensitiveValue - Variable sensitive value. - SensitiveValue *string `json:"sensitiveValue,omitempty"` +// AsAzureSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { + return nil, false } -// StagingSettings staging settings. -type StagingSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // LinkedServiceName - Staging linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Path - The path to storage for storing the interim data. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` - // EnableCompression - Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). - EnableCompression interface{} `json:"enableCompression,omitempty"` +// AsSQLServerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for StagingSettings. -func (ss StagingSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if ss.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ss.LinkedServiceName - } - if ss.Path != nil { - objectMap["path"] = ss.Path - } - if ss.EnableCompression != nil { - objectMap["enableCompression"] = ss.EnableCompression - } - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSQLSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSQLSource() (*SQLSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for StagingSettings struct. -func (ss *StagingSettings) 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 ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) - } - ss.AdditionalProperties[k] = additionalProperties - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - ss.LinkedServiceName = &linkedServiceName - } - case "path": - if v != nil { - var pathVar interface{} - err = json.Unmarshal(*v, &pathVar) - if err != nil { - return err - } - ss.Path = pathVar - } - case "enableCompression": - if v != nil { - var enableCompression interface{} - err = json.Unmarshal(*v, &enableCompression) - if err != nil { - return err - } - ss.EnableCompression = enableCompression - } - } - } +// AsSapTableSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapTableSource() (*SapTableSource, bool) { + return nil, false +} - return nil +// AsSapOpenHubSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { + return nil, false } -// StoredProcedureParameter SQL stored procedure parameter. -type StoredProcedureParameter struct { - // Value - Stored procedure parameter value. Type: string (or Expression with resultType string). - Value interface{} `json:"value,omitempty"` - // Type - Stored procedure parameter type. Possible values include: 'String', 'Int', 'Int64', 'Decimal', 'GUID', 'Boolean', 'Date' - Type StoredProcedureParameterType `json:"type,omitempty"` +// AsSapHanaSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapHanaSource() (*SapHanaSource, bool) { + return nil, false } -// StoreReadSettings connector read setting. -type StoreReadSettings 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"` - // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). - MaxConcurrentConnections interface{} `json:"maxConcurrentConnections,omitempty"` +// AsSapEccSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for StoreReadSettings. -func (srs StoreReadSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if srs.Type != nil { - objectMap["type"] = srs.Type - } - if srs.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = srs.MaxConcurrentConnections - } - for k, v := range srs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for StoreReadSettings struct. -func (srs *StoreReadSettings) 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 srs.AdditionalProperties == nil { - srs.AdditionalProperties = make(map[string]interface{}) - } - srs.AdditionalProperties[k] = additionalProperties - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - srs.Type = &typeVar - } - case "maxConcurrentConnections": - if v != nil { - var maxConcurrentConnections interface{} - err = json.Unmarshal(*v, &maxConcurrentConnections) - if err != nil { - return err - } - srs.MaxConcurrentConnections = maxConcurrentConnections - } - } - } +// AsSalesforceSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsSalesforceSource() (*SalesforceSource, 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 +} + +// 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 +} + +// AsInformixSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsInformixSource() (*InformixSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsTabularSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsTabularSource() (*TabularSource, bool) { + return nil, false +} + +// AsBasicTabularSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ss, true +} + +// AsBinarySource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsBinarySource() (*BinarySource, bool) { + return nil, false +} - return nil +// AsJSONSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsJSONSource() (*JSONSource, bool) { + return nil, false } -// StoreWriteSettings connector write settings. -type StoreWriteSettings 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"` +// AsDelimitedTextSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for StoreWriteSettings. -func (sws StoreWriteSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if sws.Type != nil { - objectMap["type"] = sws.Type - } - if sws.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = sws.MaxConcurrentConnections - } - if sws.CopyBehavior != nil { - objectMap["copyBehavior"] = sws.CopyBehavior - } - for k, v := range sws.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsParquetSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for StoreWriteSettings struct. -func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { +// AsAvroSource is the BasicCopySource implementation for SybaseSource. +func (ss SybaseSource) AsAvroSource() (*AvroSource, 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 { @@ -176144,6 +192238,24 @@ func (sws *StoreWriteSettings) 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 + } + ss.Query = query + } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ss.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -176151,19 +192263,28 @@ func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sws.AdditionalProperties == nil { - sws.AdditionalProperties = make(map[string]interface{}) + if ss.AdditionalProperties == nil { + ss.AdditionalProperties = make(map[string]interface{}) } - sws.AdditionalProperties[k] = additionalProperties + ss.AdditionalProperties[k] = additionalProperties } - case "type": + case "sourceRetryCount": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var sourceRetryCount interface{} + err = json.Unmarshal(*v, &sourceRetryCount) if err != nil { return err } - sws.Type = &typeVar + 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 { @@ -176172,16 +192293,16 @@ func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { if err != nil { return err } - sws.MaxConcurrentConnections = maxConcurrentConnections + ss.MaxConcurrentConnections = maxConcurrentConnections } - case "copyBehavior": + case "type": if v != nil { - var copyBehavior interface{} - err = json.Unmarshal(*v, ©Behavior) + var typeVar TypeBasicCopySource + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sws.CopyBehavior = copyBehavior + ss.Type = typeVar } } } @@ -176189,526 +192310,504 @@ func (sws *StoreWriteSettings) UnmarshalJSON(body []byte) error { return nil } -// SubResource azure Data Factory nested resource, which belongs to a factory. -type SubResource 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"` - // Etag - READ-ONLY; Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` -} - -// SybaseLinkedService linked service for Sybase data source. -type SybaseLinkedService struct { - // SybaseLinkedServiceTypeProperties - Sybase linked service properties. - *SybaseLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// 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:""` - // 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', '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"` + // 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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SybaseLinkedService. -func (sls SybaseLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeSybase +// MarshalJSON is the custom marshaler for SybaseTableDataset. +func (std SybaseTableDataset) MarshalJSON() ([]byte, error) { + std.Type = TypeSybaseTable objectMap := make(map[string]interface{}) - if sls.SybaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SybaseLinkedServiceTypeProperties + if std.SybaseTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = std.SybaseTableDatasetTypeProperties } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if std.Description != nil { + objectMap["description"] = std.Description } - if sls.Description != nil { - objectMap["description"] = sls.Description + if std.Structure != nil { + objectMap["structure"] = std.Structure } - if sls.Parameters != nil { - objectMap["parameters"] = sls.Parameters + if std.Schema != nil { + objectMap["schema"] = std.Schema } - if sls.Annotations != nil { - objectMap["annotations"] = sls.Annotations + if std.LinkedServiceName != nil { + objectMap["linkedServiceName"] = std.LinkedServiceName } - if sls.Type != "" { - objectMap["type"] = sls.Type + if std.Parameters != nil { + objectMap["parameters"] = std.Parameters } - for k, v := range sls.AdditionalProperties { + 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) } -// AsAzureFunctionLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureFunctionLinkedService() (*AzureFunctionLinkedService, bool) { - return nil, false -} - -// AsAzureDataExplorerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataExplorerLinkedService() (*AzureDataExplorerLinkedService, bool) { - return nil, false -} - -// AsSapTableLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapTableLinkedService() (*SapTableLinkedService, bool) { - return nil, false -} - -// AsGoogleAdWordsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGoogleAdWordsLinkedService() (*GoogleAdWordsLinkedService, bool) { - return nil, false -} - -// AsOracleServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOracleServiceCloudLinkedService() (*OracleServiceCloudLinkedService, bool) { +// AsGoogleAdWordsObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGoogleAdWordsObjectDataset() (*GoogleAdWordsObjectDataset, bool) { return nil, false } -// AsDynamicsAXLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsAXLinkedService() (*DynamicsAXLinkedService, bool) { +// AsAzureDataExplorerTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureDataExplorerTableDataset() (*AzureDataExplorerTableDataset, bool) { return nil, false } -// AsResponsysLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsResponsysLinkedService() (*ResponsysLinkedService, bool) { +// AsOracleServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOracleServiceCloudObjectDataset() (*OracleServiceCloudObjectDataset, bool) { return nil, false } -// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { +// AsDynamicsAXResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsAXResourceDataset() (*DynamicsAXResourceDataset, bool) { return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsResponsysObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsResponsysObjectDataset() (*ResponsysObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsSalesforceMarketingCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceMarketingCloudObjectDataset() (*SalesforceMarketingCloudObjectDataset, bool) { return nil, false } -// AsSalesforceMarketingCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceMarketingCloudLinkedService() (*SalesforceMarketingCloudLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsNetezzaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsVerticaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapTableResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapTableResourceDataset() (*SapTableResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsRestResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsRestResourceDataset() (*RestResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSapOpenHubTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapOpenHubTableDataset() (*SapOpenHubTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSapHanaTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapHanaTableDataset() (*SapHanaTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRestServiceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsRestServiceLinkedService() (*RestServiceLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapOpenHubLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapOpenHubLinkedService() (*SapOpenHubLinkedService, bool) { +// AsSapBwCubeDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSapBwCubeDataset() (*SapBwCubeDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false +// AsSybaseTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSybaseTableDataset() (*SybaseTableDataset, bool) { + return &std, true } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSalesforceServiceCloudObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceServiceCloudObjectDataset() (*SalesforceServiceCloudObjectDataset, bool) { return nil, false } -// AsSalesforceServiceCloudLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceServiceCloudLinkedService() (*SalesforceServiceCloudLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMicrosoftAccessTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMicrosoftAccessTableDataset() (*MicrosoftAccessTableDataset, bool) { return nil, false } -// AsOffice365LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOffice365LinkedService() (*Office365LinkedService, bool) { +// AsPostgreSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsPostgreSQLTableDataset() (*PostgreSQLTableDataset, bool) { return nil, false } -// AsAzureBlobFSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBlobFSLinkedService() (*AzureBlobFSLinkedService, bool) { +// AsMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMySQLTableDataset() (*MySQLTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsOdbcTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOdbcTableDataset() (*OdbcTableDataset, bool) { return nil, false } -// AsCosmosDbMongoDbAPILinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCosmosDbMongoDbAPILinkedService() (*CosmosDbMongoDbAPILinkedService, bool) { +// AsInformixTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsInformixTableDataset() (*InformixTableDataset, bool) { return nil, false } -// AsMongoDbV2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMongoDbV2LinkedService() (*MongoDbV2LinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDb2TableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsTeradataTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsTeradataTableDataset() (*TeradataTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMicrosoftAccessLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMicrosoftAccessLinkedService() (*MicrosoftAccessLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsInformixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsInformixLinkedService() (*InformixLinkedService, bool) { +// AsCosmosDbMongoDbAPICollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCosmosDbMongoDbAPICollectionDataset() (*CosmosDbMongoDbAPICollectionDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMongoDbV2CollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMongoDbV2CollectionDataset() (*MongoDbV2CollectionDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOffice365Dataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsOffice365Dataset() (*Office365Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return &sls, true -} - -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureBlobFSDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureBlobFSDataset() (*AzureBlobFSDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCommonDataServiceForAppsEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCommonDataServiceForAppsEntityDataset() (*CommonDataServiceForAppsEntityDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsDynamicsCrmEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsCrmEntityDataset() (*DynamicsCrmEntityDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCommonDataServiceForAppsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCommonDataServiceForAppsLinkedService() (*CommonDataServiceForAppsLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsDynamicsCrmLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsCrmLinkedService() (*DynamicsCrmLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureSQLMITableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLMITableDataset() (*AzureSQLMITableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLMILinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLMILinkedService() (*AzureSQLMILinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBinaryDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsJSONDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsJSONDataset() (*JSONDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDelimitedTextDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false } -// AsAzureTableStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureTableStorageLinkedService() (*AzureTableStorageLinkedService, bool) { +// AsParquetDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } -// AsAzureBlobStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBlobStorageLinkedService() (*AzureBlobStorageLinkedService, bool) { +// AsAvroDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAvroDataset() (*AvroDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsBasicDataset is the BasicDataset implementation for SybaseTableDataset. +func (std SybaseTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &std, true } -// UnmarshalJSON is the custom unmarshaler for SybaseLinkedService struct. -func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { +// 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 { @@ -176718,12 +192817,12 @@ func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sybaseLinkedServiceTypeProperties SybaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sybaseLinkedServiceTypeProperties) + var sybaseTableDatasetTypeProperties SybaseTableDatasetTypeProperties + err = json.Unmarshal(*v, &sybaseTableDatasetTypeProperties) if err != nil { return err } - sls.SybaseLinkedServiceTypeProperties = &sybaseLinkedServiceTypeProperties + std.SybaseTableDatasetTypeProperties = &sybaseTableDatasetTypeProperties } default: if v != nil { @@ -176732,19 +192831,10 @@ func (sls *SybaseLinkedService) 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 std.AdditionalProperties == nil { + std.AdditionalProperties = make(map[string]interface{}) } - sls.ConnectVia = &connectVia + std.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -176753,129 +192843,70 @@ func (sls *SybaseLinkedService) 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 - } - 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 TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sls.Type = typeVar + std.Description = &description } - } - } - - return nil -} - -// SybaseLinkedServiceTypeProperties sybase linked service properties. -type SybaseLinkedServiceTypeProperties 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"` - // Schema - Schema name for connection. Type: string (or Expression with resultType string). - Schema interface{} `json:"schema,omitempty"` - // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'SybaseAuthenticationTypeBasic', 'SybaseAuthenticationTypeWindows' - AuthenticationType SybaseAuthenticationType `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 SybaseLinkedServiceTypeProperties struct. -func (slstp *SybaseLinkedServiceTypeProperties) 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": + case "structure": if v != nil { - var server interface{} - err = json.Unmarshal(*v, &server) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - slstp.Server = server + std.Structure = structure } - case "database": + case "schema": if v != nil { - var databaseVar interface{} - err = json.Unmarshal(*v, &databaseVar) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - slstp.Database = databaseVar + std.Schema = schema } - case "schema": + case "linkedServiceName": if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - slstp.Schema = schema + std.LinkedServiceName = &linkedServiceName } - case "authenticationType": + case "parameters": if v != nil { - var authenticationType SybaseAuthenticationType - err = json.Unmarshal(*v, &authenticationType) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - slstp.AuthenticationType = authenticationType + std.Parameters = parameters } - case "username": + case "annotations": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - slstp.Username = username + std.Annotations = &annotations } - case "password": + case "folder": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var folder DatasetFolder + err = json.Unmarshal(*v, &folder) if err != nil { return err } - slstp.Password = password + std.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 + std.Type = typeVar } } } @@ -176883,10 +192914,78 @@ 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"` +// 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"` +} + +// BasicTabularSource copy activity sources of tabular type. +type BasicTabularSource 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) + AsAzureMariaDBSource() (*AzureMariaDBSource, 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) + AsCassandraSource() (*CassandraSource, bool) + AsTeradataSource() (*TeradataSource, bool) + AsAzureMySQLSource() (*AzureMySQLSource, bool) + AsSQLDWSource() (*SQLDWSource, bool) + AsSQLMISource() (*SQLMISource, bool) + AsAzureSQLSource() (*AzureSQLSource, bool) + AsSQLServerSource() (*SQLServerSource, bool) + AsSQLSource() (*SQLSource, bool) + AsSapTableSource() (*SapTableSource, bool) + AsSapOpenHubSource() (*SapOpenHubSource, bool) + AsSapHanaSource() (*SapHanaSource, bool) + AsSapEccSource() (*SapEccSource, bool) + AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) + AsSalesforceSource() (*SalesforceSource, bool) + AsSapBwSource() (*SapBwSource, bool) + AsSybaseSource() (*SybaseSource, bool) + AsPostgreSQLSource() (*PostgreSQLSource, bool) + AsMySQLSource() (*MySQLSource, bool) + AsOdbcSource() (*OdbcSource, bool) + AsDb2Source() (*Db2Source, bool) + AsInformixSource() (*InformixSource, bool) + AsAzureTableSource() (*AzureTableSource, bool) + AsTabularSource() (*TabularSource, bool) +} + +// TabularSource copy activity sources of tabular type. +type TabularSource struct { + // 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"` // 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). @@ -176895,447 +192994,738 @@ 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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SybaseSource. -func (ss SybaseSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSybaseSource +func unmarshalBasicTabularSource(body []byte) (BasicTabularSource, 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(TypeAzureMariaDBSource): + var amds AzureMariaDBSource + err := json.Unmarshal(body, &amds) + return amds, 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(TypeCassandraSource): + var cs CassandraSource + err := json.Unmarshal(body, &cs) + return cs, err + case string(TypeTeradataSource): + var ts TeradataSource + err := json.Unmarshal(body, &ts) + return ts, err + case string(TypeAzureMySQLSource): + var amss AzureMySQLSource + err := json.Unmarshal(body, &amss) + return amss, 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(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(TypeSapBwSource): + var sbs SapBwSource + err := json.Unmarshal(body, &sbs) + return sbs, 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(TypeInformixSource): + var is InformixSource + err := json.Unmarshal(body, &is) + return is, err + case string(TypeAzureTableSource): + var ats AzureTableSource + err := json.Unmarshal(body, &ats) + return ats, err + default: + var ts TabularSource + err := json.Unmarshal(body, &ts) + return ts, err + } +} +func unmarshalBasicTabularSourceArray(body []byte) ([]BasicTabularSource, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + tsArray := make([]BasicTabularSource, len(rawMessages)) + + for index, rawMessage := range rawMessages { + ts, err := unmarshalBasicTabularSource(*rawMessage) + if err != nil { + return nil, err + } + tsArray[index] = ts + } + return tsArray, nil +} + +// MarshalJSON is the custom marshaler for TabularSource. +func (ts TabularSource) MarshalJSON() ([]byte, error) { + ts.Type = TypeTabularSource objectMap := make(map[string]interface{}) - if ss.Query != nil { - objectMap["query"] = ss.Query + if ts.QueryTimeout != nil { + objectMap["queryTimeout"] = ts.QueryTimeout } - if ss.SourceRetryCount != nil { - objectMap["sourceRetryCount"] = ss.SourceRetryCount + if ts.SourceRetryCount != nil { + objectMap["sourceRetryCount"] = ts.SourceRetryCount } - if ss.SourceRetryWait != nil { - objectMap["sourceRetryWait"] = ss.SourceRetryWait + if ts.SourceRetryWait != nil { + objectMap["sourceRetryWait"] = ts.SourceRetryWait } - if ss.MaxConcurrentConnections != nil { - objectMap["maxConcurrentConnections"] = ss.MaxConcurrentConnections + if ts.MaxConcurrentConnections != nil { + objectMap["maxConcurrentConnections"] = ts.MaxConcurrentConnections } - if ss.Type != "" { - objectMap["type"] = ss.Type + if ts.Type != "" { + objectMap["type"] = ts.Type } - for k, v := range ss.AdditionalProperties { + for k, v := range ts.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsGoogleAdWordsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { +// AsAzureBlobFSSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { return nil, false } -// AsOracleServiceCloudSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsDynamicsAXSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { +// AsOffice365Source is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOffice365Source() (*Office365Source, bool) { return nil, false } -// AsResponsysSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsResponsysSource() (*ResponsysSource, bool) { +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { return nil, false } -// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { +// AsMongoDbV2Source is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { return nil, false } -// AsVerticaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsVerticaSource() (*VerticaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsNetezzaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsNetezzaSource() (*NetezzaSource, bool) { +// AsWebSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsZohoSource() (*ZohoSource, bool) { +// AsOracleSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureDataExplorerSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSquareSource() (*SquareSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSparkSource() (*SparkSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsShopifySource() (*ShopifySource, bool) { +// AsRestSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsRestSource() (*RestSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsODataSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsODataSource() (*ODataSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPrestoSource() (*PrestoSource, bool) { +// AsMicrosoftAccessSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPaypalSource() (*PaypalSource, bool) { +// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMarketoSource() (*MarketoSource, bool) { +// AsDynamicsCrmSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMagentoSource() (*MagentoSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsJiraSource() (*JiraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHubspotSource() (*HubspotSource, bool) { +// AsGoogleAdWordsSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsGoogleAdWordsSource() (*GoogleAdWordsSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHiveSource() (*HiveSource, bool) { +// AsOracleServiceCloudSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOracleServiceCloudSource() (*OracleServiceCloudSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHBaseSource() (*HBaseSource, bool) { +// AsDynamicsAXSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDynamicsAXSource() (*DynamicsAXSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsResponsysSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsResponsysSource() (*ResponsysSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceMarketingCloudSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSalesforceMarketingCloudSource() (*SalesforceMarketingCloudSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsEloquaSource() (*EloquaSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDrillSource() (*DrillSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsZohoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsConcurSource() (*ConcurSource, bool) { +// AsXeroSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSquareSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSparkSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHTTPSource() (*HTTPSource, bool) { +// AsShopifySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureBlobFSSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsOffice365Source is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOffice365Source() (*Office365Source, bool) { +// AsPrestoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMongoDbV2Source is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { +// AsPaypalSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureMariaDBSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsWebSource() (*WebSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsTeradataSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsTeradataSource() (*TeradataSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAzureDataExplorerSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHiveSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsSQLMISource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLMISource() (*SQLMISource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzureSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureSQLSource() (*AzureSQLSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsSQLServerSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLServerSource() (*SQLServerSource, bool) { +// AsDrillSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSQLSource() (*SQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsRestSource() (*RestSource, bool) { +// AsConcurSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSapTableSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapTableSource() (*SapTableSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapOpenHubSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapHanaSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapHanaSource() (*SapHanaSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapEccSource() (*SapEccSource, bool) { +// AsTeradataSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsTeradataSource() (*TeradataSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSalesforceServiceCloudSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSQLMISource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLMISource() (*SQLMISource, bool) { return nil, false } -// AsODataSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsODataSource() (*ODataSource, bool) { +// AsAzureSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureSQLSource() (*AzureSQLSource, bool) { return nil, false } -// AsSybaseSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsSybaseSource() (*SybaseSource, bool) { - return &ss, true +// AsSQLServerSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLServerSource() (*SQLServerSource, bool) { + return nil, false } -// AsPostgreSQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { +// AsSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsMySQLSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMySQLSource() (*MySQLSource, bool) { +// AsSapTableSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false } -// AsOdbcSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsOdbcSource() (*OdbcSource, bool) { +// AsSapOpenHubSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapOpenHubSource() (*SapOpenHubSource, bool) { return nil, false } -// AsDb2Source is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDb2Source() (*Db2Source, bool) { +// AsSapHanaSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapHanaSource() (*SapHanaSource, bool) { return nil, false } -// AsMicrosoftAccessSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsInformixSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsInformixSource() (*InformixSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCommonDataServiceForAppsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCommonDataServiceForAppsSource() (*CommonDataServiceForAppsSource, bool) { +// AsSapBwSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } -// AsDynamicsCrmSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDynamicsCrmSource() (*DynamicsCrmSource, bool) { +// AsSybaseSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsSybaseSource() (*SybaseSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsPostgreSQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsPostgreSQLSource() (*PostgreSQLSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsMySQLSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsMySQLSource() (*MySQLSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBlobSource() (*BlobSource, bool) { +// AsOdbcSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsOdbcSource() (*OdbcSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsDb2Source is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDb2Source() (*Db2Source, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBinarySource() (*BinarySource, bool) { +// AsInformixSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsInformixSource() (*InformixSource, bool) { return nil, false } -// AsDelimitedTextSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsParquetSource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsParquetSource() (*ParquetSource, bool) { +// AsTabularSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsTabularSource() (*TabularSource, bool) { + return &ts, true +} + +// AsBasicTabularSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ts, true +} + +// AsBinarySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsCopySource() (*CopySource, bool) { +// AsJSONSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsJSONSource() (*JSONSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SybaseSource. -func (ss SybaseSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsDelimitedTextSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsDelimitedTextSource() (*DelimitedTextSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SybaseSource struct. -func (ss *SybaseSource) UnmarshalJSON(body []byte) error { +// AsParquetSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsParquetSource() (*ParquetSource, bool) { + return nil, false +} + +// AsAvroSource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for TabularSource. +func (ts TabularSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ts, true +} + +// UnmarshalJSON is the custom unmarshaler for TabularSource struct. +func (ts *TabularSource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -177343,14 +193733,14 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "query": + case "queryTimeout": if v != nil { - var query interface{} - err = json.Unmarshal(*v, &query) + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) if err != nil { return err } - ss.Query = query + ts.QueryTimeout = queryTimeout } default: if v != nil { @@ -177359,10 +193749,10 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ss.AdditionalProperties == nil { - ss.AdditionalProperties = make(map[string]interface{}) + if ts.AdditionalProperties == nil { + ts.AdditionalProperties = make(map[string]interface{}) } - ss.AdditionalProperties[k] = additionalProperties + ts.AdditionalProperties[k] = additionalProperties } case "sourceRetryCount": if v != nil { @@ -177371,7 +193761,7 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SourceRetryCount = sourceRetryCount + ts.SourceRetryCount = sourceRetryCount } case "sourceRetryWait": if v != nil { @@ -177380,7 +193770,7 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.SourceRetryWait = sourceRetryWait + ts.SourceRetryWait = sourceRetryWait } case "maxConcurrentConnections": if v != nil { @@ -177389,7 +193779,7 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.MaxConcurrentConnections = maxConcurrentConnections + ts.MaxConcurrentConnections = maxConcurrentConnections } case "type": if v != nil { @@ -177398,7 +193788,7 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { if err != nil { return err } - ss.Type = typeVar + ts.Type = typeVar } } } @@ -177420,7 +193810,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -177572,6 +193962,11 @@ func (TLSVar TeradataLinkedService) AsMarketoLinkedService() (*MarketoLinkedServ return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. func (TLSVar TeradataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -178095,6 +194490,8 @@ type TeradataSource struct { PartitionOption TeradataPartitionOption `json:"partitionOption,omitempty"` // PartitionSettings - The settings that will be leveraged for teradata source partitioning. PartitionSettings *TeradataPartitionSettings `json:"partitionSettings,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"` // 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). @@ -178103,7 +194500,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -178120,6 +194517,9 @@ func (ts TeradataSource) MarshalJSON() ([]byte, error) { if ts.PartitionSettings != nil { objectMap["partitionSettings"] = ts.PartitionSettings } + if ts.QueryTimeout != nil { + objectMap["queryTimeout"] = ts.QueryTimeout + } if ts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ts.SourceRetryCount } @@ -178138,6 +194538,116 @@ func (ts TeradataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 +} + +// AsWebSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// 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 +} + +// 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 +} + +// AsRestSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for TeradataSource. func (ts TeradataSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -178233,6 +194743,11 @@ func (ts TeradataSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for TeradataSource. func (ts TeradataSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -178308,81 +194823,21 @@ 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 @@ -178408,11 +194863,6 @@ 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 @@ -178438,18 +194888,13 @@ func (ts TeradataSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSour 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) { +// AsSapBwSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -178478,53 +194923,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &ts, true } -// AsAzureTableSource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for TeradataSource. -func (ts TeradataSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -178538,6 +194963,11 @@ func (ts TeradataSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for TeradataSource. +func (ts TeradataSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for TeradataSource. func (ts TeradataSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -178584,6 +195014,15 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { } ts.PartitionSettings = &partitionSettings } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + ts.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -178658,7 +195097,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -178794,6 +195233,11 @@ func (ttd TeradataTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for TeradataTableDataset. func (ttd TeradataTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -178919,6 +195363,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 @@ -178959,6 +195413,16 @@ func (ttd TeradataTableDataset) AsRelationalTableDataset() (*RelationalTableData return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for TeradataTableDataset. func (ttd TeradataTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -179074,6 +195538,11 @@ func (ttd TeradataTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for TeradataTableDataset. func (ttd TeradataTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -179084,6 +195553,11 @@ func (ttd TeradataTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for TeradataTableDataset. +func (ttd TeradataTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for TeradataTableDataset. func (ttd TeradataTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -179479,7 +195953,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: 'Started', 'Stopped', 'Disabled' + // 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"` @@ -180197,6 +196671,73 @@ func (future *TriggersStopFuture) Result(client TriggersClient) (ar autorest.Res return } +// TriggersSubscribeToEventsFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type TriggersSubscribeToEventsFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *TriggersSubscribeToEventsFuture) Result(client TriggersClient) (tsos TriggerSubscriptionOperationStatus, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersSubscribeToEventsFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.TriggersSubscribeToEventsFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if tsos.Response.Response, err = future.GetResult(sender); err == nil && tsos.Response.Response.StatusCode != http.StatusNoContent { + tsos, err = client.SubscribeToEventsResponder(tsos.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersSubscribeToEventsFuture", "Result", tsos.Response.Response, "Failure responding to request") + } + } + return +} + +// TriggerSubscriptionOperationStatus defines the response of a trigger subscription operation. +type TriggerSubscriptionOperationStatus struct { + autorest.Response `json:"-"` + // TriggerName - READ-ONLY; Trigger name. + TriggerName *string `json:"triggerName,omitempty"` + // Status - READ-ONLY; Event Subscription Status. Possible values include: 'Enabled', 'Provisioning', 'Deprovisioning', 'Disabled', 'Unknown' + Status EventSubscriptionStatus `json:"status,omitempty"` +} + +// TriggersUnsubscribeFromEventsFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type TriggersUnsubscribeFromEventsFuture struct { + azure.Future +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future *TriggersUnsubscribeFromEventsFuture) Result(client TriggersClient) (tsos TriggerSubscriptionOperationStatus, err error) { + var done bool + done, err = future.DoneWithContext(context.Background(), client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersUnsubscribeFromEventsFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + err = azure.NewAsyncOpIncompleteError("datafactory.TriggersUnsubscribeFromEventsFuture") + return + } + sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if tsos.Response.Response, err = future.GetResult(sender); err == nil && tsos.Response.Response.StatusCode != http.StatusNoContent { + tsos, err = client.UnsubscribeFromEventsResponder(tsos.Response.Response) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersUnsubscribeFromEventsFuture", "Result", tsos.Response.Response, "Failure responding to request") + } + } + return +} + // TumblingWindowTrigger trigger that schedules pipeline runs for all fixed time interval windows from a // start time without gaps and also supports backfill scenarios (when start time is in the past). type TumblingWindowTrigger struct { @@ -180208,7 +196749,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: 'Started', 'Stopped', 'Disabled' + // 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"` @@ -181268,6 +197809,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. @@ -181282,7 +197833,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -181434,6 +197985,11 @@ func (vls VerticaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. func (vls VerticaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -181869,6 +198425,8 @@ type VerticaLinkedServiceTypeProperties struct { type VerticaSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -181877,7 +198435,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -181888,6 +198446,9 @@ func (vs VerticaSource) MarshalJSON() ([]byte, error) { if vs.Query != nil { objectMap["query"] = vs.Query } + if vs.QueryTimeout != nil { + objectMap["queryTimeout"] = vs.QueryTimeout + } if vs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = vs.SourceRetryCount } @@ -181906,6 +198467,116 @@ func (vs VerticaSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -182001,6 +198672,11 @@ func (vs VerticaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -182076,81 +198752,21 @@ func (vs VerticaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for VerticaSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -182176,11 +198792,6 @@ func (vs VerticaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -182206,18 +198817,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -182246,53 +198852,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &vs, true } -// AsAzureTableSource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for VerticaSource. -func (vs VerticaSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -182306,6 +198892,11 @@ func (vs VerticaSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for VerticaSource. func (vs VerticaSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -182334,6 +198925,15 @@ func (vs *VerticaSource) UnmarshalJSON(body []byte) error { } vs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + vs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -182390,8 +198990,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. @@ -182408,7 +199008,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -182416,8 +199016,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 @@ -182544,6 +199144,11 @@ func (vtd VerticaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -182669,6 +199274,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 @@ -182709,6 +199324,16 @@ func (vtd VerticaTableDataset) AsRelationalTableDataset() (*RelationalTableDatas return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -182824,6 +199449,11 @@ func (vtd VerticaTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -182834,6 +199464,11 @@ func (vtd VerticaTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for VerticaTableDataset. func (vtd VerticaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -182860,12 +199495,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 { @@ -184244,7 +200879,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -184394,6 +201029,11 @@ func (wls WebLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, boo return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -184925,7 +201565,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -184951,6 +201591,116 @@ func (ws WebSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsWebSource() (*WebSource, bool) { + return &ws, true +} + +// AsOracleSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -185046,6 +201796,11 @@ func (ws WebSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -185121,81 +201876,21 @@ func (ws WebSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for WebSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -185221,11 +201916,6 @@ func (ws WebSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -185251,18 +201941,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -185291,53 +201976,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsTabularSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsBasicTabularSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBasicTabularSource() (BasicTabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsBlobSource() (*BlobSource, bool) { - return nil, false -} - -// AsAzureTableSource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for WebSource. -func (ws WebSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -185351,6 +202016,11 @@ func (ws WebSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -185444,7 +202114,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -185580,6 +202250,11 @@ func (wtd WebTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -185705,6 +202380,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 @@ -185745,6 +202430,16 @@ func (wtd WebTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -185860,6 +202555,11 @@ func (wtd WebTableDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -185870,6 +202570,11 @@ func (wtd WebTableDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -186015,7 +202720,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -186167,6 +202872,11 @@ func (xls XeroLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bo return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -186703,7 +203413,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -186839,6 +203549,11 @@ func (xod XeroObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bo return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -186964,6 +203679,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 @@ -187004,6 +203729,16 @@ func (xod XeroObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -187119,6 +203854,11 @@ func (xod XeroObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -187129,6 +203869,11 @@ func (xod XeroObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -187256,6 +204001,8 @@ func (xod *XeroObjectDataset) UnmarshalJSON(body []byte) error { type XeroSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -187264,7 +204011,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -187275,6 +204022,9 @@ func (xs XeroSource) MarshalJSON() ([]byte, error) { if xs.Query != nil { objectMap["query"] = xs.Query } + if xs.QueryTimeout != nil { + objectMap["queryTimeout"] = xs.QueryTimeout + } if xs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = xs.SourceRetryCount } @@ -187293,6 +204043,116 @@ func (xs XeroSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -187388,6 +204248,11 @@ func (xs XeroSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -187463,81 +204328,21 @@ func (xs XeroSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for XeroSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -187563,11 +204368,6 @@ func (xs XeroSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -187593,18 +204393,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -187633,53 +204428,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &xs, true } -// AsAzureTableSource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for XeroSource. -func (xs XeroSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -187693,6 +204468,11 @@ func (xs XeroSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -187721,6 +204501,15 @@ func (xs *XeroSource) UnmarshalJSON(body []byte) error { } xs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + xs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} @@ -187789,7 +204578,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', '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 - 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', 'TypeAzureMariaDB', '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"` } @@ -187941,6 +204730,11 @@ func (zls ZohoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bo return nil, false } +// AsAzureMariaDBLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsAzureMariaDBLinkedService() (*AzureMariaDBLinkedService, bool) { + return nil, false +} + // AsMariaDBLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false @@ -188466,7 +205260,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', 'TypeAzureMariaDBTable', 'TypeMariaDBTable', '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', 'TypeDb2Table', 'TypeAmazonRedshiftTable', 'TypeAzureMySQLTable', 'TypeTeradataTable', 'TypeOracleTable', 'TypeODataResource', 'TypeCosmosDbMongoDbAPICollection', 'TypeMongoDbV2Collection', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeOffice365Table', 'TypeAzureBlobFSFile', 'TypeAzureDataLakeStoreFile', 'TypeCommonDataServiceForAppsEntity', 'TypeDynamicsCrmEntity', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLMITable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeBinary', 'TypeJSON', 'TypeDelimitedText', 'TypeParquet', 'TypeAvro', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -188602,6 +205396,11 @@ func (zod ZohoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bo return nil, false } +// AsAzureMariaDBTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsAzureMariaDBTableDataset() (*AzureMariaDBTableDataset, bool) { + return nil, false +} + // AsMariaDBTableDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false @@ -188727,6 +205526,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 @@ -188767,6 +205576,16 @@ func (zod ZohoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset return nil, false } +// AsDb2TableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsDb2TableDataset() (*Db2TableDataset, bool) { + return nil, false +} + +// AsAmazonRedshiftTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsAmazonRedshiftTableDataset() (*AmazonRedshiftTableDataset, bool) { + return nil, false +} + // AsAzureMySQLTableDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false @@ -188882,6 +205701,11 @@ func (zod ZohoObjectDataset) AsBinaryDataset() (*BinaryDataset, bool) { return nil, false } +// AsJSONDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsJSONDataset() (*JSONDataset, bool) { + return nil, false +} + // AsDelimitedTextDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsDelimitedTextDataset() (*DelimitedTextDataset, bool) { return nil, false @@ -188892,6 +205716,11 @@ func (zod ZohoObjectDataset) AsParquetDataset() (*ParquetDataset, bool) { return nil, false } +// AsAvroDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsAvroDataset() (*AvroDataset, bool) { + return nil, false +} + // AsAmazonS3Dataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false @@ -189019,6 +205848,8 @@ func (zod *ZohoObjectDataset) UnmarshalJSON(body []byte) error { type ZohoSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,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"` // 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). @@ -189027,7 +205858,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', 'TypeHTTPSource', 'TypeAzureBlobFSSource', 'TypeAzureDataLakeStoreSource', 'TypeOffice365Source', 'TypeCosmosDbMongoDbAPISource', 'TypeMongoDbV2Source', 'TypeMongoDbSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureDataExplorerSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeRestSource', 'TypeSalesforceServiceCloudSource', 'TypeODataSource', 'TypeMicrosoftAccessSource', 'TypeRelationalSource', 'TypeCommonDataServiceForAppsSource', 'TypeDynamicsCrmSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAmazonRedshiftSource', 'TypeGoogleAdWordsSource', 'TypeOracleServiceCloudSource', 'TypeDynamicsAXSource', 'TypeResponsysSource', 'TypeSalesforceMarketingCloudSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeAzureMariaDBSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeCassandraSource', 'TypeTeradataSource', 'TypeAzureMySQLSource', 'TypeSQLDWSource', 'TypeSQLMISource', 'TypeAzureSQLSource', 'TypeSQLServerSource', 'TypeSQLSource', 'TypeSapTableSource', 'TypeSapOpenHubSource', 'TypeSapHanaSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeSapBwSource', 'TypeSybaseSource', 'TypePostgreSQLSource', 'TypeMySQLSource', 'TypeOdbcSource', 'TypeDb2Source', 'TypeInformixSource', 'TypeAzureTableSource', 'TypeTabularSource', 'TypeBinarySource', 'TypeJSONSource', 'TypeDelimitedTextSource', 'TypeParquetSource', 'TypeAvroSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -189038,6 +205869,9 @@ func (zs ZohoSource) MarshalJSON() ([]byte, error) { if zs.Query != nil { objectMap["query"] = zs.Query } + if zs.QueryTimeout != nil { + objectMap["queryTimeout"] = zs.QueryTimeout + } if zs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = zs.SourceRetryCount } @@ -189056,6 +205890,116 @@ func (zs ZohoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsHTTPSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureBlobFSSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsOffice365Source is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsOffice365Source() (*Office365Source, bool) { + return nil, false +} + +// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { + return nil, false +} + +// AsMongoDbV2Source is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureDataExplorerSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsRestSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsRestSource() (*RestSource, bool) { + return nil, false +} + +// AsSalesforceServiceCloudSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSalesforceServiceCloudSource() (*SalesforceServiceCloudSource, bool) { + return nil, false +} + +// AsODataSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsODataSource() (*ODataSource, bool) { + return nil, false +} + +// AsMicrosoftAccessSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsMicrosoftAccessSource() (*MicrosoftAccessSource, 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 +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + // AsAmazonRedshiftSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false @@ -189151,6 +206095,11 @@ func (zs ZohoSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } +// AsAzureMariaDBSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsAzureMariaDBSource() (*AzureMariaDBSource, bool) { + return nil, false +} + // AsMariaDBSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false @@ -189226,81 +206175,21 @@ func (zs ZohoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsHTTPSource() (*HTTPSource, bool) { - return nil, false -} - -// AsAzureBlobFSSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsAzureBlobFSSource() (*AzureBlobFSSource, bool) { - return nil, false -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { - return nil, false -} - -// AsOffice365Source is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsOffice365Source() (*Office365Source, bool) { - return nil, false -} - -// AsCosmosDbMongoDbAPISource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsCosmosDbMongoDbAPISource() (*CosmosDbMongoDbAPISource, bool) { - return nil, false -} - -// AsMongoDbV2Source is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsMongoDbV2Source() (*MongoDbV2Source, bool) { - return nil, false -} - -// AsMongoDbSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsMongoDbSource() (*MongoDbSource, bool) { - return nil, false -} - // AsCassandraSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ZohoSource. -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 -} - -// AsAzureDataExplorerSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsAzureDataExplorerSource() (*AzureDataExplorerSource, bool) { - return nil, false -} - // AsAzureMySQLSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsHdfsSource() (*HdfsSource, bool) { - return nil, false -} - -// AsFileSystemSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsFileSystemSource() (*FileSystemSource, bool) { - return nil, false -} - // AsSQLDWSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false @@ -189326,11 +206215,6 @@ func (zs ZohoSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsRestSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsRestSource() (*RestSource, bool) { - return nil, false -} - // AsSapTableSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsSapTableSource() (*SapTableSource, bool) { return nil, false @@ -189356,18 +206240,13 @@ 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) { +// AsSapBwSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsSapBwSource() (*SapBwSource, bool) { return nil, false } @@ -189396,53 +206275,33 @@ 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) { +// AsAzureTableSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsTabularSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsTabularSource() (*TabularSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsBlobSource() (*BlobSource, bool) { - return nil, false +// AsBasicTabularSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsBasicTabularSource() (BasicTabularSource, bool) { + return &zs, true } -// AsAzureTableSource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBinarySource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsBinarySource() (*BinarySource, bool) { return nil, false } -// AsBinarySource is the BasicCopySource implementation for ZohoSource. -func (zs ZohoSource) AsBinarySource() (*BinarySource, bool) { +// AsJSONSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsJSONSource() (*JSONSource, bool) { return nil, false } @@ -189456,6 +206315,11 @@ func (zs ZohoSource) AsParquetSource() (*ParquetSource, bool) { return nil, false } +// AsAvroSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsAvroSource() (*AvroSource, bool) { + return nil, false +} + // AsCopySource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsCopySource() (*CopySource, bool) { return nil, false @@ -189484,6 +206348,15 @@ func (zs *ZohoSource) UnmarshalJSON(body []byte) error { } zs.Query = query } + case "queryTimeout": + if v != nil { + var queryTimeout interface{} + err = json.Unmarshal(*v, &queryTimeout) + if err != nil { + return err + } + zs.QueryTimeout = queryTimeout + } default: if v != nil { var additionalProperties interface{} diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go index a77a9d36a8ea..266c3fe6ff9f 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go @@ -136,3 +136,99 @@ func (client TriggerRunsClient) QueryByFactoryResponder(resp *http.Response) (re result.Response = autorest.Response{Response: resp} return } + +// Rerun rerun single trigger instance by runId. +// Parameters: +// resourceGroupName - the resource group name. +// factoryName - the factory name. +// triggerName - the trigger name. +// runID - the pipeline run identifier. +func (client TriggerRunsClient) Rerun(ctx context.Context, resourceGroupName string, factoryName string, triggerName string, runID string) (result autorest.Response, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/TriggerRunsClient.Rerun") + defer func() { + sc := -1 + if result.Response != nil { + sc = result.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: factoryName, + Constraints: []validation.Constraint{{Target: "factoryName", Name: validation.MaxLength, Rule: 63, Chain: nil}, + {Target: "factoryName", Name: validation.MinLength, Rule: 3, Chain: nil}, + {Target: "factoryName", Name: validation.Pattern, Rule: `^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$`, Chain: nil}}}, + {TargetValue: triggerName, + Constraints: []validation.Constraint{{Target: "triggerName", Name: validation.MaxLength, Rule: 260, Chain: nil}, + {Target: "triggerName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "triggerName", Name: validation.Pattern, Rule: `^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("datafactory.TriggerRunsClient", "Rerun", err.Error()) + } + + req, err := client.RerunPreparer(ctx, resourceGroupName, factoryName, triggerName, runID) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggerRunsClient", "Rerun", nil, "Failure preparing request") + return + } + + resp, err := client.RerunSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "datafactory.TriggerRunsClient", "Rerun", resp, "Failure sending request") + return + } + + result, err = client.RerunResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggerRunsClient", "Rerun", resp, "Failure responding to request") + } + + return +} + +// RerunPreparer prepares the Rerun request. +func (client TriggerRunsClient) RerunPreparer(ctx context.Context, resourceGroupName string, factoryName string, triggerName string, runID string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "factoryName": autorest.Encode("path", factoryName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "runId": autorest.Encode("path", runID), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + "triggerName": autorest.Encode("path", triggerName), + } + + const APIVersion = "2018-06-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// RerunSender sends the Rerun request. The method will close the +// http.Response Body if it receives an error. +func (client TriggerRunsClient) RerunSender(req *http.Request) (*http.Response, error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) +} + +// RerunResponder handles the response to the Rerun request. The method always +// closes the http.Response Body. +func (client TriggerRunsClient) RerunResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByClosing()) + result.Response = resp + return +} diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go index cc6fc803c787..ace9d7cfbbce 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go @@ -343,6 +343,101 @@ func (client TriggersClient) GetResponder(resp *http.Response) (result TriggerRe return } +// GetEventSubscriptionStatus get a trigger's event subscription status. +// Parameters: +// resourceGroupName - the resource group name. +// factoryName - the factory name. +// triggerName - the trigger name. +func (client TriggersClient) GetEventSubscriptionStatus(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result TriggerSubscriptionOperationStatus, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/TriggersClient.GetEventSubscriptionStatus") + defer func() { + sc := -1 + if result.Response.Response != nil { + sc = result.Response.Response.StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: factoryName, + Constraints: []validation.Constraint{{Target: "factoryName", Name: validation.MaxLength, Rule: 63, Chain: nil}, + {Target: "factoryName", Name: validation.MinLength, Rule: 3, Chain: nil}, + {Target: "factoryName", Name: validation.Pattern, Rule: `^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$`, Chain: nil}}}, + {TargetValue: triggerName, + Constraints: []validation.Constraint{{Target: "triggerName", Name: validation.MaxLength, Rule: 260, Chain: nil}, + {Target: "triggerName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "triggerName", Name: validation.Pattern, Rule: `^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("datafactory.TriggersClient", "GetEventSubscriptionStatus", err.Error()) + } + + req, err := client.GetEventSubscriptionStatusPreparer(ctx, resourceGroupName, factoryName, triggerName) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "GetEventSubscriptionStatus", nil, "Failure preparing request") + return + } + + resp, err := client.GetEventSubscriptionStatusSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "GetEventSubscriptionStatus", resp, "Failure sending request") + return + } + + result, err = client.GetEventSubscriptionStatusResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "GetEventSubscriptionStatus", resp, "Failure responding to request") + } + + return +} + +// GetEventSubscriptionStatusPreparer prepares the GetEventSubscriptionStatus request. +func (client TriggersClient) GetEventSubscriptionStatusPreparer(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "factoryName": autorest.Encode("path", factoryName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + "triggerName": autorest.Encode("path", triggerName), + } + + const APIVersion = "2018-06-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetEventSubscriptionStatusSender sends the GetEventSubscriptionStatus request. The method will close the +// http.Response Body if it receives an error. +func (client TriggersClient) GetEventSubscriptionStatusSender(req *http.Request) (*http.Response, error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + return autorest.SendWithSender(client, req, sd...) +} + +// GetEventSubscriptionStatusResponder handles the response to the GetEventSubscriptionStatus request. The method always +// closes the http.Response Body. +func (client TriggersClient) GetEventSubscriptionStatusResponder(resp *http.Response) (result TriggerSubscriptionOperationStatus, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + // ListByFactory lists triggers. // Parameters: // resourceGroupName - the resource group name. @@ -657,3 +752,193 @@ func (client TriggersClient) StopResponder(resp *http.Response) (result autorest result.Response = resp return } + +// SubscribeToEvents subscribe event trigger to events. +// Parameters: +// resourceGroupName - the resource group name. +// factoryName - the factory name. +// triggerName - the trigger name. +func (client TriggersClient) SubscribeToEvents(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result TriggersSubscribeToEventsFuture, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/TriggersClient.SubscribeToEvents") + defer func() { + sc := -1 + if result.Response() != nil { + sc = result.Response().StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: factoryName, + Constraints: []validation.Constraint{{Target: "factoryName", Name: validation.MaxLength, Rule: 63, Chain: nil}, + {Target: "factoryName", Name: validation.MinLength, Rule: 3, Chain: nil}, + {Target: "factoryName", Name: validation.Pattern, Rule: `^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$`, Chain: nil}}}, + {TargetValue: triggerName, + Constraints: []validation.Constraint{{Target: "triggerName", Name: validation.MaxLength, Rule: 260, Chain: nil}, + {Target: "triggerName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "triggerName", Name: validation.Pattern, Rule: `^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("datafactory.TriggersClient", "SubscribeToEvents", err.Error()) + } + + req, err := client.SubscribeToEventsPreparer(ctx, resourceGroupName, factoryName, triggerName) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "SubscribeToEvents", nil, "Failure preparing request") + return + } + + result, err = client.SubscribeToEventsSender(req) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "SubscribeToEvents", result.Response(), "Failure sending request") + return + } + + return +} + +// SubscribeToEventsPreparer prepares the SubscribeToEvents request. +func (client TriggersClient) SubscribeToEventsPreparer(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "factoryName": autorest.Encode("path", factoryName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + "triggerName": autorest.Encode("path", triggerName), + } + + const APIVersion = "2018-06-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// SubscribeToEventsSender sends the SubscribeToEvents request. The method will close the +// http.Response Body if it receives an error. +func (client TriggersClient) SubscribeToEventsSender(req *http.Request) (future TriggersSubscribeToEventsFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + var resp *http.Response + resp, err = autorest.SendWithSender(client, req, sd...) + if err != nil { + return + } + future.Future, err = azure.NewFutureFromResponse(resp) + return +} + +// SubscribeToEventsResponder handles the response to the SubscribeToEvents request. The method always +// closes the http.Response Body. +func (client TriggersClient) SubscribeToEventsResponder(resp *http.Response) (result TriggerSubscriptionOperationStatus, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// UnsubscribeFromEvents unsubscribe event trigger from events. +// Parameters: +// resourceGroupName - the resource group name. +// factoryName - the factory name. +// triggerName - the trigger name. +func (client TriggersClient) UnsubscribeFromEvents(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (result TriggersUnsubscribeFromEventsFuture, err error) { + if tracing.IsEnabled() { + ctx = tracing.StartSpan(ctx, fqdn+"/TriggersClient.UnsubscribeFromEvents") + defer func() { + sc := -1 + if result.Response() != nil { + sc = result.Response().StatusCode + } + tracing.EndSpan(ctx, sc, err) + }() + } + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {TargetValue: factoryName, + Constraints: []validation.Constraint{{Target: "factoryName", Name: validation.MaxLength, Rule: 63, Chain: nil}, + {Target: "factoryName", Name: validation.MinLength, Rule: 3, Chain: nil}, + {Target: "factoryName", Name: validation.Pattern, Rule: `^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$`, Chain: nil}}}, + {TargetValue: triggerName, + Constraints: []validation.Constraint{{Target: "triggerName", Name: validation.MaxLength, Rule: 260, Chain: nil}, + {Target: "triggerName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "triggerName", Name: validation.Pattern, Rule: `^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("datafactory.TriggersClient", "UnsubscribeFromEvents", err.Error()) + } + + req, err := client.UnsubscribeFromEventsPreparer(ctx, resourceGroupName, factoryName, triggerName) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "UnsubscribeFromEvents", nil, "Failure preparing request") + return + } + + result, err = client.UnsubscribeFromEventsSender(req) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersClient", "UnsubscribeFromEvents", result.Response(), "Failure sending request") + return + } + + return +} + +// UnsubscribeFromEventsPreparer prepares the UnsubscribeFromEvents request. +func (client TriggersClient) UnsubscribeFromEventsPreparer(ctx context.Context, resourceGroupName string, factoryName string, triggerName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "factoryName": autorest.Encode("path", factoryName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + "triggerName": autorest.Encode("path", triggerName), + } + + const APIVersion = "2018-06-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// UnsubscribeFromEventsSender sends the UnsubscribeFromEvents request. The method will close the +// http.Response Body if it receives an error. +func (client TriggersClient) UnsubscribeFromEventsSender(req *http.Request) (future TriggersUnsubscribeFromEventsFuture, err error) { + sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) + var resp *http.Response + resp, err = autorest.SendWithSender(client, req, sd...) + if err != nil { + return + } + future.Future, err = azure.NewFutureFromResponse(resp) + return +} + +// UnsubscribeFromEventsResponder handles the response to the UnsubscribeFromEvents request. The method always +// closes the http.Response Body. +func (client TriggersClient) UnsubscribeFromEventsResponder(resp *http.Response) (result TriggerSubscriptionOperationStatus, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +}