From 2fe65a75cc36ea83941bf8dab2f06c3d217529e1 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 1 Mar 2018 05:49:06 +0000 Subject: [PATCH] Generated from 2a25328ea6d9c2c7e49a1ecd3ed07aaecddd0c54 fix a description --- .../2017-09-01-preview/datafactory/models.go | 35096 ++++++++++------ .../2017-09-01-preview/datafactory/version.go | 6 +- 2 files changed, 21541 insertions(+), 13561 deletions(-) diff --git a/services/datafactory/mgmt/2017-09-01-preview/datafactory/models.go b/services/datafactory/mgmt/2017-09-01-preview/datafactory/models.go index 9526752b10e8..263cb4dd084d 100644 --- a/services/datafactory/mgmt/2017-09-01-preview/datafactory/models.go +++ b/services/datafactory/mgmt/2017-09-01-preview/datafactory/models.go @@ -441,18 +441,20 @@ const ( type ParameterType string const ( - // Array ... - Array ParameterType = "Array" - // Bool ... - Bool ParameterType = "Bool" - // Float ... - Float ParameterType = "Float" - // Int ... - Int ParameterType = "Int" - // Object ... - Object ParameterType = "Object" - // String ... - String ParameterType = "String" + // ParameterTypeArray ... + ParameterTypeArray ParameterType = "Array" + // ParameterTypeBool ... + ParameterTypeBool ParameterType = "Bool" + // ParameterTypeFloat ... + ParameterTypeFloat ParameterType = "Float" + // ParameterTypeInt ... + ParameterTypeInt ParameterType = "Int" + // ParameterTypeObject ... + ParameterTypeObject ParameterType = "Object" + // ParameterTypeSecureString ... + ParameterTypeSecureString ParameterType = "SecureString" + // ParameterTypeString ... + ParameterTypeString ParameterType = "String" ) // PhoenixAuthenticationType enumerates the values for phoenix authentication type. @@ -688,18 +690,18 @@ const ( type StoredProcedureParameterType string const ( - // StoredProcedureParameterTypeBoolean ... - StoredProcedureParameterTypeBoolean StoredProcedureParameterType = "Boolean" - // StoredProcedureParameterTypeDate ... - StoredProcedureParameterTypeDate StoredProcedureParameterType = "Date" - // StoredProcedureParameterTypeDecimal ... - StoredProcedureParameterTypeDecimal StoredProcedureParameterType = "Decimal" - // StoredProcedureParameterTypeGUID ... - StoredProcedureParameterTypeGUID StoredProcedureParameterType = "Guid" - // StoredProcedureParameterTypeInt ... - StoredProcedureParameterTypeInt StoredProcedureParameterType = "Int" - // StoredProcedureParameterTypeString ... - StoredProcedureParameterTypeString StoredProcedureParameterType = "String" + // Boolean ... + Boolean StoredProcedureParameterType = "Boolean" + // Date ... + Date StoredProcedureParameterType = "Date" + // Decimal ... + Decimal StoredProcedureParameterType = "Decimal" + // GUID ... + GUID StoredProcedureParameterType = "Guid" + // Int ... + Int StoredProcedureParameterType = "Int" + // String ... + String StoredProcedureParameterType = "String" ) // SybaseAuthenticationType enumerates the values for sybase authentication type. @@ -784,6 +786,8 @@ const ( TypeCopy TypeBasicActivity = "Copy" // TypeCustom ... TypeCustom TypeBasicActivity = "Custom" + // TypeDatabricksNotebook ... + TypeDatabricksNotebook TypeBasicActivity = "DatabricksNotebook" // TypeDataLakeAnalyticsUSQL ... TypeDataLakeAnalyticsUSQL TypeBasicActivity = "DataLakeAnalyticsU-SQL" // TypeExecutePipeline ... @@ -792,6 +796,8 @@ const ( TypeExecuteSSISPackage TypeBasicActivity = "ExecuteSSISPackage" // TypeExecution ... TypeExecution TypeBasicActivity = "Execution" + // TypeFilter ... + TypeFilter TypeBasicActivity = "Filter" // TypeForEach ... TypeForEach TypeBasicActivity = "ForEach" // TypeGetMetadata ... @@ -918,6 +924,8 @@ const ( TypeMarketoSource TypeBasicCopySource = "MarketoSource" // TypeMongoDbSource ... TypeMongoDbSource TypeBasicCopySource = "MongoDbSource" + // TypeNetezzaSource ... + TypeNetezzaSource TypeBasicCopySource = "NetezzaSource" // TypeOracleSource ... TypeOracleSource TypeBasicCopySource = "OracleSource" // TypePaypalSource ... @@ -948,6 +956,8 @@ const ( TypeSQLSource TypeBasicCopySource = "SqlSource" // TypeSquareSource ... TypeSquareSource TypeBasicCopySource = "SquareSource" + // TypeVerticaSource ... + TypeVerticaSource TypeBasicCopySource = "VerticaSource" // TypeWebSource ... TypeWebSource TypeBasicCopySource = "WebSource" // TypeXeroSource ... @@ -1034,6 +1044,8 @@ const ( TypeMarketoObject TypeBasicDataset = "MarketoObject" // TypeMongoDbCollection ... TypeMongoDbCollection TypeBasicDataset = "MongoDbCollection" + // TypeNetezzaTable ... + TypeNetezzaTable TypeBasicDataset = "NetezzaTable" // TypeODataResource ... TypeODataResource TypeBasicDataset = "ODataResource" // TypeOracleTable ... @@ -1064,6 +1076,8 @@ const ( TypeSQLServerTable TypeBasicDataset = "SqlServerTable" // TypeSquareObject ... TypeSquareObject TypeBasicDataset = "SquareObject" + // TypeVerticaTable ... + TypeVerticaTable TypeBasicDataset = "VerticaTable" // TypeWebTable ... TypeWebTable TypeBasicDataset = "WebTable" // TypeXeroObject ... @@ -1142,6 +1156,8 @@ const ( TypeAmazonS3 TypeBasicLinkedService = "AmazonS3" // TypeAzureBatch ... TypeAzureBatch TypeBasicLinkedService = "AzureBatch" + // TypeAzureDatabricks ... + TypeAzureDatabricks TypeBasicLinkedService = "AzureDatabricks" // TypeAzureDataLakeAnalytics ... TypeAzureDataLakeAnalytics TypeBasicLinkedService = "AzureDataLakeAnalytics" // TypeAzureDataLakeStore ... @@ -1218,6 +1234,8 @@ const ( TypeMongoDb TypeBasicLinkedService = "MongoDb" // TypeMySQL ... TypeMySQL TypeBasicLinkedService = "MySql" + // TypeNetezza ... + TypeNetezza TypeBasicLinkedService = "Netezza" // TypeOData ... TypeOData TypeBasicLinkedService = "OData" // TypeOdbc ... @@ -1260,6 +1278,8 @@ const ( TypeSybase TypeBasicLinkedService = "Sybase" // TypeTeradata ... TypeTeradata TypeBasicLinkedService = "Teradata" + // TypeVertica ... + TypeVertica TypeBasicLinkedService = "Vertica" // TypeWeb ... TypeWeb TypeBasicLinkedService = "Web" // TypeXero ... @@ -1288,6 +1308,8 @@ const ( type WebActivityMethod string const ( + // DELETE ... + DELETE WebActivityMethod = "DELETE" // GET ... GET WebActivityMethod = "GET" // POST ... @@ -1298,6 +1320,7 @@ const ( // BasicActivity a pipeline activity. type BasicActivity interface { + AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) @@ -1315,6 +1338,7 @@ type BasicActivity interface { AsCopyActivity() (*CopyActivity, bool) AsExecutionActivity() (*ExecutionActivity, bool) AsBasicExecutionActivity() (BasicExecutionActivity, bool) + AsFilterActivity() (*FilterActivity, bool) AsUntilActivity() (*UntilActivity, bool) AsWaitActivity() (*WaitActivity, bool) AsForEachActivity() (*ForEachActivity, bool) @@ -1335,7 +1359,7 @@ type Activity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -1347,6 +1371,10 @@ func unmarshalBasicActivity(body []byte) (BasicActivity, error) { } switch m["type"] { + 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) @@ -1411,6 +1439,10 @@ func unmarshalBasicActivity(body []byte) (BasicActivity, error) { var ea ExecutionActivity err := json.Unmarshal(body, &ea) return ea, err + case string(TypeFilter): + var fa FilterActivity + err := json.Unmarshal(body, &fa) + return fa, err case string(TypeUntil): var ua UntilActivity err := json.Unmarshal(body, &ua) @@ -1480,6 +1512,11 @@ func (a Activity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for Activity. +func (a Activity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for Activity. func (a Activity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -1565,6 +1602,11 @@ func (a Activity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } +// AsFilterActivity is the BasicActivity implementation for Activity. +func (a Activity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for Activity. func (a Activity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -1645,6 +1687,8 @@ type ActivityPolicy struct { Retry interface{} `json:"retry,omitempty"` // RetryIntervalInSeconds - Interval between each retry attempt (in seconds). The default is 30 sec. RetryIntervalInSeconds *int32 `json:"retryIntervalInSeconds,omitempty"` + // SecureOutput - When set to true, Output from activity is considered as secure and will not be logged to monitoring. + SecureOutput *bool `json:"secureOutput,omitempty"` } // MarshalJSON is the custom marshaler for ActivityPolicy. @@ -1655,6 +1699,9 @@ func (ap ActivityPolicy) MarshalJSON() ([]byte, error) { if ap.RetryIntervalInSeconds != nil { objectMap["retryIntervalInSeconds"] = ap.RetryIntervalInSeconds } + if ap.SecureOutput != nil { + objectMap["secureOutput"] = ap.SecureOutput + } for k, v := range ap.AdditionalProperties { objectMap[k] = v } @@ -1847,7 +1894,11 @@ type AmazonMWSLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -1864,6 +1915,12 @@ func (amls AmazonMWSLinkedService) MarshalJSON() ([]byte, error) { if amls.Description != nil { objectMap["description"] = amls.Description } + if amls.Parameters != nil { + objectMap["parameters"] = amls.Parameters + } + if amls.Annotations != nil { + objectMap["annotations"] = amls.Annotations + } objectMap["type"] = amls.Type for k, v := range amls.AdditionalProperties { objectMap[k] = v @@ -1871,6 +1928,11 @@ func (amls AmazonMWSLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -1881,6 +1943,16 @@ func (amls AmazonMWSLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsigh return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. +func (amls AmazonMWSLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AmazonMWSLinkedService. func (amls AmazonMWSLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -2254,6 +2326,24 @@ func (amls *AmazonMWSLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -2408,7 +2498,9 @@ type AmazonMWSObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -2426,6 +2518,9 @@ func (amod AmazonMWSObjectDataset) MarshalJSON() ([]byte, error) { if amod.Parameters != nil { objectMap["parameters"] = amod.Parameters } + if amod.Annotations != nil { + objectMap["annotations"] = amod.Annotations + } objectMap["type"] = amod.Type for k, v := range amod.AdditionalProperties { objectMap[k] = v @@ -2433,6 +2528,16 @@ func (amod AmazonMWSObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AmazonMWSObjectDataset. +func (amod AmazonMWSObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AmazonMWSObjectDataset. func (amod AmazonMWSObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -2698,7 +2803,7 @@ type AmazonMWSSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -2721,6 +2826,16 @@ func (ams AmazonMWSSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool return nil, false } +// AsVerticaSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AmazonMWSSource. +func (ams AmazonMWSSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for AmazonMWSSource. func (ams AmazonMWSSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -2966,7 +3081,11 @@ type AmazonRedshiftLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -2983,6 +3102,12 @@ func (arls AmazonRedshiftLinkedService) MarshalJSON() ([]byte, error) { if arls.Description != nil { objectMap["description"] = arls.Description } + if arls.Parameters != nil { + objectMap["parameters"] = arls.Parameters + } + if arls.Annotations != nil { + objectMap["annotations"] = arls.Annotations + } objectMap["type"] = arls.Type for k, v := range arls.AdditionalProperties { objectMap[k] = v @@ -2990,6 +3115,11 @@ func (arls AmazonRedshiftLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -3000,6 +3130,16 @@ func (arls AmazonRedshiftLinkedService) AsHDInsightOnDemandLinkedService() (*HDI return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. +func (arls AmazonRedshiftLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AmazonRedshiftLinkedService. func (arls AmazonRedshiftLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -3373,6 +3513,24 @@ func (arls *AmazonRedshiftLinkedService) UnmarshalJSON(body []byte) error { } arls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + arls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + arls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -3484,7 +3642,7 @@ type AmazonRedshiftSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -3510,6 +3668,16 @@ func (ars AmazonRedshiftSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, return &ars, true } +// 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 @@ -3759,7 +3927,9 @@ type AmazonS3Dataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -3780,6 +3950,9 @@ func (asd AmazonS3Dataset) MarshalJSON() ([]byte, error) { if asd.Parameters != nil { objectMap["parameters"] = asd.Parameters } + if asd.Annotations != nil { + objectMap["annotations"] = asd.Annotations + } objectMap["type"] = asd.Type for k, v := range asd.AdditionalProperties { objectMap[k] = v @@ -3787,6 +3960,16 @@ func (asd AmazonS3Dataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AmazonS3Dataset. +func (asd AmazonS3Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AmazonS3Dataset. func (asd AmazonS3Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -4108,6 +4291,15 @@ func (asd *AmazonS3Dataset) UnmarshalJSON(body []byte) error { } asd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + asd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -4216,7 +4408,11 @@ type AmazonS3LinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -4233,6 +4429,12 @@ func (asls AmazonS3LinkedService) MarshalJSON() ([]byte, error) { if asls.Description != nil { objectMap["description"] = asls.Description } + if asls.Parameters != nil { + objectMap["parameters"] = asls.Parameters + } + if asls.Annotations != nil { + objectMap["annotations"] = asls.Annotations + } objectMap["type"] = asls.Type for k, v := range asls.AdditionalProperties { objectMap[k] = v @@ -4240,6 +4442,11 @@ func (asls AmazonS3LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -4250,6 +4457,16 @@ func (asls AmazonS3LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsight return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. +func (asls AmazonS3LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AmazonS3LinkedService. func (asls AmazonS3LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -4623,6 +4840,24 @@ func (asls *AmazonS3LinkedService) UnmarshalJSON(body []byte) error { } asls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + asls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + asls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -4759,7 +4994,11 @@ type AzureBatchLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -4776,6 +5015,12 @@ func (abls AzureBatchLinkedService) MarshalJSON() ([]byte, error) { if abls.Description != nil { objectMap["description"] = abls.Description } + if abls.Parameters != nil { + objectMap["parameters"] = abls.Parameters + } + if abls.Annotations != nil { + objectMap["annotations"] = abls.Annotations + } objectMap["type"] = abls.Type for k, v := range abls.AdditionalProperties { objectMap[k] = v @@ -4783,6 +5028,11 @@ func (abls AzureBatchLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -4793,6 +5043,16 @@ func (abls AzureBatchLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsig return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. +func (abls AzureBatchLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureBatchLinkedService. func (abls AzureBatchLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -5166,6 +5426,24 @@ func (abls *AzureBatchLinkedService) UnmarshalJSON(body []byte) error { } abls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + abls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + abls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -5279,7 +5557,9 @@ type AzureBlobDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -5300,6 +5580,9 @@ func (abd AzureBlobDataset) MarshalJSON() ([]byte, error) { if abd.Parameters != nil { objectMap["parameters"] = abd.Parameters } + if abd.Annotations != nil { + objectMap["annotations"] = abd.Annotations + } objectMap["type"] = abd.Type for k, v := range abd.AdditionalProperties { objectMap[k] = v @@ -5307,6 +5590,16 @@ func (abd AzureBlobDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AzureBlobDataset. +func (abd AzureBlobDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AzureBlobDataset. func (abd AzureBlobDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -5628,6 +5921,15 @@ func (abd *AzureBlobDataset) UnmarshalJSON(body []byte) error { } abd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + abd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -5715,377 +6017,402 @@ func (abdtp *AzureBlobDatasetTypeProperties) UnmarshalJSON(body []byte) error { return nil } -// AzureDataLakeAnalyticsLinkedService azure Data Lake Analytics linked service. -type AzureDataLakeAnalyticsLinkedService struct { - // AzureDataLakeAnalyticsLinkedServiceTypeProperties - Azure Data Lake Analytics linked service properties. - *AzureDataLakeAnalyticsLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureDatabricksLinkedService azure Databricks linked service. +type AzureDatabricksLinkedService struct { + // AzureDatabricksLinkedServiceTypeProperties - Azure Databricks linked service properties. + *AzureDatabricksLinkedServiceTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) MarshalJSON() ([]byte, error) { - adlals.Type = TypeAzureDataLakeAnalytics +// MarshalJSON is the custom marshaler for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) MarshalJSON() ([]byte, error) { + adls.Type = TypeAzureDatabricks objectMap := make(map[string]interface{}) - if adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties + if adls.AzureDatabricksLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = adls.AzureDatabricksLinkedServiceTypeProperties } - if adlals.ConnectVia != nil { - objectMap["connectVia"] = adlals.ConnectVia + if adls.ConnectVia != nil { + objectMap["connectVia"] = adls.ConnectVia } - if adlals.Description != nil { - objectMap["description"] = adlals.Description + if adls.Description != nil { + objectMap["description"] = adls.Description } - objectMap["type"] = adlals.Type - for k, v := range adlals.AdditionalProperties { + if adls.Parameters != nil { + objectMap["parameters"] = adls.Parameters + } + if adls.Annotations != nil { + objectMap["annotations"] = adls.Annotations + } + objectMap["type"] = adls.Type + for k, v := range adls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return &adlals, true +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return &adls, true } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. -func (adlals AzureDataLakeAnalyticsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &adlals, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureDataLakeAnalyticsLinkedService struct. -func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for AzureDatabricksLinkedService. +func (adls AzureDatabricksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &adls, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureDatabricksLinkedService struct. +func (adls *AzureDatabricksLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6095,12 +6422,12 @@ func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) er switch k { case "typeProperties": if v != nil { - var azureDataLakeAnalyticsLinkedServiceTypeProperties AzureDataLakeAnalyticsLinkedServiceTypeProperties - err = json.Unmarshal(*v, &azureDataLakeAnalyticsLinkedServiceTypeProperties) + var azureDatabricksLinkedServiceTypeProperties AzureDatabricksLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureDatabricksLinkedServiceTypeProperties) if err != nil { return err } - adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties = &azureDataLakeAnalyticsLinkedServiceTypeProperties + adls.AzureDatabricksLinkedServiceTypeProperties = &azureDatabricksLinkedServiceTypeProperties } default: if v != nil { @@ -6109,10 +6436,10 @@ func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) er if err != nil { return err } - if adlals.AdditionalProperties == nil { - adlals.AdditionalProperties = make(map[string]interface{}) + if adls.AdditionalProperties == nil { + adls.AdditionalProperties = make(map[string]interface{}) } - adlals.AdditionalProperties[k] = additionalProperties + adls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -6121,7 +6448,7 @@ func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) er if err != nil { return err } - adlals.ConnectVia = &connectVia + adls.ConnectVia = &connectVia } case "description": if v != nil { @@ -6130,7 +6457,25 @@ func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) er if err != nil { return err } - adlals.Description = &description + adls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + adls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + adls.Annotations = &annotations } case "type": if v != nil { @@ -6139,7 +6484,7 @@ func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) er if err != nil { return err } - adlals.Type = typeVar + adls.Type = typeVar } } } @@ -6147,28 +6492,44 @@ func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) er return nil } -// AzureDataLakeAnalyticsLinkedServiceTypeProperties azure Data Lake Analytics linked service properties. -type AzureDataLakeAnalyticsLinkedServiceTypeProperties struct { - // AccountName - The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string). - AccountName interface{} `json:"accountName,omitempty"` - // ServicePrincipalID - The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string). - ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` - // ServicePrincipalKey - The Key of the application used to authenticate against the Azure Data Lake Analytics account. - 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"` - // SubscriptionID - Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). - SubscriptionID interface{} `json:"subscriptionId,omitempty"` - // ResourceGroupName - Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). - ResourceGroupName interface{} `json:"resourceGroupName,omitempty"` - // DataLakeAnalyticsURI - Azure Data Lake Analytics URI Type: string (or Expression with resultType string). - DataLakeAnalyticsURI interface{} `json:"dataLakeAnalyticsUri,omitempty"` +// AzureDatabricksLinkedServiceTypeProperties azure Databricks linked service properties. +type AzureDatabricksLinkedServiceTypeProperties struct { + // Domain - .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). + Domain interface{} `json:"domain,omitempty"` + // AccessToken - Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). + AccessToken BasicSecretBase `json:"accessToken,omitempty"` + // ExistingClusterID - The id of an existing cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). + ExistingClusterID interface{} `json:"existingClusterId,omitempty"` + // NewClusterVersion - The Spark version of new cluster. Type: string (or Expression with resultType string). + NewClusterVersion interface{} `json:"newClusterVersion,omitempty"` + // NewClusterNumOfWorker - Number of worker nodes that new cluster should have. A string formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 as min and 10 as max. Type: string (or Expression with resultType string). + NewClusterNumOfWorker interface{} `json:"newClusterNumOfWorker,omitempty"` + // NewClusterNodeType - The node types of new cluster. Type: string (or Expression with resultType string). + NewClusterNodeType interface{} `json:"newClusterNodeType,omitempty"` + // NewClusterSparkConf - a set of optional, user-specified Spark configuration key-value pairs. + NewClusterSparkConf map[string]interface{} `json:"newClusterSparkConf"` // 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 AzureDataLakeAnalyticsLinkedServiceTypeProperties struct. -func (adlalstp *AzureDataLakeAnalyticsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// MarshalJSON is the custom marshaler for AzureDatabricksLinkedServiceTypeProperties. +func (adlstp AzureDatabricksLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["domain"] = adlstp.Domain + objectMap["accessToken"] = adlstp.AccessToken + objectMap["existingClusterId"] = adlstp.ExistingClusterID + objectMap["newClusterVersion"] = adlstp.NewClusterVersion + objectMap["newClusterNumOfWorker"] = adlstp.NewClusterNumOfWorker + objectMap["newClusterNodeType"] = adlstp.NewClusterNodeType + if adlstp.NewClusterSparkConf != nil { + objectMap["newClusterSparkConf"] = adlstp.NewClusterSparkConf + } + objectMap["encryptedCredential"] = adlstp.EncryptedCredential + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for AzureDatabricksLinkedServiceTypeProperties struct. +func (adlstp *AzureDatabricksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6176,67 +6537,67 @@ func (adlalstp *AzureDataLakeAnalyticsLinkedServiceTypeProperties) UnmarshalJSON } for k, v := range m { switch k { - case "accountName": + case "domain": if v != nil { - var accountName interface{} - err = json.Unmarshal(*v, &accountName) + var domain interface{} + err = json.Unmarshal(*v, &domain) if err != nil { return err } - adlalstp.AccountName = accountName + adlstp.Domain = domain } - case "servicePrincipalId": + case "accessToken": if v != nil { - var servicePrincipalID interface{} - err = json.Unmarshal(*v, &servicePrincipalID) + accessToken, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - adlalstp.ServicePrincipalID = servicePrincipalID + adlstp.AccessToken = accessToken } - case "servicePrincipalKey": + case "existingClusterId": if v != nil { - servicePrincipalKey, err := unmarshalBasicSecretBase(*v) + var existingClusterID interface{} + err = json.Unmarshal(*v, &existingClusterID) if err != nil { return err } - adlalstp.ServicePrincipalKey = servicePrincipalKey + adlstp.ExistingClusterID = existingClusterID } - case "tenant": + case "newClusterVersion": if v != nil { - var tenant interface{} - err = json.Unmarshal(*v, &tenant) + var newClusterVersion interface{} + err = json.Unmarshal(*v, &newClusterVersion) if err != nil { return err } - adlalstp.Tenant = tenant + adlstp.NewClusterVersion = newClusterVersion } - case "subscriptionId": + case "newClusterNumOfWorker": if v != nil { - var subscriptionID interface{} - err = json.Unmarshal(*v, &subscriptionID) + var newClusterNumOfWorker interface{} + err = json.Unmarshal(*v, &newClusterNumOfWorker) if err != nil { return err } - adlalstp.SubscriptionID = subscriptionID + adlstp.NewClusterNumOfWorker = newClusterNumOfWorker } - case "resourceGroupName": + case "newClusterNodeType": if v != nil { - var resourceGroupName interface{} - err = json.Unmarshal(*v, &resourceGroupName) + var newClusterNodeType interface{} + err = json.Unmarshal(*v, &newClusterNodeType) if err != nil { return err } - adlalstp.ResourceGroupName = resourceGroupName + adlstp.NewClusterNodeType = newClusterNodeType } - case "dataLakeAnalyticsUri": + case "newClusterSparkConf": if v != nil { - var dataLakeAnalyticsURI interface{} - err = json.Unmarshal(*v, &dataLakeAnalyticsURI) + var newClusterSparkConf map[string]interface{} + err = json.Unmarshal(*v, &newClusterSparkConf) if err != nil { return err } - adlalstp.DataLakeAnalyticsURI = dataLakeAnalyticsURI + adlstp.NewClusterSparkConf = newClusterSparkConf } case "encryptedCredential": if v != nil { @@ -6245,7 +6606,7 @@ func (adlalstp *AzureDataLakeAnalyticsLinkedServiceTypeProperties) UnmarshalJSON if err != nil { return err } - adlalstp.EncryptedCredential = encryptedCredential + adlstp.EncryptedCredential = encryptedCredential } } } @@ -6253,305 +6614,402 @@ func (adlalstp *AzureDataLakeAnalyticsLinkedServiceTypeProperties) UnmarshalJSON return nil } -// AzureDataLakeStoreDataset azure Data Lake Store dataset. -type AzureDataLakeStoreDataset struct { - // AzureDataLakeStoreDatasetTypeProperties - Azure Data Lake Store dataset properties. - *AzureDataLakeStoreDatasetTypeProperties `json:"typeProperties,omitempty"` +// AzureDataLakeAnalyticsLinkedService azure Data Lake Analytics linked service. +type AzureDataLakeAnalyticsLinkedService struct { + // AzureDataLakeAnalyticsLinkedServiceTypeProperties - Azure Data Lake Analytics linked service properties. + *AzureDataLakeAnalyticsLinkedServiceTypeProperties `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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) MarshalJSON() ([]byte, error) { - adlsd.Type = TypeAzureDataLakeStoreFile +// MarshalJSON is the custom marshaler for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) MarshalJSON() ([]byte, error) { + adlals.Type = TypeAzureDataLakeAnalytics objectMap := make(map[string]interface{}) - if adlsd.AzureDataLakeStoreDatasetTypeProperties != nil { - objectMap["typeProperties"] = adlsd.AzureDataLakeStoreDatasetTypeProperties + if adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties } - if adlsd.Description != nil { - objectMap["description"] = adlsd.Description + if adlals.ConnectVia != nil { + objectMap["connectVia"] = adlals.ConnectVia } - objectMap["structure"] = adlsd.Structure - if adlsd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = adlsd.LinkedServiceName + if adlals.Description != nil { + objectMap["description"] = adlals.Description } - if adlsd.Parameters != nil { - objectMap["parameters"] = adlsd.Parameters + if adlals.Parameters != nil { + objectMap["parameters"] = adlals.Parameters } - objectMap["type"] = adlsd.Type - for k, v := range adlsd.AdditionalProperties { + if adlals.Annotations != nil { + objectMap["annotations"] = adlals.Annotations + } + objectMap["type"] = adlals.Type + for k, v := range adlals.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return &adlals, true } -// AsSquareObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return &adlsd, true +// AsAmazonS3LinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsDataset() (*Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. -func (adlsd AzureDataLakeStoreDataset) AsBasicDataset() (BasicDataset, bool) { - return &adlsd, true +// AsAzureMLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreDataset struct. -func (adlsd *AzureDataLakeStoreDataset) UnmarshalJSON(body []byte) error { +// AsTeradataLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for AzureDataLakeAnalyticsLinkedService. +func (adlals AzureDataLakeAnalyticsLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &adlals, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureDataLakeAnalyticsLinkedService struct. +func (adlals *AzureDataLakeAnalyticsLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6561,12 +7019,12 @@ func (adlsd *AzureDataLakeStoreDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var azureDataLakeStoreDatasetTypeProperties AzureDataLakeStoreDatasetTypeProperties - err = json.Unmarshal(*v, &azureDataLakeStoreDatasetTypeProperties) + var azureDataLakeAnalyticsLinkedServiceTypeProperties AzureDataLakeAnalyticsLinkedServiceTypeProperties + err = json.Unmarshal(*v, &azureDataLakeAnalyticsLinkedServiceTypeProperties) if err != nil { return err } - adlsd.AzureDataLakeStoreDatasetTypeProperties = &azureDataLakeStoreDatasetTypeProperties + adlals.AzureDataLakeAnalyticsLinkedServiceTypeProperties = &azureDataLakeAnalyticsLinkedServiceTypeProperties } default: if v != nil { @@ -6575,55 +7033,55 @@ func (adlsd *AzureDataLakeStoreDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if adlsd.AdditionalProperties == nil { - adlsd.AdditionalProperties = make(map[string]interface{}) + if adlals.AdditionalProperties == nil { + adlals.AdditionalProperties = make(map[string]interface{}) } - adlsd.AdditionalProperties[k] = additionalProperties + adlals.AdditionalProperties[k] = additionalProperties } - case "description": + case "connectVia": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - adlsd.Description = &description + adlals.ConnectVia = &connectVia } - case "structure": + case "description": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - adlsd.Structure = structure + adlals.Description = &description } - case "linkedServiceName": + case "parameters": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - adlsd.LinkedServiceName = &linkedServiceName + adlals.Parameters = parameters } - case "parameters": + case "annotations": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - adlsd.Parameters = parameters + adlals.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - adlsd.Type = typeVar + adlals.Type = typeVar } } } @@ -6631,20 +7089,28 @@ func (adlsd *AzureDataLakeStoreDataset) UnmarshalJSON(body []byte) error { return nil } -// AzureDataLakeStoreDatasetTypeProperties azure Data Lake Store dataset properties. -type AzureDataLakeStoreDatasetTypeProperties struct { - // FolderPath - Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). - FolderPath interface{} `json:"folderPath,omitempty"` - // FileName - The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string). - FileName interface{} `json:"fileName,omitempty"` - // Format - The format of the Data Lake Store. - Format BasicDatasetStorageFormat `json:"format,omitempty"` - // Compression - The data compression method used for the item(s) in the Azure Data Lake Store. - Compression BasicDatasetCompression `json:"compression,omitempty"` +// AzureDataLakeAnalyticsLinkedServiceTypeProperties azure Data Lake Analytics linked service properties. +type AzureDataLakeAnalyticsLinkedServiceTypeProperties struct { + // AccountName - The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string). + AccountName interface{} `json:"accountName,omitempty"` + // ServicePrincipalID - The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string). + ServicePrincipalID interface{} `json:"servicePrincipalId,omitempty"` + // ServicePrincipalKey - The Key of the application used to authenticate against the Azure Data Lake Analytics account. + 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"` + // SubscriptionID - Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). + SubscriptionID interface{} `json:"subscriptionId,omitempty"` + // ResourceGroupName - Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). + ResourceGroupName interface{} `json:"resourceGroupName,omitempty"` + // DataLakeAnalyticsURI - Azure Data Lake Analytics URI Type: string (or Expression with resultType string). + DataLakeAnalyticsURI interface{} `json:"dataLakeAnalyticsUri,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 AzureDataLakeStoreDatasetTypeProperties struct. -func (adlsdtp *AzureDataLakeStoreDatasetTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for AzureDataLakeAnalyticsLinkedServiceTypeProperties struct. +func (adlalstp *AzureDataLakeAnalyticsLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -6652,39 +7118,76 @@ func (adlsdtp *AzureDataLakeStoreDatasetTypeProperties) UnmarshalJSON(body []byt } for k, v := range m { switch k { - case "folderPath": + case "accountName": if v != nil { - var folderPath interface{} - err = json.Unmarshal(*v, &folderPath) + var accountName interface{} + err = json.Unmarshal(*v, &accountName) if err != nil { return err } - adlsdtp.FolderPath = folderPath + adlalstp.AccountName = accountName } - case "fileName": + case "servicePrincipalId": if v != nil { - var fileName interface{} - err = json.Unmarshal(*v, &fileName) + var servicePrincipalID interface{} + err = json.Unmarshal(*v, &servicePrincipalID) if err != nil { return err } - adlsdtp.FileName = fileName + adlalstp.ServicePrincipalID = servicePrincipalID } - case "format": + case "servicePrincipalKey": if v != nil { - formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + servicePrincipalKey, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - adlsdtp.Format = formatVar + adlalstp.ServicePrincipalKey = servicePrincipalKey } - case "compression": + case "tenant": if v != nil { - compression, err := unmarshalBasicDatasetCompression(*v) + var tenant interface{} + err = json.Unmarshal(*v, &tenant) if err != nil { return err } - adlsdtp.Compression = compression + adlalstp.Tenant = tenant + } + case "subscriptionId": + if v != nil { + var subscriptionID interface{} + err = json.Unmarshal(*v, &subscriptionID) + if err != nil { + return err + } + adlalstp.SubscriptionID = subscriptionID + } + case "resourceGroupName": + if v != nil { + var resourceGroupName interface{} + err = json.Unmarshal(*v, &resourceGroupName) + if err != nil { + return err + } + adlalstp.ResourceGroupName = resourceGroupName + } + case "dataLakeAnalyticsUri": + if v != nil { + var dataLakeAnalyticsURI interface{} + err = json.Unmarshal(*v, &dataLakeAnalyticsURI) + if err != nil { + return err + } + adlalstp.DataLakeAnalyticsURI = dataLakeAnalyticsURI + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + adlalstp.EncryptedCredential = encryptedCredential } } } @@ -6692,163 +7195,651 @@ func (adlsdtp *AzureDataLakeStoreDatasetTypeProperties) UnmarshalJSON(body []byt return nil } -// AzureDataLakeStoreLinkedService azure Data Lake Store linked service. -type AzureDataLakeStoreLinkedService struct { - // AzureDataLakeStoreLinkedServiceTypeProperties - Azure Data Lake Store linked service properties. - *AzureDataLakeStoreLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AzureDataLakeStoreDataset azure Data Lake Store dataset. +type AzureDataLakeStoreDataset struct { + // AzureDataLakeStoreDatasetTypeProperties - Azure Data Lake Store dataset properties. + *AzureDataLakeStoreDatasetTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) MarshalJSON() ([]byte, error) { - adlsls.Type = TypeAzureDataLakeStore +// MarshalJSON is the custom marshaler for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) MarshalJSON() ([]byte, error) { + adlsd.Type = TypeAzureDataLakeStoreFile objectMap := make(map[string]interface{}) - if adlsls.AzureDataLakeStoreLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = adlsls.AzureDataLakeStoreLinkedServiceTypeProperties + if adlsd.AzureDataLakeStoreDatasetTypeProperties != nil { + objectMap["typeProperties"] = adlsd.AzureDataLakeStoreDatasetTypeProperties } - if adlsls.ConnectVia != nil { - objectMap["connectVia"] = adlsls.ConnectVia + if adlsd.Description != nil { + objectMap["description"] = adlsd.Description } - if adlsls.Description != nil { - objectMap["description"] = adlsls.Description + objectMap["structure"] = adlsd.Structure + if adlsd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = adlsd.LinkedServiceName } - objectMap["type"] = adlsls.Type - for k, v := range adlsls.AdditionalProperties { + if adlsd.Parameters != nil { + objectMap["parameters"] = adlsd.Parameters + } + if adlsd.Annotations != nil { + objectMap["annotations"] = adlsd.Annotations + } + objectMap["type"] = adlsd.Type + for k, v := range adlsd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. -func (adlsls AzureDataLakeStoreLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false +// AsCouchbaseTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return &adlsd, true +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for AzureDataLakeStoreDataset. +func (adlsd AzureDataLakeStoreDataset) AsBasicDataset() (BasicDataset, bool) { + return &adlsd, true +} + +// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreDataset struct. +func (adlsd *AzureDataLakeStoreDataset) UnmarshalJSON(body []byte) error { + 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 azureDataLakeStoreDatasetTypeProperties AzureDataLakeStoreDatasetTypeProperties + err = json.Unmarshal(*v, &azureDataLakeStoreDatasetTypeProperties) + if err != nil { + return err + } + adlsd.AzureDataLakeStoreDatasetTypeProperties = &azureDataLakeStoreDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if adlsd.AdditionalProperties == nil { + adlsd.AdditionalProperties = make(map[string]interface{}) + } + adlsd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + adlsd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + adlsd.Structure = structure + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + adlsd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + adlsd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + adlsd.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + adlsd.Type = typeVar + } + } + } + + return nil +} + +// AzureDataLakeStoreDatasetTypeProperties azure Data Lake Store dataset properties. +type AzureDataLakeStoreDatasetTypeProperties struct { + // FolderPath - Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). + FolderPath interface{} `json:"folderPath,omitempty"` + // FileName - The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string). + FileName interface{} `json:"fileName,omitempty"` + // Format - The format of the Data Lake Store. + Format BasicDatasetStorageFormat `json:"format,omitempty"` + // Compression - The data compression method used for the item(s) in the Azure Data Lake Store. + Compression BasicDatasetCompression `json:"compression,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for AzureDataLakeStoreDatasetTypeProperties struct. +func (adlsdtp *AzureDataLakeStoreDatasetTypeProperties) UnmarshalJSON(body []byte) error { + 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 + } + adlsdtp.FolderPath = folderPath + } + case "fileName": + if v != nil { + var fileName interface{} + err = json.Unmarshal(*v, &fileName) + if err != nil { + return err + } + adlsdtp.FileName = fileName + } + case "format": + if v != nil { + formatVar, err := unmarshalBasicDatasetStorageFormat(*v) + if err != nil { + return err + } + adlsdtp.Format = formatVar + } + case "compression": + if v != nil { + compression, err := unmarshalBasicDatasetCompression(*v) + if err != nil { + return err + } + adlsdtp.Compression = compression + } + } + } + + return nil +} + +// AzureDataLakeStoreLinkedService azure Data Lake Store linked service. +type AzureDataLakeStoreLinkedService struct { + // AzureDataLakeStoreLinkedServiceTypeProperties - Azure Data Lake Store linked service properties. + *AzureDataLakeStoreLinkedServiceTypeProperties `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) MarshalJSON() ([]byte, error) { + adlsls.Type = TypeAzureDataLakeStore + objectMap := make(map[string]interface{}) + if adlsls.AzureDataLakeStoreLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = adlsls.AzureDataLakeStoreLinkedServiceTypeProperties + } + if adlsls.ConnectVia != nil { + objectMap["connectVia"] = adlsls.ConnectVia + } + if adlsls.Description != nil { + objectMap["description"] = adlsls.Description + } + if adlsls.Parameters != nil { + objectMap["parameters"] = adlsls.Parameters + } + if adlsls.Annotations != nil { + objectMap["annotations"] = adlsls.Annotations + } + objectMap["type"] = adlsls.Type + for k, v := range adlsls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. +func (adlsls AzureDataLakeStoreLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false } // AsConcurLinkedService is the BasicLinkedService implementation for AzureDataLakeStoreLinkedService. @@ -7109,6 +8100,24 @@ func (adlsls *AzureDataLakeStoreLinkedService) UnmarshalJSON(body []byte) error } adlsls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + adlsls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + adlsls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -7354,7 +8363,7 @@ type AzureDataLakeStoreSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -7377,6 +8386,16 @@ func (adlss AzureDataLakeStoreSource) AsAmazonRedshiftSource() (*AmazonRedshiftS return nil, false } +// AsVerticaSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AzureDataLakeStoreSource. +func (adlss AzureDataLakeStoreSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for AzureDataLakeStoreSource. func (adlss AzureDataLakeStoreSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -7622,7 +8641,11 @@ type AzureKeyVaultLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -7639,6 +8662,12 @@ func (akvls AzureKeyVaultLinkedService) MarshalJSON() ([]byte, error) { if akvls.Description != nil { objectMap["description"] = akvls.Description } + if akvls.Parameters != nil { + objectMap["parameters"] = akvls.Parameters + } + if akvls.Annotations != nil { + objectMap["annotations"] = akvls.Annotations + } objectMap["type"] = akvls.Type for k, v := range akvls.AdditionalProperties { objectMap[k] = v @@ -7646,6 +8675,11 @@ func (akvls AzureKeyVaultLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -7656,6 +8690,16 @@ func (akvls AzureKeyVaultLinkedService) AsHDInsightOnDemandLinkedService() (*HDI return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. +func (akvls AzureKeyVaultLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureKeyVaultLinkedService. func (akvls AzureKeyVaultLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -8029,6 +9073,24 @@ func (akvls *AzureKeyVaultLinkedService) UnmarshalJSON(body []byte) error { } akvls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + akvls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + akvls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -8111,7 +9173,7 @@ type AzureMLBatchExecutionActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -8144,6 +9206,11 @@ func (ambea AzureMLBatchExecutionActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. func (ambea AzureMLBatchExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -8229,6 +9296,11 @@ func (ambea AzureMLBatchExecutionActivity) AsBasicExecutionActivity() (BasicExec return &ambea, true } +// AsFilterActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. +func (ambea AzureMLBatchExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for AzureMLBatchExecutionActivity. func (ambea AzureMLBatchExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -8399,7 +9471,11 @@ type AzureMLLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -8416,6 +9492,12 @@ func (amls AzureMLLinkedService) MarshalJSON() ([]byte, error) { if amls.Description != nil { objectMap["description"] = amls.Description } + if amls.Parameters != nil { + objectMap["parameters"] = amls.Parameters + } + if amls.Annotations != nil { + objectMap["annotations"] = amls.Annotations + } objectMap["type"] = amls.Type for k, v := range amls.AdditionalProperties { objectMap[k] = v @@ -8423,6 +9505,11 @@ func (amls AzureMLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -8433,6 +9520,16 @@ func (amls AzureMLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightO return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. +func (amls AzureMLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureMLLinkedService. func (amls AzureMLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -8806,6 +9903,24 @@ func (amls *AzureMLLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -8931,7 +10046,7 @@ type AzureMLUpdateResourceActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -8964,6 +10079,11 @@ func (amura AzureMLUpdateResourceActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. func (amura AzureMLUpdateResourceActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -9049,6 +10169,11 @@ func (amura AzureMLUpdateResourceActivity) AsBasicExecutionActivity() (BasicExec return &amura, true } +// AsFilterActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. +func (amura AzureMLUpdateResourceActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for AzureMLUpdateResourceActivity. func (amura AzureMLUpdateResourceActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -9212,7 +10337,11 @@ type AzureMySQLLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -9229,6 +10358,12 @@ func (amsls AzureMySQLLinkedService) MarshalJSON() ([]byte, error) { if amsls.Description != nil { objectMap["description"] = amsls.Description } + if amsls.Parameters != nil { + objectMap["parameters"] = amsls.Parameters + } + if amsls.Annotations != nil { + objectMap["annotations"] = amsls.Annotations + } objectMap["type"] = amsls.Type for k, v := range amsls.AdditionalProperties { objectMap[k] = v @@ -9236,6 +10371,11 @@ func (amsls AzureMySQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -9246,6 +10386,16 @@ func (amsls AzureMySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsi return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. +func (amsls AzureMySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureMySQLLinkedService. func (amsls AzureMySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -9619,6 +10769,24 @@ func (amsls *AzureMySQLLinkedService) UnmarshalJSON(body []byte) error { } amsls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + amsls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + amsls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -9684,7 +10852,7 @@ type AzureMySQLSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -9707,6 +10875,16 @@ func (amss AzureMySQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bo return nil, false } +// AsVerticaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AzureMySQLSource. +func (amss AzureMySQLSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for AzureMySQLSource. func (amss AzureMySQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -9956,7 +11134,9 @@ type AzureMySQLTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -9977,6 +11157,9 @@ func (amstd AzureMySQLTableDataset) MarshalJSON() ([]byte, error) { if amstd.Parameters != nil { objectMap["parameters"] = amstd.Parameters } + if amstd.Annotations != nil { + objectMap["annotations"] = amstd.Annotations + } objectMap["type"] = amstd.Type for k, v := range amstd.AdditionalProperties { objectMap[k] = v @@ -9984,6 +11167,16 @@ func (amstd AzureMySQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -10305,6 +11498,15 @@ func (amstd *AzureMySQLTableDataset) UnmarshalJSON(body []byte) error { } amstd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + amstd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -10336,7 +11538,11 @@ type AzurePostgreSQLLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -10353,6 +11559,12 @@ func (apsls AzurePostgreSQLLinkedService) MarshalJSON() ([]byte, error) { if apsls.Description != nil { objectMap["description"] = apsls.Description } + if apsls.Parameters != nil { + objectMap["parameters"] = apsls.Parameters + } + if apsls.Annotations != nil { + objectMap["annotations"] = apsls.Annotations + } objectMap["type"] = apsls.Type for k, v := range apsls.AdditionalProperties { objectMap[k] = v @@ -10360,6 +11572,11 @@ func (apsls AzurePostgreSQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -10370,6 +11587,16 @@ func (apsls AzurePostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*H return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. +func (apsls AzurePostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzurePostgreSQLLinkedService. func (apsls AzurePostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -10743,6 +11970,24 @@ func (apsls *AzurePostgreSQLLinkedService) UnmarshalJSON(body []byte) error { } apsls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + apsls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + apsls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -10808,7 +12053,7 @@ type AzurePostgreSQLSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -10831,6 +12076,16 @@ func (apss AzurePostgreSQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSourc return nil, false } +// AsVerticaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AzurePostgreSQLSource. +func (apss AzurePostgreSQLSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for AzurePostgreSQLSource. func (apss AzurePostgreSQLSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -11078,7 +12333,9 @@ type AzurePostgreSQLTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -11096,6 +12353,9 @@ func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) { if apstd.Parameters != nil { objectMap["parameters"] = apstd.Parameters } + if apstd.Annotations != nil { + objectMap["annotations"] = apstd.Annotations + } objectMap["type"] = apstd.Type for k, v := range apstd.AdditionalProperties { objectMap[k] = v @@ -11103,6 +12363,16 @@ func (apstd AzurePostgreSQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. +func (apstd AzurePostgreSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AzurePostgreSQLTableDataset. func (apstd AzurePostgreSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -11483,7 +12753,9 @@ type AzureSearchIndexDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -11504,6 +12776,9 @@ func (asid AzureSearchIndexDataset) MarshalJSON() ([]byte, error) { if asid.Parameters != nil { objectMap["parameters"] = asid.Parameters } + if asid.Annotations != nil { + objectMap["annotations"] = asid.Annotations + } objectMap["type"] = asid.Type for k, v := range asid.AdditionalProperties { objectMap[k] = v @@ -11511,6 +12786,16 @@ func (asid AzureSearchIndexDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AzureSearchIndexDataset. +func (asid AzureSearchIndexDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AzureSearchIndexDataset. func (asid AzureSearchIndexDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -11832,6 +13117,15 @@ func (asid *AzureSearchIndexDataset) UnmarshalJSON(body []byte) error { } asid.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + asid.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -11977,7 +13271,11 @@ type AzureSearchLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -11994,6 +13292,12 @@ func (asls AzureSearchLinkedService) MarshalJSON() ([]byte, error) { if asls.Description != nil { objectMap["description"] = asls.Description } + if asls.Parameters != nil { + objectMap["parameters"] = asls.Parameters + } + if asls.Annotations != nil { + objectMap["annotations"] = asls.Annotations + } objectMap["type"] = asls.Type for k, v := range asls.AdditionalProperties { objectMap[k] = v @@ -12001,6 +13305,11 @@ func (asls AzureSearchLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -12011,6 +13320,16 @@ func (asls AzureSearchLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsi return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. +func (asls AzureSearchLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureSearchLinkedService. func (asls AzureSearchLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -12384,6 +13703,24 @@ func (asls *AzureSearchLinkedService) UnmarshalJSON(body []byte) error { } asls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + asls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + asls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -12460,7 +13797,11 @@ type AzureSQLDatabaseLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -12477,6 +13818,12 @@ func (asdls AzureSQLDatabaseLinkedService) MarshalJSON() ([]byte, error) { if asdls.Description != nil { objectMap["description"] = asdls.Description } + if asdls.Parameters != nil { + objectMap["parameters"] = asdls.Parameters + } + if asdls.Annotations != nil { + objectMap["annotations"] = asdls.Annotations + } objectMap["type"] = asdls.Type for k, v := range asdls.AdditionalProperties { objectMap[k] = v @@ -12484,6 +13831,11 @@ func (asdls AzureSQLDatabaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -12494,6 +13846,16 @@ func (asdls AzureSQLDatabaseLinkedService) AsHDInsightOnDemandLinkedService() (* return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. +func (asdls AzureSQLDatabaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDatabaseLinkedService. func (asdls AzureSQLDatabaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -12867,6 +14229,24 @@ func (asdls *AzureSQLDatabaseLinkedService) UnmarshalJSON(body []byte) error { } 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 + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -12964,7 +14344,11 @@ type AzureSQLDWLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -12981,6 +14365,12 @@ func (asdls AzureSQLDWLinkedService) MarshalJSON() ([]byte, error) { if asdls.Description != nil { objectMap["description"] = asdls.Description } + if asdls.Parameters != nil { + objectMap["parameters"] = asdls.Parameters + } + if asdls.Annotations != nil { + objectMap["annotations"] = asdls.Annotations + } objectMap["type"] = asdls.Type for k, v := range asdls.AdditionalProperties { objectMap[k] = v @@ -12988,6 +14378,11 @@ func (asdls AzureSQLDWLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -12998,6 +14393,16 @@ func (asdls AzureSQLDWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsi return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. +func (asdls AzureSQLDWLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureSQLDWLinkedService. func (asdls AzureSQLDWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -13371,6 +14776,24 @@ func (asdls *AzureSQLDWLinkedService) UnmarshalJSON(body []byte) error { } 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 + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -13472,7 +14895,9 @@ type AzureSQLDWTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -13493,6 +14918,9 @@ func (asdtd AzureSQLDWTableDataset) MarshalJSON() ([]byte, error) { if asdtd.Parameters != nil { objectMap["parameters"] = asdtd.Parameters } + if asdtd.Annotations != nil { + objectMap["annotations"] = asdtd.Annotations + } objectMap["type"] = asdtd.Type for k, v := range asdtd.AdditionalProperties { objectMap[k] = v @@ -13500,6 +14928,16 @@ func (asdtd AzureSQLDWTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -13821,6 +15259,15 @@ func (asdtd *AzureSQLDWTableDataset) UnmarshalJSON(body []byte) error { } asdtd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + asdtd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -13856,7 +15303,9 @@ type AzureSQLTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -13877,6 +15326,9 @@ func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) { if astd.Parameters != nil { objectMap["parameters"] = astd.Parameters } + if astd.Annotations != nil { + objectMap["annotations"] = astd.Annotations + } objectMap["type"] = astd.Type for k, v := range astd.AdditionalProperties { objectMap[k] = v @@ -13884,6 +15336,16 @@ func (astd AzureSQLTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AzureSQLTableDataset. +func (astd AzureSQLTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AzureSQLTableDataset. func (astd AzureSQLTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -14205,6 +15667,15 @@ func (astd *AzureSQLTableDataset) UnmarshalJSON(body []byte) error { } astd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + astd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -14236,7 +15707,11 @@ type AzureStorageLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -14253,6 +15728,12 @@ func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { if asls.Description != nil { objectMap["description"] = asls.Description } + if asls.Parameters != nil { + objectMap["parameters"] = asls.Parameters + } + if asls.Annotations != nil { + objectMap["annotations"] = asls.Annotations + } objectMap["type"] = asls.Type for k, v := range asls.AdditionalProperties { objectMap[k] = v @@ -14260,6 +15741,11 @@ func (asls AzureStorageLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. func (asls AzureStorageLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -14270,6 +15756,16 @@ func (asls AzureStorageLinkedService) AsHDInsightOnDemandLinkedService() (*HDIns return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. +func (asls AzureStorageLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for AzureStorageLinkedService. func (asls AzureStorageLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -14643,6 +16139,24 @@ func (asls *AzureStorageLinkedService) UnmarshalJSON(body []byte) error { } asls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + asls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + asls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -14722,7 +16236,9 @@ type AzureTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -14743,6 +16259,9 @@ func (atd AzureTableDataset) MarshalJSON() ([]byte, error) { if atd.Parameters != nil { objectMap["parameters"] = atd.Parameters } + if atd.Annotations != nil { + objectMap["annotations"] = atd.Annotations + } objectMap["type"] = atd.Type for k, v := range atd.AdditionalProperties { objectMap[k] = v @@ -14750,6 +16269,16 @@ func (atd AzureTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for AzureTableDataset. +func (atd AzureTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for AzureTableDataset. func (atd AzureTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -15071,6 +16600,15 @@ func (atd *AzureTableDataset) UnmarshalJSON(body []byte) error { } atd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + atd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -15227,7 +16765,7 @@ type AzureTableSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -15251,6 +16789,16 @@ func (ats AzureTableSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, boo return nil, false } +// AsVerticaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for AzureTableSource. +func (ats AzureTableSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for AzureTableSource. func (ats AzureTableSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -15623,7 +17171,7 @@ type BlobSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -15648,6 +17196,16 @@ func (bs BlobSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for BlobSource. +func (bs BlobSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for BlobSource. func (bs BlobSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -16047,7 +17605,11 @@ type CassandraLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -16064,6 +17626,12 @@ func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) { if cls.Description != nil { objectMap["description"] = cls.Description } + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters + } + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations + } objectMap["type"] = cls.Type for k, v := range cls.AdditionalProperties { objectMap[k] = v @@ -16071,6 +17639,11 @@ func (cls CassandraLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CassandraLinkedService. func (cls CassandraLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -16081,6 +17654,16 @@ func (cls CassandraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsight return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for CassandraLinkedService. +func (cls CassandraLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for CassandraLinkedService. func (cls CassandraLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -16454,6 +18037,24 @@ func (cls *CassandraLinkedService) UnmarshalJSON(body []byte) error { } 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": + 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 TypeBasicLinkedService @@ -16565,7 +18166,7 @@ type CassandraSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -16589,6 +18190,16 @@ func (cs CassandraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) return nil, false } +// AsVerticaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for CassandraSource. +func (cs CassandraSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for CassandraSource. func (cs CassandraSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -16838,7 +18449,9 @@ type CassandraTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -16859,6 +18472,9 @@ func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) { if ctd.Parameters != nil { objectMap["parameters"] = ctd.Parameters } + if ctd.Annotations != nil { + objectMap["annotations"] = ctd.Annotations + } objectMap["type"] = ctd.Type for k, v := range ctd.AdditionalProperties { objectMap[k] = v @@ -16866,6 +18482,16 @@ func (ctd CassandraTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for CassandraTableDataset. +func (ctd CassandraTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for CassandraTableDataset. func (ctd CassandraTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -17187,6 +18813,15 @@ func (ctd *CassandraTableDataset) UnmarshalJSON(body []byte) error { } 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 "type": if v != nil { var typeVar TypeBasicDataset @@ -17220,7 +18855,11 @@ type ConcurLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -17237,6 +18876,12 @@ func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) { if cls.Description != nil { objectMap["description"] = cls.Description } + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters + } + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations + } objectMap["type"] = cls.Type for k, v := range cls.AdditionalProperties { objectMap[k] = v @@ -17244,6 +18889,11 @@ func (cls ConcurLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ConcurLinkedService. func (cls ConcurLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -17254,6 +18904,16 @@ func (cls ConcurLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnD return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for ConcurLinkedService. +func (cls ConcurLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for ConcurLinkedService. func (cls ConcurLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -17627,6 +19287,24 @@ func (cls *ConcurLinkedService) UnmarshalJSON(body []byte) error { } 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": + 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 TypeBasicLinkedService @@ -17749,7 +19427,9 @@ type ConcurObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -17767,6 +19447,9 @@ func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) { if cod.Parameters != nil { objectMap["parameters"] = cod.Parameters } + if cod.Annotations != nil { + objectMap["annotations"] = cod.Annotations + } objectMap["type"] = cod.Type for k, v := range cod.AdditionalProperties { objectMap[k] = v @@ -17774,6 +19457,16 @@ func (cod ConcurObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for ConcurObjectDataset. +func (cod ConcurObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for ConcurObjectDataset. func (cod ConcurObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -18039,7 +19732,7 @@ type ConcurSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -18062,6 +19755,16 @@ func (cs ConcurSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for ConcurSource. +func (cs ConcurSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for ConcurSource. func (cs ConcurSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -18299,6 +20002,7 @@ func (cs ConcurSource) AsBasicCopySource() (BasicCopySource, bool) { // BasicControlActivity base class for all control activities like IfCondition, ForEach , Until. type BasicControlActivity interface { + AsFilterActivity() (*FilterActivity, bool) AsUntilActivity() (*UntilActivity, bool) AsWaitActivity() (*WaitActivity, bool) AsForEachActivity() (*ForEachActivity, bool) @@ -18317,7 +20021,7 @@ type ControlActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -18329,6 +20033,10 @@ func unmarshalBasicControlActivity(body []byte) (BasicControlActivity, error) { } switch m["type"] { + case string(TypeFilter): + var fa FilterActivity + err := json.Unmarshal(body, &fa) + return fa, err case string(TypeUntil): var ua UntilActivity err := json.Unmarshal(body, &ua) @@ -18394,6 +20102,11 @@ func (ca ControlActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ControlActivity. func (ca ControlActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -18479,6 +20192,11 @@ func (ca ControlActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bo return nil, false } +// AsFilterActivity is the BasicActivity implementation for ControlActivity. +func (ca ControlActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for ControlActivity. func (ca ControlActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -18544,7 +20262,7 @@ type CopyActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -18583,6 +20301,11 @@ func (ca CopyActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CopyActivity. func (ca CopyActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -18668,6 +20391,11 @@ func (ca CopyActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) return &ca, true } +// AsFilterActivity is the BasicActivity implementation for CopyActivity. +func (ca CopyActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for CopyActivity. func (ca CopyActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -19158,6 +20886,8 @@ func (cs CopySink) AsBasicCopySink() (BasicCopySink, bool) { // BasicCopySource a copy activity source. type BasicCopySource interface { AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) + AsVerticaSource() (*VerticaSource, bool) + AsNetezzaSource() (*NetezzaSource, bool) AsZohoSource() (*ZohoSource, bool) AsXeroSource() (*XeroSource, bool) AsSquareSource() (*SquareSource, bool) @@ -19214,7 +20944,7 @@ type CopySource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -19230,6 +20960,14 @@ func unmarshalBasicCopySource(body []byte) (BasicCopySource, error) { var ars AmazonRedshiftSource err := json.Unmarshal(body, &ars) return ars, 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) @@ -19453,6 +21191,16 @@ func (cs CopySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for CopySource. +func (cs CopySource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for CopySource. func (cs CopySource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -19775,7 +21523,11 @@ type CosmosDbLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -19792,6 +21544,12 @@ func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { if cdls.Description != nil { objectMap["description"] = cdls.Description } + if cdls.Parameters != nil { + objectMap["parameters"] = cdls.Parameters + } + if cdls.Annotations != nil { + objectMap["annotations"] = cdls.Annotations + } objectMap["type"] = cdls.Type for k, v := range cdls.AdditionalProperties { objectMap[k] = v @@ -19799,6 +21557,11 @@ func (cdls CosmosDbLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. func (cdls CosmosDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -19809,6 +21572,16 @@ func (cdls CosmosDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsight return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. +func (cdls CosmosDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for CosmosDbLinkedService. func (cdls CosmosDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -20182,6 +21955,24 @@ func (cdls *CosmosDbLinkedService) UnmarshalJSON(body []byte) error { } cdls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + cdls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + cdls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -20247,7 +22038,11 @@ type CouchbaseLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -20264,6 +22059,12 @@ func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { if cls.Description != nil { objectMap["description"] = cls.Description } + if cls.Parameters != nil { + objectMap["parameters"] = cls.Parameters + } + if cls.Annotations != nil { + objectMap["annotations"] = cls.Annotations + } objectMap["type"] = cls.Type for k, v := range cls.AdditionalProperties { objectMap[k] = v @@ -20271,6 +22072,11 @@ func (cls CouchbaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -20281,6 +22087,16 @@ func (cls CouchbaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsight 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 @@ -20654,6 +22470,24 @@ func (cls *CouchbaseLinkedService) UnmarshalJSON(body []byte) error { } 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": + 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 TypeBasicLinkedService @@ -20719,7 +22553,7 @@ type CouchbaseSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -20742,6 +22576,16 @@ func (cs CouchbaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) return nil, false } +// AsVerticaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for CouchbaseSource. +func (cs CouchbaseSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for CouchbaseSource. func (cs CouchbaseSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -20989,7 +22833,9 @@ type CouchbaseTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -21007,6 +22853,9 @@ func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { if ctd.Parameters != nil { objectMap["parameters"] = ctd.Parameters } + if ctd.Annotations != nil { + objectMap["annotations"] = ctd.Annotations + } objectMap["type"] = ctd.Type for k, v := range ctd.AdditionalProperties { objectMap[k] = v @@ -21014,6 +22863,16 @@ func (ctd CouchbaseTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for CouchbaseTableDataset. +func (ctd CouchbaseTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for CouchbaseTableDataset. func (ctd CouchbaseTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -21292,7 +23151,7 @@ type CustomActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -21325,6 +23184,11 @@ func (ca CustomActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for CustomActivity. func (ca CustomActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -21410,6 +23274,11 @@ func (ca CustomActivity) AsBasicExecutionActivity() (BasicExecutionActivity, boo return &ca, true } +// AsFilterActivity is the BasicActivity implementation for CustomActivity. +func (ca CustomActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for CustomActivity. func (ca CustomActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -21598,7 +23467,9 @@ type CustomDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -21617,6 +23488,9 @@ func (cd CustomDataset) MarshalJSON() ([]byte, error) { if cd.Parameters != nil { objectMap["parameters"] = cd.Parameters } + if cd.Annotations != nil { + objectMap["annotations"] = cd.Annotations + } objectMap["type"] = cd.Type for k, v := range cd.AdditionalProperties { objectMap[k] = v @@ -21624,6 +23498,16 @@ func (cd CustomDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for CustomDataset. +func (cd CustomDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for CustomDataset. func (cd CustomDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -21889,7 +23773,11 @@ type CustomDataSourceLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -21904,6 +23792,12 @@ func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { if cdsls.Description != nil { objectMap["description"] = cdsls.Description } + if cdsls.Parameters != nil { + objectMap["parameters"] = cdsls.Parameters + } + if cdsls.Annotations != nil { + objectMap["annotations"] = cdsls.Annotations + } objectMap["type"] = cdsls.Type for k, v := range cdsls.AdditionalProperties { objectMap[k] = v @@ -21911,6 +23805,11 @@ func (cdsls CustomDataSourceLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. func (cdsls CustomDataSourceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -21921,6 +23820,16 @@ func (cdsls CustomDataSourceLinkedService) AsHDInsightOnDemandLinkedService() (* return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. +func (cdsls CustomDataSourceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for CustomDataSourceLinkedService. func (cdsls CustomDataSourceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -22246,6 +24155,303 @@ func (cdsls CustomDataSourceLinkedService) AsBasicLinkedService() (BasicLinkedSe return &cdsls, true } +// DatabricksNotebookActivity databricksNotebook activity. +type DatabricksNotebookActivity struct { + // DatabricksNotebookActivityTypeProperties - Databricks Notebook activity properties. + *DatabricksNotebookActivityTypeProperties `json:"typeProperties,omitempty"` + // LinkedServiceName - Linked service reference. + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + // Policy - Activity policy. + Policy *ActivityPolicy `json:"policy,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) MarshalJSON() ([]byte, error) { + dna.Type = TypeDatabricksNotebook + objectMap := make(map[string]interface{}) + if dna.DatabricksNotebookActivityTypeProperties != nil { + objectMap["typeProperties"] = dna.DatabricksNotebookActivityTypeProperties + } + if dna.LinkedServiceName != nil { + objectMap["linkedServiceName"] = dna.LinkedServiceName + } + if dna.Policy != nil { + objectMap["policy"] = dna.Policy + } + if dna.Name != nil { + objectMap["name"] = dna.Name + } + if dna.Description != nil { + objectMap["description"] = dna.Description + } + if dna.DependsOn != nil { + objectMap["dependsOn"] = dna.DependsOn + } + objectMap["type"] = dna.Type + for k, v := range dna.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// 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) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &dna, true +} + +// AsFilterActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + +// AsUntilActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsControlActivity() (*ControlActivity, bool) { + return nil, false +} + +// AsBasicControlActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return nil, false +} + +// AsActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsActivity() (*Activity, bool) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for DatabricksNotebookActivity. +func (dna DatabricksNotebookActivity) AsBasicActivity() (BasicActivity, bool) { + return &dna, true +} + +// UnmarshalJSON is the custom unmarshaler for DatabricksNotebookActivity struct. +func (dna *DatabricksNotebookActivity) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var databricksNotebookActivityTypeProperties DatabricksNotebookActivityTypeProperties + err = json.Unmarshal(*v, &databricksNotebookActivityTypeProperties) + if err != nil { + return err + } + dna.DatabricksNotebookActivityTypeProperties = &databricksNotebookActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + dna.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + dna.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if dna.AdditionalProperties == nil { + dna.AdditionalProperties = make(map[string]interface{}) + } + dna.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + dna.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + dna.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + dna.DependsOn = &dependsOn + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dna.Type = typeVar + } + } + } + + return nil +} + +// DatabricksNotebookActivityTypeProperties databricks Notebook activity properties. +type DatabricksNotebookActivityTypeProperties struct { + // NotebookPath - The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). + NotebookPath interface{} `json:"notebookPath,omitempty"` + // BaseParameters - Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. + BaseParameters map[string]interface{} `json:"baseParameters"` +} + +// MarshalJSON is the custom marshaler for DatabricksNotebookActivityTypeProperties. +func (dnatp DatabricksNotebookActivityTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["notebookPath"] = dnatp.NotebookPath + if dnatp.BaseParameters != nil { + objectMap["baseParameters"] = dnatp.BaseParameters + } + return json.Marshal(objectMap) +} + // DataLakeAnalyticsUSQLActivity data Lake Analytics U-SQL activity. type DataLakeAnalyticsUSQLActivity struct { // DataLakeAnalyticsUSQLActivityTypeProperties - Data Lake Analytics U-SQL activity properties. @@ -22262,7 +24468,7 @@ type DataLakeAnalyticsUSQLActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -22295,6 +24501,11 @@ func (dlaua DataLakeAnalyticsUSQLActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. func (dlaua DataLakeAnalyticsUSQLActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return &dlaua, true @@ -22380,6 +24591,11 @@ func (dlaua DataLakeAnalyticsUSQLActivity) AsBasicExecutionActivity() (BasicExec return &dlaua, true } +// AsFilterActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. +func (dlaua DataLakeAnalyticsUSQLActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for DataLakeAnalyticsUSQLActivity. func (dlaua DataLakeAnalyticsUSQLActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -22553,6 +24769,8 @@ func (dlauatp DataLakeAnalyticsUSQLActivityTypeProperties) MarshalJSON() ([]byte // BasicDataset the Azure Data Factory nested object which identifies data within different data stores, such as // tables, files, folders, and documents. type BasicDataset interface { + AsVerticaTableDataset() (*VerticaTableDataset, bool) + AsNetezzaTableDataset() (*NetezzaTableDataset, bool) AsZohoObjectDataset() (*ZohoObjectDataset, bool) AsXeroObjectDataset() (*XeroObjectDataset, bool) AsSquareObjectDataset() (*SquareObjectDataset, bool) @@ -22618,7 +24836,9 @@ type Dataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -22630,6 +24850,14 @@ func unmarshalBasicDataset(body []byte) (BasicDataset, error) { } switch m["type"] { + 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) @@ -22865,6 +25093,9 @@ func (d Dataset) MarshalJSON() ([]byte, error) { if d.Parameters != nil { objectMap["parameters"] = d.Parameters } + if d.Annotations != nil { + objectMap["annotations"] = d.Annotations + } objectMap["type"] = d.Type for k, v := range d.AdditionalProperties { objectMap[k] = v @@ -22872,6 +25103,16 @@ func (d Dataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for Dataset. +func (d Dataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for Dataset. func (d Dataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -23773,7 +26014,11 @@ type Db2LinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -23790,6 +26035,12 @@ func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) { if d2ls.Description != nil { objectMap["description"] = d2ls.Description } + if d2ls.Parameters != nil { + objectMap["parameters"] = d2ls.Parameters + } + if d2ls.Annotations != nil { + objectMap["annotations"] = d2ls.Annotations + } objectMap["type"] = d2ls.Type for k, v := range d2ls.AdditionalProperties { objectMap[k] = v @@ -23797,6 +26048,11 @@ func (d2ls Db2LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for Db2LinkedService. func (d2ls Db2LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -23807,6 +26063,16 @@ func (d2ls Db2LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for Db2LinkedService. +func (d2ls Db2LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for Db2LinkedService. func (d2ls Db2LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -24180,6 +26446,24 @@ func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { } d2ls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + d2ls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + d2ls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -24314,7 +26598,9 @@ type DocumentDbCollectionDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -24335,6 +26621,9 @@ func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) { if ddcd.Parameters != nil { objectMap["parameters"] = ddcd.Parameters } + if ddcd.Annotations != nil { + objectMap["annotations"] = ddcd.Annotations + } objectMap["type"] = ddcd.Type for k, v := range ddcd.AdditionalProperties { objectMap[k] = v @@ -24342,6 +26631,16 @@ func (ddcd DocumentDbCollectionDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for DocumentDbCollectionDataset. +func (ddcd DocumentDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for DocumentDbCollectionDataset. func (ddcd DocumentDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -24663,6 +26962,15 @@ func (ddcd *DocumentDbCollectionDataset) UnmarshalJSON(body []byte) error { } ddcd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ddcd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -24810,7 +27118,7 @@ type DocumentDbCollectionSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -24834,6 +27142,16 @@ func (ddcs DocumentDbCollectionSource) AsAmazonRedshiftSource() (*AmazonRedshift return nil, false } +// AsVerticaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for DocumentDbCollectionSource. +func (ddcs DocumentDbCollectionSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for DocumentDbCollectionSource. func (ddcs DocumentDbCollectionSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -25079,7 +27397,11 @@ type DrillLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -25096,6 +27418,12 @@ func (dls DrillLinkedService) MarshalJSON() ([]byte, error) { if dls.Description != nil { objectMap["description"] = dls.Description } + if dls.Parameters != nil { + objectMap["parameters"] = dls.Parameters + } + if dls.Annotations != nil { + objectMap["annotations"] = dls.Annotations + } objectMap["type"] = dls.Type for k, v := range dls.AdditionalProperties { objectMap[k] = v @@ -25103,6 +27431,11 @@ func (dls DrillLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DrillLinkedService. func (dls DrillLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -25113,6 +27446,16 @@ func (dls DrillLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDe return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for DrillLinkedService. +func (dls DrillLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for DrillLinkedService. func (dls DrillLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -25486,6 +27829,24 @@ func (dls *DrillLinkedService) UnmarshalJSON(body []byte) error { } dls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + 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 TypeBasicLinkedService @@ -25551,7 +27912,7 @@ type DrillSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -25574,6 +27935,16 @@ func (ds DrillSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for DrillSource. +func (ds DrillSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for DrillSource. func (ds DrillSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -25821,7 +28192,9 @@ type DrillTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -25839,6 +28212,9 @@ func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { if dtd.Parameters != nil { objectMap["parameters"] = dtd.Parameters } + if dtd.Annotations != nil { + objectMap["annotations"] = dtd.Annotations + } objectMap["type"] = dtd.Type for k, v := range dtd.AdditionalProperties { objectMap[k] = v @@ -25846,6 +28222,16 @@ func (dtd DrillTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for DrillTableDataset. +func (dtd DrillTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for DrillTableDataset. func (dtd DrillTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -26115,7 +28501,9 @@ type DynamicsEntityDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -26136,6 +28524,9 @@ func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { if ded.Parameters != nil { objectMap["parameters"] = ded.Parameters } + if ded.Annotations != nil { + objectMap["annotations"] = ded.Annotations + } objectMap["type"] = ded.Type for k, v := range ded.AdditionalProperties { objectMap[k] = v @@ -26143,6 +28534,16 @@ func (ded DynamicsEntityDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for DynamicsEntityDataset. +func (ded DynamicsEntityDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for DynamicsEntityDataset. func (ded DynamicsEntityDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -26464,6 +28865,15 @@ func (ded *DynamicsEntityDataset) UnmarshalJSON(body []byte) error { } ded.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ded.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -26495,7 +28905,11 @@ type DynamicsLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -26512,6 +28926,12 @@ func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) { if dls.Description != nil { objectMap["description"] = dls.Description } + if dls.Parameters != nil { + objectMap["parameters"] = dls.Parameters + } + if dls.Annotations != nil { + objectMap["annotations"] = dls.Annotations + } objectMap["type"] = dls.Type for k, v := range dls.AdditionalProperties { objectMap[k] = v @@ -26519,6 +28939,11 @@ func (dls DynamicsLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. func (dls DynamicsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -26529,6 +28954,16 @@ func (dls DynamicsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightO return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. +func (dls DynamicsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for DynamicsLinkedService. func (dls DynamicsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -26902,6 +29337,24 @@ func (dls *DynamicsLinkedService) UnmarshalJSON(body []byte) error { } dls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + 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 TypeBasicLinkedService @@ -27152,7 +29605,7 @@ type DynamicsSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -27175,6 +29628,16 @@ func (ds DynamicsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) return nil, false } +// AsVerticaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for DynamicsSource. +func (ds DynamicsSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for DynamicsSource. func (ds DynamicsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -27420,7 +29883,11 @@ type EloquaLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -27437,6 +29904,12 @@ func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { if els.Description != nil { objectMap["description"] = els.Description } + if els.Parameters != nil { + objectMap["parameters"] = els.Parameters + } + if els.Annotations != nil { + objectMap["annotations"] = els.Annotations + } objectMap["type"] = els.Type for k, v := range els.AdditionalProperties { objectMap[k] = v @@ -27444,6 +29917,11 @@ func (els EloquaLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for EloquaLinkedService. func (els EloquaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -27454,6 +29932,16 @@ func (els EloquaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnD return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for EloquaLinkedService. +func (els EloquaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for EloquaLinkedService. func (els EloquaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -27827,6 +30315,24 @@ func (els *EloquaLinkedService) UnmarshalJSON(body []byte) error { } els.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + els.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + els.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -27949,7 +30455,9 @@ type EloquaObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -27967,6 +30475,9 @@ func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { if eod.Parameters != nil { objectMap["parameters"] = eod.Parameters } + if eod.Annotations != nil { + objectMap["annotations"] = eod.Annotations + } objectMap["type"] = eod.Type for k, v := range eod.AdditionalProperties { objectMap[k] = v @@ -27974,6 +30485,16 @@ func (eod EloquaObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for EloquaObjectDataset. +func (eod EloquaObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for EloquaObjectDataset. func (eod EloquaObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -28239,7 +30760,7 @@ type EloquaSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -28262,6 +30783,16 @@ func (es EloquaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for EloquaSource. +func (es EloquaSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for EloquaSource. func (es EloquaSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -28521,7 +31052,7 @@ type ExecutePipelineActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -28548,6 +31079,11 @@ func (epa ExecutePipelineActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutePipelineActivity. func (epa ExecutePipelineActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -28633,6 +31169,11 @@ func (epa ExecutePipelineActivity) AsBasicExecutionActivity() (BasicExecutionAct return nil, false } +// AsFilterActivity is the BasicActivity implementation for ExecutePipelineActivity. +func (epa ExecutePipelineActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for ExecutePipelineActivity. func (epa ExecutePipelineActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -28791,7 +31332,7 @@ type ExecuteSSISPackageActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -28824,6 +31365,11 @@ func (espa ExecuteSSISPackageActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. func (espa ExecuteSSISPackageActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -28909,6 +31455,11 @@ func (espa ExecuteSSISPackageActivity) AsBasicExecutionActivity() (BasicExecutio return &espa, true } +// AsFilterActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. +func (espa ExecuteSSISPackageActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for ExecuteSSISPackageActivity. func (espa ExecuteSSISPackageActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -29060,6 +31611,7 @@ type ExecuteSSISPackageActivityTypeProperties struct { // BasicExecutionActivity base class for all execution activities. type BasicExecutionActivity interface { + AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) @@ -29092,7 +31644,7 @@ type ExecutionActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -29104,6 +31656,10 @@ func unmarshalBasicExecutionActivity(body []byte) (BasicExecutionActivity, error } switch m["type"] { + 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) @@ -29215,6 +31771,11 @@ func (ea ExecutionActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ExecutionActivity. func (ea ExecutionActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -29300,6 +31861,11 @@ func (ea ExecutionActivity) AsBasicExecutionActivity() (BasicExecutionActivity, return &ea, true } +// AsFilterActivity is the BasicActivity implementation for ExecutionActivity. +func (ea ExecutionActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for ExecutionActivity. func (ea ExecutionActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -29646,7 +32212,11 @@ type FileServerLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -29663,6 +32233,12 @@ func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) { if fsls.Description != nil { objectMap["description"] = fsls.Description } + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters + } + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations + } objectMap["type"] = fsls.Type for k, v := range fsls.AdditionalProperties { objectMap[k] = v @@ -29670,6 +32246,11 @@ func (fsls FileServerLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FileServerLinkedService. func (fsls FileServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -29680,6 +32261,16 @@ func (fsls FileServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsig return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for FileServerLinkedService. +func (fsls FileServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for FileServerLinkedService. func (fsls FileServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -30053,6 +32644,24 @@ func (fsls *FileServerLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -30144,7 +32753,9 @@ type FileShareDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -30165,6 +32776,9 @@ func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { if fsd.Parameters != nil { objectMap["parameters"] = fsd.Parameters } + if fsd.Annotations != nil { + objectMap["annotations"] = fsd.Annotations + } objectMap["type"] = fsd.Type for k, v := range fsd.AdditionalProperties { objectMap[k] = v @@ -30172,6 +32786,16 @@ func (fsd FileShareDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for FileShareDataset. +func (fsd FileShareDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for FileShareDataset. func (fsd FileShareDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -30493,6 +33117,15 @@ func (fsd *FileShareDataset) UnmarshalJSON(body []byte) error { } fsd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + fsd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -30704,7 +33337,7 @@ type FileSystemSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -30727,6 +33360,16 @@ func (fss FileSystemSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, boo return nil, false } +// AsVerticaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for FileSystemSource. +func (fss FileSystemSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for FileSystemSource. func (fss FileSystemSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -30962,6 +33605,265 @@ func (fss FileSystemSource) AsBasicCopySource() (BasicCopySource, bool) { return &fss, true } +// FilterActivity filter and return results from input array based on the conditions. +type FilterActivity struct { + // FilterActivityTypeProperties - Filter activity properties. + *FilterActivityTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Name - Activity name. + Name *string `json:"name,omitempty"` + // Description - Activity description. + Description *string `json:"description,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for FilterActivity. +func (fa FilterActivity) MarshalJSON() ([]byte, error) { + fa.Type = TypeFilter + objectMap := make(map[string]interface{}) + if fa.FilterActivityTypeProperties != nil { + objectMap["typeProperties"] = fa.FilterActivityTypeProperties + } + if fa.Name != nil { + objectMap["name"] = fa.Name + } + if fa.Description != nil { + objectMap["description"] = fa.Description + } + if fa.DependsOn != nil { + objectMap["dependsOn"] = fa.DependsOn + } + objectMap["type"] = fa.Type + for k, v := range fa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsDatabricksNotebookActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { + return nil, false +} + +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { + return nil, false +} + +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { + return nil, false +} + +// AsGetMetadataActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { + return nil, false +} + +// AsWebActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWebActivity() (*WebActivity, bool) { + return nil, false +} + +// AsLookupActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsLookupActivity() (*LookupActivity, bool) { + return nil, false +} + +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return nil, false +} + +// AsCustomActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCustomActivity() (*CustomActivity, bool) { + return nil, false +} + +// AsExecuteSSISPackageActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false +} + +// AsHDInsightSparkActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { + return nil, false +} + +// AsHDInsightStreamingActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { + return nil, false +} + +// AsHDInsightMapReduceActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { + return nil, false +} + +// AsHDInsightPigActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { + return nil, false +} + +// AsHDInsightHiveActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { + return nil, false +} + +// AsCopyActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsCopyActivity() (*CopyActivity, bool) { + return nil, false +} + +// AsExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutionActivity() (*ExecutionActivity, bool) { + return nil, false +} + +// AsBasicExecutionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return nil, false +} + +// AsFilterActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsFilterActivity() (*FilterActivity, bool) { + return &fa, true +} + +// AsUntilActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsUntilActivity() (*UntilActivity, bool) { + return nil, false +} + +// AsWaitActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsWaitActivity() (*WaitActivity, bool) { + return nil, false +} + +// AsForEachActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsForEachActivity() (*ForEachActivity, bool) { + return nil, false +} + +// AsIfConditionActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { + return nil, false +} + +// AsExecutePipelineActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { + return nil, false +} + +// AsControlActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsControlActivity() (*ControlActivity, 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) { + return nil, false +} + +// AsBasicActivity is the BasicActivity implementation for FilterActivity. +func (fa FilterActivity) AsBasicActivity() (BasicActivity, bool) { + return &fa, true +} + +// 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 "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + fa.Type = typeVar + } + } + } + + return nil +} + +// FilterActivityTypeProperties fitler 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. @@ -30974,7 +33876,7 @@ type ForEachActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -31001,6 +33903,11 @@ func (fea ForEachActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for ForEachActivity. func (fea ForEachActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -31086,6 +33993,11 @@ func (fea ForEachActivity) AsBasicExecutionActivity() (BasicExecutionActivity, b return nil, false } +// AsFilterActivity is the BasicActivity implementation for ForEachActivity. +func (fea ForEachActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for ForEachActivity. func (fea ForEachActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -31205,8 +34117,10 @@ func (fea *ForEachActivity) UnmarshalJSON(body []byte) error { // ForEachActivityTypeProperties forEach activity properties. type ForEachActivityTypeProperties struct { - // IsSequential - Should the loop be executed in sequence or in parallel (max 20) + // 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 . @@ -31231,6 +34145,15 @@ func (featp *ForEachActivityTypeProperties) UnmarshalJSON(body []byte) error { } 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 @@ -31264,7 +34187,11 @@ type FtpServerLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -31281,6 +34208,12 @@ func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { if fsls.Description != nil { objectMap["description"] = fsls.Description } + if fsls.Parameters != nil { + objectMap["parameters"] = fsls.Parameters + } + if fsls.Annotations != nil { + objectMap["annotations"] = fsls.Annotations + } objectMap["type"] = fsls.Type for k, v := range fsls.AdditionalProperties { objectMap[k] = v @@ -31288,6 +34221,11 @@ func (fsls FtpServerLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. func (fsls FtpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -31298,6 +34236,16 @@ func (fsls FtpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsigh return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. +func (fsls FtpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for FtpServerLinkedService. func (fsls FtpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -31671,6 +34619,24 @@ func (fsls *FtpServerLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -31808,7 +34774,7 @@ type GetMetadataActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -31841,6 +34807,11 @@ func (gma GetMetadataActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for GetMetadataActivity. func (gma GetMetadataActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -31926,6 +34897,11 @@ func (gma GetMetadataActivity) AsBasicExecutionActivity() (BasicExecutionActivit return &gma, true } +// AsFilterActivity is the BasicActivity implementation for GetMetadataActivity. +func (gma GetMetadataActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for GetMetadataActivity. func (gma GetMetadataActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -32079,7 +35055,11 @@ type GoogleBigQueryLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -32096,6 +35076,12 @@ func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { if gbqls.Description != nil { objectMap["description"] = gbqls.Description } + if gbqls.Parameters != nil { + objectMap["parameters"] = gbqls.Parameters + } + if gbqls.Annotations != nil { + objectMap["annotations"] = gbqls.Annotations + } objectMap["type"] = gbqls.Type for k, v := range gbqls.AdditionalProperties { objectMap[k] = v @@ -32103,6 +35089,11 @@ func (gbqls GoogleBigQueryLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. func (gbqls GoogleBigQueryLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -32113,6 +35104,16 @@ func (gbqls GoogleBigQueryLinkedService) AsHDInsightOnDemandLinkedService() (*HD return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. +func (gbqls GoogleBigQueryLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for GoogleBigQueryLinkedService. func (gbqls GoogleBigQueryLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -32486,6 +35487,24 @@ func (gbqls *GoogleBigQueryLinkedService) UnmarshalJSON(body []byte) error { } gbqls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + gbqls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + gbqls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -32513,6 +35532,10 @@ type GoogleBigQueryLinkedServiceTypeProperties struct { 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. @@ -32578,6 +35601,22 @@ func (gbqlstp *GoogleBigQueryLinkedServiceTypeProperties) UnmarshalJSON(body []b } gbqlstp.RefreshToken = refreshToken } + case "clientId": + if v != nil { + clientID, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gbqlstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + gbqlstp.ClientSecret = clientSecret + } case "email": if v != nil { var email interface{} @@ -32641,7 +35680,9 @@ type GoogleBigQueryObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -32659,6 +35700,9 @@ func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { if gbqod.Parameters != nil { objectMap["parameters"] = gbqod.Parameters } + if gbqod.Annotations != nil { + objectMap["annotations"] = gbqod.Annotations + } objectMap["type"] = gbqod.Type for k, v := range gbqod.AdditionalProperties { objectMap[k] = v @@ -32666,6 +35710,16 @@ func (gbqod GoogleBigQueryObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. +func (gbqod GoogleBigQueryObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for GoogleBigQueryObjectDataset. func (gbqod GoogleBigQueryObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -32931,7 +35985,7 @@ type GoogleBigQuerySource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -32954,6 +36008,16 @@ func (gbqs GoogleBigQuerySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource return nil, false } +// AsVerticaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for GoogleBigQuerySource. +func (gbqs GoogleBigQuerySource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for GoogleBigQuerySource. func (gbqs GoogleBigQuerySource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -33199,7 +36263,11 @@ type GreenplumLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -33216,6 +36284,12 @@ func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { if gls.Description != nil { objectMap["description"] = gls.Description } + if gls.Parameters != nil { + objectMap["parameters"] = gls.Parameters + } + if gls.Annotations != nil { + objectMap["annotations"] = gls.Annotations + } objectMap["type"] = gls.Type for k, v := range gls.AdditionalProperties { objectMap[k] = v @@ -33223,6 +36297,11 @@ func (gls GreenplumLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. func (gls GreenplumLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -33233,6 +36312,16 @@ func (gls GreenplumLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsight return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. +func (gls GreenplumLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for GreenplumLinkedService. func (gls GreenplumLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -33606,6 +36695,24 @@ func (gls *GreenplumLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -33671,7 +36778,7 @@ type GreenplumSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -33694,6 +36801,16 @@ func (gs GreenplumSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, 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 @@ -33941,7 +37058,9 @@ type GreenplumTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -33959,6 +37078,9 @@ func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) { if gtd.Parameters != nil { objectMap["parameters"] = gtd.Parameters } + if gtd.Annotations != nil { + objectMap["annotations"] = gtd.Annotations + } objectMap["type"] = gtd.Type for k, v := range gtd.AdditionalProperties { objectMap[k] = v @@ -33966,6 +37088,16 @@ func (gtd GreenplumTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for GreenplumTableDataset. +func (gtd GreenplumTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for GreenplumTableDataset. func (gtd GreenplumTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -34231,7 +37363,11 @@ type HBaseLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -34248,6 +37384,12 @@ func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) { if hbls.Description != nil { objectMap["description"] = hbls.Description } + if hbls.Parameters != nil { + objectMap["parameters"] = hbls.Parameters + } + if hbls.Annotations != nil { + objectMap["annotations"] = hbls.Annotations + } objectMap["type"] = hbls.Type for k, v := range hbls.AdditionalProperties { objectMap[k] = v @@ -34255,6 +37397,11 @@ func (hbls HBaseLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HBaseLinkedService. func (hbls HBaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -34265,6 +37412,16 @@ func (hbls HBaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnD return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HBaseLinkedService. +func (hbls HBaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for HBaseLinkedService. func (hbls HBaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -34638,6 +37795,24 @@ func (hbls *HBaseLinkedService) UnmarshalJSON(body []byte) error { } hbls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + 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 TypeBasicLinkedService @@ -34804,7 +37979,9 @@ type HBaseObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -34822,6 +37999,9 @@ func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { if hbod.Parameters != nil { objectMap["parameters"] = hbod.Parameters } + if hbod.Annotations != nil { + objectMap["annotations"] = hbod.Annotations + } objectMap["type"] = hbod.Type for k, v := range hbod.AdditionalProperties { objectMap[k] = v @@ -34829,6 +38009,16 @@ func (hbod HBaseObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for HBaseObjectDataset. +func (hbod HBaseObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for HBaseObjectDataset. func (hbod HBaseObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -35094,7 +38284,7 @@ type HBaseSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -35117,6 +38307,16 @@ func (hbs HBaseSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, 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 @@ -35362,7 +38562,11 @@ type HdfsLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -35379,6 +38583,12 @@ func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { if hls.Description != nil { objectMap["description"] = hls.Description } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } objectMap["type"] = hls.Type for k, v := range hls.AdditionalProperties { objectMap[k] = v @@ -35386,6 +38596,11 @@ func (hls HdfsLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HdfsLinkedService. func (hls HdfsLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -35396,6 +38611,16 @@ func (hls HdfsLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HdfsLinkedService. +func (hls HdfsLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for HdfsLinkedService. func (hls HdfsLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -35769,6 +38994,24 @@ func (hls *HdfsLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -35869,7 +39112,7 @@ type HdfsSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -35895,6 +39138,16 @@ func (hs HdfsSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for HdfsSource. +func (hs HdfsSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for HdfsSource. func (hs HdfsSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -36146,7 +39399,7 @@ type HDInsightHiveActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -36179,6 +39432,11 @@ func (hiha HDInsightHiveActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightHiveActivity. func (hiha HDInsightHiveActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -36264,6 +39522,11 @@ func (hiha HDInsightHiveActivity) AsBasicExecutionActivity() (BasicExecutionActi return &hiha, true } +// AsFilterActivity is the BasicActivity implementation for HDInsightHiveActivity. +func (hiha HDInsightHiveActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for HDInsightHiveActivity. func (hiha HDInsightHiveActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -36445,7 +39708,11 @@ type HDInsightLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -36462,6 +39729,12 @@ func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) { if hils.Description != nil { objectMap["description"] = hils.Description } + if hils.Parameters != nil { + objectMap["parameters"] = hils.Parameters + } + if hils.Annotations != nil { + objectMap["annotations"] = hils.Annotations + } objectMap["type"] = hils.Type for k, v := range hils.AdditionalProperties { objectMap[k] = v @@ -36469,6 +39742,11 @@ func (hils HDInsightLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. func (hils HDInsightLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -36479,6 +39757,16 @@ func (hils HDInsightLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsigh return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. +func (hils HDInsightLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for HDInsightLinkedService. func (hils HDInsightLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -36852,6 +40140,24 @@ func (hils *HDInsightLinkedService) UnmarshalJSON(body []byte) error { } hils.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hils.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hils.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -36967,7 +40273,7 @@ type HDInsightMapReduceActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -37000,6 +40306,11 @@ func (himra HDInsightMapReduceActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -37085,6 +40396,11 @@ func (himra HDInsightMapReduceActivity) AsBasicExecutionActivity() (BasicExecuti return &himra, true } +// AsFilterActivity is the BasicActivity implementation for HDInsightMapReduceActivity. +func (himra HDInsightMapReduceActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for HDInsightMapReduceActivity. func (himra HDInsightMapReduceActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -37274,7 +40590,11 @@ type HDInsightOnDemandLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -37291,6 +40611,12 @@ func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) { if hiodls.Description != nil { objectMap["description"] = hiodls.Description } + if hiodls.Parameters != nil { + objectMap["parameters"] = hiodls.Parameters + } + if hiodls.Annotations != nil { + objectMap["annotations"] = hiodls.Annotations + } objectMap["type"] = hiodls.Type for k, v := range hiodls.AdditionalProperties { objectMap[k] = v @@ -37298,6 +40624,11 @@ func (hiodls HDInsightOnDemandLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. func (hiodls HDInsightOnDemandLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -37308,6 +40639,16 @@ func (hiodls HDInsightOnDemandLinkedService) AsHDInsightOnDemandLinkedService() return &hiodls, true } +// AsNetezzaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. +func (hiodls HDInsightOnDemandLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for HDInsightOnDemandLinkedService. func (hiodls HDInsightOnDemandLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -37681,6 +41022,24 @@ func (hiodls *HDInsightOnDemandLinkedService) UnmarshalJSON(body []byte) error { } hiodls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + hiodls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hiodls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -37752,6 +41111,12 @@ type HDInsightOnDemandLinkedServiceTypeProperties struct { 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"` } // UnmarshalJSON is the custom unmarshaler for HDInsightOnDemandLinkedServiceTypeProperties struct. @@ -38003,6 +41368,33 @@ func (hiodlstp *HDInsightOnDemandLinkedServiceTypeProperties) UnmarshalJSON(body } 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 + } } } @@ -38025,7 +41417,7 @@ type HDInsightPigActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -38058,6 +41450,11 @@ func (hipa HDInsightPigActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightPigActivity. func (hipa HDInsightPigActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -38143,6 +41540,11 @@ func (hipa HDInsightPigActivity) AsBasicExecutionActivity() (BasicExecutionActiv return &hipa, true } +// AsFilterActivity is the BasicActivity implementation for HDInsightPigActivity. +func (hipa HDInsightPigActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for HDInsightPigActivity. func (hipa HDInsightPigActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -38330,7 +41732,7 @@ type HDInsightSparkActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -38363,6 +41765,11 @@ func (hisa HDInsightSparkActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightSparkActivity. func (hisa HDInsightSparkActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -38448,6 +41855,11 @@ func (hisa HDInsightSparkActivity) AsBasicExecutionActivity() (BasicExecutionAct return &hisa, true } +// AsFilterActivity is the BasicActivity implementation for HDInsightSparkActivity. +func (hisa HDInsightSparkActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for HDInsightSparkActivity. func (hisa HDInsightSparkActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -38641,7 +42053,7 @@ type HDInsightStreamingActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -38674,6 +42086,11 @@ func (hisa HDInsightStreamingActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for HDInsightStreamingActivity. func (hisa HDInsightStreamingActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -38759,6 +42176,11 @@ func (hisa HDInsightStreamingActivity) AsBasicExecutionActivity() (BasicExecutio return &hisa, true } +// AsFilterActivity is the BasicActivity implementation for HDInsightStreamingActivity. +func (hisa HDInsightStreamingActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for HDInsightStreamingActivity. func (hisa HDInsightStreamingActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -38962,7 +42384,11 @@ type HiveLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -38979,6 +42405,12 @@ func (hls HiveLinkedService) MarshalJSON() ([]byte, error) { if hls.Description != nil { objectMap["description"] = hls.Description } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } objectMap["type"] = hls.Type for k, v := range hls.AdditionalProperties { objectMap[k] = v @@ -38986,6 +42418,11 @@ func (hls HiveLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for HiveLinkedService. func (hls HiveLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -38996,6 +42433,16 @@ func (hls HiveLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for HiveLinkedService. +func (hls HiveLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for HiveLinkedService. func (hls HiveLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -39369,6 +42816,24 @@ func (hls *HiveLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -39601,7 +43066,9 @@ type HiveObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -39619,6 +43086,9 @@ func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { if hod.Parameters != nil { objectMap["parameters"] = hod.Parameters } + if hod.Annotations != nil { + objectMap["annotations"] = hod.Annotations + } objectMap["type"] = hod.Type for k, v := range hod.AdditionalProperties { objectMap[k] = v @@ -39626,6 +43096,16 @@ func (hod HiveObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for HiveObjectDataset. +func (hod HiveObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for HiveObjectDataset. func (hod HiveObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -39891,7 +43371,7 @@ type HiveSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -39914,6 +43394,16 @@ func (hs HiveSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for HiveSource. +func (hs HiveSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for HiveSource. func (hs HiveSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -40163,7 +43653,9 @@ type HTTPDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -40184,6 +43676,9 @@ func (hd HTTPDataset) MarshalJSON() ([]byte, error) { if hd.Parameters != nil { objectMap["parameters"] = hd.Parameters } + if hd.Annotations != nil { + objectMap["annotations"] = hd.Annotations + } objectMap["type"] = hd.Type for k, v := range hd.AdditionalProperties { objectMap[k] = v @@ -40191,6 +43686,16 @@ func (hd HTTPDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for HTTPDataset. +func (hd HTTPDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for HTTPDataset. func (hd HTTPDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -40512,6 +44017,15 @@ func (hd *HTTPDataset) UnmarshalJSON(body []byte) error { } hd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + hd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -40622,7 +44136,11 @@ type HTTPLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -40639,6 +44157,12 @@ func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) { if hls.Description != nil { objectMap["description"] = hls.Description } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } objectMap["type"] = hls.Type for k, v := range hls.AdditionalProperties { objectMap[k] = v @@ -40646,6 +44170,11 @@ func (hls HTTPLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -40656,6 +44185,16 @@ func (hls HTTPLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem 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 @@ -41029,6 +44568,24 @@ func (hls *HTTPLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -41160,7 +44717,7 @@ type HTTPSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -41183,6 +44740,16 @@ func (hs HTTPSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, 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 @@ -41428,7 +44995,11 @@ type HubspotLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -41445,6 +45016,12 @@ func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) { if hls.Description != nil { objectMap["description"] = hls.Description } + if hls.Parameters != nil { + objectMap["parameters"] = hls.Parameters + } + if hls.Annotations != nil { + objectMap["annotations"] = hls.Annotations + } objectMap["type"] = hls.Type for k, v := range hls.AdditionalProperties { objectMap[k] = v @@ -41452,6 +45029,11 @@ func (hls HubspotLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -41462,6 +45044,16 @@ func (hls HubspotLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOn 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 @@ -41835,6 +45427,24 @@ func (hls *HubspotLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -41966,7 +45576,9 @@ type HubspotObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -41984,6 +45596,9 @@ func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) { if hod.Parameters != nil { objectMap["parameters"] = hod.Parameters } + if hod.Annotations != nil { + objectMap["annotations"] = hod.Annotations + } objectMap["type"] = hod.Type for k, v := range hod.AdditionalProperties { objectMap[k] = v @@ -41991,6 +45606,16 @@ func (hod HubspotObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -42256,7 +45881,7 @@ type HubspotSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -42279,6 +45904,16 @@ func (hs HubspotSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, 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 @@ -42527,7 +46162,7 @@ type IfConditionActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -42554,6 +46189,11 @@ func (ica IfConditionActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -42639,6 +46279,11 @@ func (ica IfConditionActivity) AsBasicExecutionActivity() (BasicExecutionActivit return nil, false } +// AsFilterActivity is the BasicActivity implementation for IfConditionActivity. +func (ica IfConditionActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for IfConditionActivity. func (ica IfConditionActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -42816,7 +46461,11 @@ type ImpalaLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -42833,6 +46482,12 @@ func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) { if ils.Description != nil { objectMap["description"] = ils.Description } + if ils.Parameters != nil { + objectMap["parameters"] = ils.Parameters + } + if ils.Annotations != nil { + objectMap["annotations"] = ils.Annotations + } objectMap["type"] = ils.Type for k, v := range ils.AdditionalProperties { objectMap[k] = v @@ -42840,6 +46495,11 @@ func (ils ImpalaLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -42850,6 +46510,16 @@ func (ils ImpalaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnD 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 @@ -43223,6 +46893,24 @@ func (ils *ImpalaLinkedService) UnmarshalJSON(body []byte) error { } 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 @@ -43389,7 +47077,9 @@ type ImpalaObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -43407,6 +47097,9 @@ func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { if iod.Parameters != nil { objectMap["parameters"] = iod.Parameters } + if iod.Annotations != nil { + objectMap["annotations"] = iod.Annotations + } objectMap["type"] = iod.Type for k, v := range iod.AdditionalProperties { objectMap[k] = v @@ -43414,6 +47107,16 @@ func (iod ImpalaObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -43679,7 +47382,7 @@ type ImpalaSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -43702,6 +47405,16 @@ func (is ImpalaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, 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 @@ -44773,7 +48486,11 @@ type JiraLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -44790,6 +48507,12 @@ func (jls JiraLinkedService) MarshalJSON() ([]byte, error) { if jls.Description != nil { objectMap["description"] = jls.Description } + if jls.Parameters != nil { + objectMap["parameters"] = jls.Parameters + } + if jls.Annotations != nil { + objectMap["annotations"] = jls.Annotations + } objectMap["type"] = jls.Type for k, v := range jls.AdditionalProperties { objectMap[k] = v @@ -44797,6 +48520,11 @@ func (jls JiraLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -44807,6 +48535,16 @@ func (jls JiraLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem 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 @@ -45180,6 +48918,24 @@ func (jls *JiraLinkedService) UnmarshalJSON(body []byte) error { } jls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + jls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + jls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -45313,7 +49069,9 @@ type JiraObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -45331,6 +49089,9 @@ func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) { if jod.Parameters != nil { objectMap["parameters"] = jod.Parameters } + if jod.Annotations != nil { + objectMap["annotations"] = jod.Annotations + } objectMap["type"] = jod.Type for k, v := range jod.AdditionalProperties { objectMap[k] = v @@ -45338,6 +49099,16 @@ func (jod JiraObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// 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 @@ -45603,7 +49374,7 @@ type JiraSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -45626,6 +49397,16 @@ func (js JiraSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, 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 @@ -46141,8 +49922,11 @@ func (lirtp *LinkedIntegrationRuntimeTypeProperties) UnmarshalJSON(body []byte) // BasicLinkedService the Azure Data Factory nested object which contains the information and credential which can be // used to connect with related store or compute resource. type BasicLinkedService interface { + AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) + AsNetezzaLinkedService() (*NetezzaLinkedService, bool) + AsVerticaLinkedService() (*VerticaLinkedService, bool) AsZohoLinkedService() (*ZohoLinkedService, bool) AsXeroLinkedService() (*XeroLinkedService, bool) AsSquareLinkedService() (*SquareLinkedService, bool) @@ -46218,7 +50002,11 @@ type LinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -46230,6 +50018,10 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) { } switch m["type"] { + case string(TypeAzureDatabricks): + var adls AzureDatabricksLinkedService + err := json.Unmarshal(body, &adls) + return adls, err case string(TypeAzureDataLakeAnalytics): var adlals AzureDataLakeAnalyticsLinkedService err := json.Unmarshal(body, &adlals) @@ -46238,6 +50030,14 @@ func unmarshalBasicLinkedService(body []byte) (BasicLinkedService, error) { var hiodls HDInsightOnDemandLinkedService err := json.Unmarshal(body, &hiodls) return hiodls, err + case string(TypeNetezza): + var nls NetezzaLinkedService + err := json.Unmarshal(body, &nls) + return nls, err + case string(TypeVertica): + var vls VerticaLinkedService + err := json.Unmarshal(body, &vls) + return vls, err case string(TypeZoho): var zls ZohoLinkedService err := json.Unmarshal(body, &zls) @@ -46525,6 +50325,12 @@ func (ls LinkedService) MarshalJSON() ([]byte, error) { if ls.Description != nil { objectMap["description"] = ls.Description } + if ls.Parameters != nil { + objectMap["parameters"] = ls.Parameters + } + if ls.Annotations != nil { + objectMap["annotations"] = ls.Annotations + } objectMap["type"] = ls.Type for k, v := range ls.AdditionalProperties { objectMap[k] = v @@ -46532,6 +50338,11 @@ func (ls LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for LinkedService. func (ls LinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -46542,6 +50353,16 @@ func (ls LinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLi return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for LinkedService. +func (ls LinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for LinkedService. func (ls LinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -46975,6 +50796,23 @@ type LinkedServiceReference struct { Type *string `json:"type,omitempty"` // ReferenceName - Reference LinkedService name. ReferenceName *string `json:"referenceName,omitempty"` + // Parameters - Arguments for LinkedService. + Parameters map[string]interface{} `json:"parameters"` +} + +// MarshalJSON is the custom marshaler for LinkedServiceReference. +func (lsr LinkedServiceReference) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if lsr.Type != nil { + objectMap["type"] = lsr.Type + } + if lsr.ReferenceName != nil { + objectMap["referenceName"] = lsr.ReferenceName + } + if lsr.Parameters != nil { + objectMap["parameters"] = lsr.Parameters + } + return json.Marshal(objectMap) } // LinkedServiceResource linked service resource type. @@ -47067,7 +50905,7 @@ type LookupActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -47100,6 +50938,11 @@ func (la LookupActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for LookupActivity. func (la LookupActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -47185,6 +51028,11 @@ func (la LookupActivity) AsBasicExecutionActivity() (BasicExecutionActivity, boo return &la, true } +// AsFilterActivity is the BasicActivity implementation for LookupActivity. +func (la LookupActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for LookupActivity. func (la LookupActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -47381,7 +51229,11 @@ type MagentoLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -47398,6 +51250,12 @@ func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) { if mls.Description != nil { objectMap["description"] = mls.Description } + if mls.Parameters != nil { + objectMap["parameters"] = mls.Parameters + } + if mls.Annotations != nil { + objectMap["annotations"] = mls.Annotations + } objectMap["type"] = mls.Type for k, v := range mls.AdditionalProperties { objectMap[k] = v @@ -47405,6 +51263,11 @@ func (mls MagentoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MagentoLinkedService. func (mls MagentoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -47415,6 +51278,16 @@ func (mls MagentoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOn return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MagentoLinkedService. +func (mls MagentoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for MagentoLinkedService. func (mls MagentoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -47788,6 +51661,24 @@ func (mls *MagentoLinkedService) UnmarshalJSON(body []byte) error { } mls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -47899,7 +51790,9 @@ type MagentoObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -47917,6 +51810,9 @@ func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) { if mod.Parameters != nil { objectMap["parameters"] = mod.Parameters } + if mod.Annotations != nil { + objectMap["annotations"] = mod.Annotations + } objectMap["type"] = mod.Type for k, v := range mod.AdditionalProperties { objectMap[k] = v @@ -47924,6 +51820,16 @@ func (mod MagentoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MagentoObjectDataset. +func (mod MagentoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for MagentoObjectDataset. func (mod MagentoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -48189,7 +52095,7 @@ type MagentoSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -48212,6 +52118,16 @@ func (ms MagentoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for MagentoSource. +func (ms MagentoSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for MagentoSource. func (ms MagentoSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -48746,7 +52662,11 @@ type MariaDBLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -48763,6 +52683,12 @@ func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) { if mdls.Description != nil { objectMap["description"] = mdls.Description } + if mdls.Parameters != nil { + objectMap["parameters"] = mdls.Parameters + } + if mdls.Annotations != nil { + objectMap["annotations"] = mdls.Annotations + } objectMap["type"] = mdls.Type for k, v := range mdls.AdditionalProperties { objectMap[k] = v @@ -48770,6 +52696,11 @@ func (mdls MariaDBLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. func (mdls MariaDBLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -48780,6 +52711,16 @@ func (mdls MariaDBLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightO return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. +func (mdls MariaDBLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for MariaDBLinkedService. func (mdls MariaDBLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -49153,6 +53094,24 @@ func (mdls *MariaDBLinkedService) UnmarshalJSON(body []byte) error { } mdls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mdls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mdls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -49218,7 +53177,7 @@ type MariaDBSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -49241,6 +53200,16 @@ func (mds MariaDBSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) return nil, false } +// AsVerticaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for MariaDBSource. +func (mds MariaDBSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for MariaDBSource. func (mds MariaDBSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -49488,7 +53457,9 @@ type MariaDBTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -49506,6 +53477,9 @@ func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) { if mdtd.Parameters != nil { objectMap["parameters"] = mdtd.Parameters } + if mdtd.Annotations != nil { + objectMap["annotations"] = mdtd.Annotations + } objectMap["type"] = mdtd.Type for k, v := range mdtd.AdditionalProperties { objectMap[k] = v @@ -49513,6 +53487,16 @@ func (mdtd MariaDBTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MariaDBTableDataset. +func (mdtd MariaDBTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for MariaDBTableDataset. func (mdtd MariaDBTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -49778,7 +53762,11 @@ type MarketoLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -49795,6 +53783,12 @@ func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) { if mls.Description != nil { objectMap["description"] = mls.Description } + if mls.Parameters != nil { + objectMap["parameters"] = mls.Parameters + } + if mls.Annotations != nil { + objectMap["annotations"] = mls.Annotations + } objectMap["type"] = mls.Type for k, v := range mls.AdditionalProperties { objectMap[k] = v @@ -49802,6 +53796,11 @@ func (mls MarketoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MarketoLinkedService. func (mls MarketoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -49812,6 +53811,16 @@ func (mls MarketoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOn return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MarketoLinkedService. +func (mls MarketoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for MarketoLinkedService. func (mls MarketoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -50185,6 +54194,24 @@ func (mls *MarketoLinkedService) UnmarshalJSON(body []byte) error { } mls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -50307,7 +54334,9 @@ type MarketoObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -50325,6 +54354,9 @@ func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) { if mod.Parameters != nil { objectMap["parameters"] = mod.Parameters } + if mod.Annotations != nil { + objectMap["annotations"] = mod.Annotations + } objectMap["type"] = mod.Type for k, v := range mod.AdditionalProperties { objectMap[k] = v @@ -50332,6 +54364,16 @@ func (mod MarketoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MarketoObjectDataset. +func (mod MarketoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for MarketoObjectDataset. func (mod MarketoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -50597,7 +54639,7 @@ type MarketoSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -50620,6 +54662,16 @@ func (ms MarketoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for MarketoSource. +func (ms MarketoSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for MarketoSource. func (ms MarketoSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -50869,7 +54921,9 @@ type MongoDbCollectionDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -50890,6 +54944,9 @@ func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) { if mdcd.Parameters != nil { objectMap["parameters"] = mdcd.Parameters } + if mdcd.Annotations != nil { + objectMap["annotations"] = mdcd.Annotations + } objectMap["type"] = mdcd.Type for k, v := range mdcd.AdditionalProperties { objectMap[k] = v @@ -50897,6 +54954,16 @@ func (mdcd MongoDbCollectionDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for MongoDbCollectionDataset. +func (mdcd MongoDbCollectionDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for MongoDbCollectionDataset. func (mdcd MongoDbCollectionDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -51218,6 +55285,15 @@ func (mdcd *MongoDbCollectionDataset) UnmarshalJSON(body []byte) error { } mdcd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mdcd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -51249,7 +55325,11 @@ type MongoDbLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -51266,6 +55346,12 @@ func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) { if mdls.Description != nil { objectMap["description"] = mdls.Description } + if mdls.Parameters != nil { + objectMap["parameters"] = mdls.Parameters + } + if mdls.Annotations != nil { + objectMap["annotations"] = mdls.Annotations + } objectMap["type"] = mdls.Type for k, v := range mdls.AdditionalProperties { objectMap[k] = v @@ -51273,6 +55359,11 @@ func (mdls MongoDbLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. func (mdls MongoDbLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -51283,6 +55374,16 @@ func (mdls MongoDbLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightO return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. +func (mdls MongoDbLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for MongoDbLinkedService. func (mdls MongoDbLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -51656,6 +55757,24 @@ func (mdls *MongoDbLinkedService) UnmarshalJSON(body []byte) error { } mdls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + mdls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + mdls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -51787,7 +55906,7 @@ type MongoDbSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -51810,6 +55929,16 @@ func (mds MongoDbSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) return nil, false } +// AsVerticaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for MongoDbSource. +func (mds MongoDbSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for MongoDbSource. func (mds MongoDbSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -52170,7 +56299,11 @@ type MySQLLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -52187,6 +56320,12 @@ func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) { if msls.Description != nil { objectMap["description"] = msls.Description } + if msls.Parameters != nil { + objectMap["parameters"] = msls.Parameters + } + if msls.Annotations != nil { + objectMap["annotations"] = msls.Annotations + } objectMap["type"] = msls.Type for k, v := range msls.AdditionalProperties { objectMap[k] = v @@ -52194,6 +56333,11 @@ func (msls MySQLLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for MySQLLinkedService. func (msls MySQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -52204,6 +56348,16 @@ func (msls MySQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnD return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for MySQLLinkedService. +func (msls MySQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for MySQLLinkedService. func (msls MySQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -52577,6 +56731,24 @@ func (msls *MySQLLinkedService) UnmarshalJSON(body []byte) error { } msls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + msls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + msls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -52676,377 +56848,402 @@ func (mslstp *MySQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// ODataLinkedService open Data Protocol (OData) linked service. -type ODataLinkedService struct { - // ODataLinkedServiceTypeProperties - OData linked service properties. - *ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// NetezzaLinkedService netezza linked service. +type NetezzaLinkedService struct { + // NetezzaLinkedServiceTypeProperties - Netezza linked service properties. + *NetezzaLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ODataLinkedService. -func (odls ODataLinkedService) MarshalJSON() ([]byte, error) { - odls.Type = TypeOData +// MarshalJSON is the custom marshaler for NetezzaLinkedService. +func (nls NetezzaLinkedService) MarshalJSON() ([]byte, error) { + nls.Type = TypeNetezza objectMap := make(map[string]interface{}) - if odls.ODataLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties + if nls.NetezzaLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = nls.NetezzaLinkedServiceTypeProperties } - if odls.ConnectVia != nil { - objectMap["connectVia"] = odls.ConnectVia + if nls.ConnectVia != nil { + objectMap["connectVia"] = nls.ConnectVia } - if odls.Description != nil { - objectMap["description"] = odls.Description + if nls.Description != nil { + objectMap["description"] = nls.Description } - objectMap["type"] = odls.Type - for k, v := range odls.AdditionalProperties { + if nls.Parameters != nil { + objectMap["parameters"] = nls.Parameters + } + if nls.Annotations != nil { + objectMap["annotations"] = nls.Annotations + } + objectMap["type"] = nls.Type + for k, v := range nls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return &nls, true +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return &odls, true +// AsCassandraLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService. -func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &odls, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct. -func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { +// AsLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for NetezzaLinkedService. +func (nls NetezzaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &nls, true +} + +// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedService struct. +func (nls *NetezzaLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -53056,12 +57253,12 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties - err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties) + var netezzaLinkedServiceTypeProperties NetezzaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &netezzaLinkedServiceTypeProperties) if err != nil { return err } - odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties + nls.NetezzaLinkedServiceTypeProperties = &netezzaLinkedServiceTypeProperties } default: if v != nil { @@ -53070,10 +57267,10 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if odls.AdditionalProperties == nil { - odls.AdditionalProperties = make(map[string]interface{}) + if nls.AdditionalProperties == nil { + nls.AdditionalProperties = make(map[string]interface{}) } - odls.AdditionalProperties[k] = additionalProperties + nls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -53082,7 +57279,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - odls.ConnectVia = &connectVia + nls.ConnectVia = &connectVia } case "description": if v != nil { @@ -53091,7 +57288,25 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - odls.Description = &description + nls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + nls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + nls.Annotations = &annotations } case "type": if v != nil { @@ -53100,7 +57315,7 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - odls.Type = typeVar + nls.Type = typeVar } } } @@ -53108,22 +57323,16 @@ func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { return nil } -// ODataLinkedServiceTypeProperties oData linked service properties. -type ODataLinkedServiceTypeProperties struct { - // URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous' - AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"` - // UserName - User name of the OData service. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password of the OData service. - Password BasicSecretBase `json:"password,omitempty"` +// NetezzaLinkedServiceTypeProperties netezza linked service properties. +type NetezzaLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. + ConnectionString BasicSecretBase `json:"connectionString,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct. -func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for NetezzaLinkedServiceTypeProperties struct. +func (nlstp *NetezzaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -53131,40 +57340,13 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "url": - if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) - if err != nil { - return err - } - odlstp.URL = URL - } - case "authenticationType": - if v != nil { - var authenticationType ODataAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - odlstp.AuthenticationType = authenticationType - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - odlstp.UserName = userName - } - case "password": + case "connectionString": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + connectionString, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - odlstp.Password = password + nlstp.ConnectionString = connectionString } case "encryptedCredential": if v != nil { @@ -53173,7 +57355,7 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - odlstp.EncryptedCredential = encryptedCredential + nlstp.EncryptedCredential = encryptedCredential } } } @@ -53181,1527 +57363,1082 @@ func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// ODataResourceDataset the Open Data Protocol (OData) resource dataset. -type ODataResourceDataset struct { - // ODataResourceDatasetTypeProperties - OData dataset properties. - *ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"` +// NetezzaSource a copy activity Netezza source. +type NetezzaSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', '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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ODataResourceDataset. -func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) { - odrd.Type = TypeODataResource +// MarshalJSON is the custom marshaler for NetezzaSource. +func (ns NetezzaSource) MarshalJSON() ([]byte, error) { + ns.Type = TypeNetezzaSource objectMap := make(map[string]interface{}) - if odrd.ODataResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties - } - if odrd.Description != nil { - objectMap["description"] = odrd.Description - } - objectMap["structure"] = odrd.Structure - if odrd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = odrd.LinkedServiceName - } - if odrd.Parameters != nil { - objectMap["parameters"] = odrd.Parameters - } - objectMap["type"] = odrd.Type - for k, v := range odrd.AdditionalProperties { + objectMap["query"] = ns.Query + objectMap["sourceRetryCount"] = ns.SourceRetryCount + objectMap["sourceRetryWait"] = ns.SourceRetryWait + objectMap["type"] = ns.Type + for k, v := range ns.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { - return nil, false +// AsNetezzaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsNetezzaSource() (*NetezzaSource, bool) { + return &ns, true } -// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return &odrd, true -} - -// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) { +// AsCopySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset. -func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &odrd, true -} - -// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct. -func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties - err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties) - if err != nil { - return err - } - odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if odrd.AdditionalProperties == nil { - odrd.AdditionalProperties = make(map[string]interface{}) - } - odrd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - odrd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - odrd.Structure = structure - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - odrd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - odrd.Parameters = parameters - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - odrd.Type = typeVar - } - } - } - - return nil -} - -// ODataResourceDatasetTypeProperties oData dataset properties. -type ODataResourceDatasetTypeProperties struct { - // Path - The OData resource path. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` +// AsBasicCopySource is the BasicCopySource implementation for NetezzaSource. +func (ns NetezzaSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ns, true } -// OdbcLinkedService open Database Connectivity (ODBC) linked service. -type OdbcLinkedService struct { - // OdbcLinkedServiceTypeProperties - ODBC linked service properties. - *OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// NetezzaTableDataset netezza dataset. +type NetezzaTableDataset 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 - Dataset description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OdbcLinkedService. -func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) { - ols.Type = TypeOdbc +// MarshalJSON is the custom marshaler for NetezzaTableDataset. +func (ntd NetezzaTableDataset) MarshalJSON() ([]byte, error) { + ntd.Type = TypeNetezzaTable objectMap := make(map[string]interface{}) - if ols.OdbcLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties + if ntd.Description != nil { + objectMap["description"] = ntd.Description } - if ols.ConnectVia != nil { - objectMap["connectVia"] = ols.ConnectVia + objectMap["structure"] = ntd.Structure + if ntd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = ntd.LinkedServiceName } - if ols.Description != nil { - objectMap["description"] = ols.Description + if ntd.Parameters != nil { + objectMap["parameters"] = ntd.Parameters } - objectMap["type"] = ols.Type - for k, v := range ols.AdditionalProperties { + if ntd.Annotations != nil { + objectMap["annotations"] = ntd.Annotations + } + objectMap["type"] = ntd.Type + for k, v := range ntd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return &ntd, true +} + +// AsZohoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return &ols, true +// AsAzureSQLTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsBasicDataset is the BasicDataset implementation for NetezzaTableDataset. +func (ntd NetezzaTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &ntd, true +} + +// ODataLinkedService open Data Protocol (OData) linked service. +type ODataLinkedService struct { + // ODataLinkedServiceTypeProperties - OData linked service properties. + *ODataLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. + Description *string `json:"description,omitempty"` + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ODataLinkedService. +func (odls ODataLinkedService) MarshalJSON() ([]byte, error) { + odls.Type = TypeOData + objectMap := make(map[string]interface{}) + if odls.ODataLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = odls.ODataLinkedServiceTypeProperties + } + if odls.ConnectVia != nil { + objectMap["connectVia"] = odls.ConnectVia + } + if odls.Description != nil { + objectMap["description"] = odls.Description + } + if odls.Parameters != nil { + objectMap["parameters"] = odls.Parameters + } + if odls.Annotations != nil { + objectMap["annotations"] = odls.Annotations + } + objectMap["type"] = odls.Type + for k, v := range odls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService. -func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ols, true +// AsMarketoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct. -func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties - err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties) - if err != nil { - return err - } - ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ols.AdditionalProperties == nil { - ols.AdditionalProperties = make(map[string]interface{}) - } - ols.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - ols.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ols.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ols.Type = typeVar - } - } - } +// AsMariaDBLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} - return nil +// AsMagentoLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false } -// OdbcLinkedServiceTypeProperties ODBC linked service properties. -type OdbcLinkedServiceTypeProperties struct { - // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. - ConnectionString BasicSecretBase `json:"connectionString,omitempty"` - // AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). - AuthenticationType interface{} `json:"authenticationType,omitempty"` - // Credential - The access credential portion of the connection string specified in driver-specific property-value format. - Credential BasicSecretBase `json:"credential,omitempty"` - // UserName - User name for Basic authentication. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password for Basic authentication. - Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// AsJiraLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct. -func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "connectionString": - if v != nil { - connectionString, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - olstp.ConnectionString = connectionString - } - case "authenticationType": - if v != nil { - var authenticationType interface{} - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - olstp.AuthenticationType = authenticationType - } - case "credential": - if v != nil { - credential, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - olstp.Credential = credential - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - olstp.UserName = userName - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - olstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - olstp.EncryptedCredential = encryptedCredential - } - } - } - - return nil -} - -// OdbcSink a copy activity ODBC sink. -type OdbcSink struct { - // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // 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"` - // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' - Type TypeBasicCopySink `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for OdbcSink. -func (osVar OdbcSink) MarshalJSON() ([]byte, error) { - osVar.Type = TypeOdbcSink - objectMap := make(map[string]interface{}) - objectMap["preCopyScript"] = osVar.PreCopyScript - objectMap["writeBatchSize"] = osVar.WriteBatchSize - objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout - objectMap["sinkRetryCount"] = osVar.SinkRetryCount - objectMap["sinkRetryWait"] = osVar.SinkRetryWait - objectMap["type"] = osVar.Type - for k, v := range osVar.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsSalesforceSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) { - return &osVar, true -} - -// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsCopySink() (*CopySink, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for OdbcSink. -func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) { - return &osVar, true -} - -// Operation azure Data Factory API operation definition. -type Operation struct { - // Name - Operation name: {provider}/{resource}/{operation} - Name *string `json:"name,omitempty"` - // Origin - The intended executor of the operation. - Origin *string `json:"origin,omitempty"` - // Display - Metadata associated with the operation. - Display *OperationDisplay `json:"display,omitempty"` - // OperationProperties - Additional details about the operation. - *OperationProperties `json:"properties,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for Operation struct. -func (o *Operation) UnmarshalJSON(body []byte) error { - 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 - } - o.Name = &name - } - case "origin": - if v != nil { - var origin string - err = json.Unmarshal(*v, &origin) - if err != nil { - return err - } - o.Origin = &origin - } - case "display": - if v != nil { - var display OperationDisplay - err = json.Unmarshal(*v, &display) - if err != nil { - return err - } - o.Display = &display - } - case "properties": - if v != nil { - var operationProperties OperationProperties - err = json.Unmarshal(*v, &operationProperties) - if err != nil { - return err - } - o.OperationProperties = &operationProperties - } - } - } - - return nil -} - -// OperationDisplay metadata associated with the operation. -type OperationDisplay struct { - // Description - The description of the operation. - Description *string `json:"description,omitempty"` - // Provider - The name of the provider. - Provider *string `json:"provider,omitempty"` - // Resource - The name of the resource type on which the operation is performed. - Resource *string `json:"resource,omitempty"` - // Operation - The type of operation: get, read, delete, etc. - Operation *string `json:"operation,omitempty"` -} - -// OperationListResponse a list of operations that can be performed by the Data Factory service. -type OperationListResponse struct { - autorest.Response `json:"-"` - // Value - List of Data Factory operations supported by the Data Factory resource provider. - Value *[]Operation `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` -} - -// OperationLogSpecification details about an operation related to logs. -type OperationLogSpecification struct { - // Name - The name of the log category. - Name *string `json:"name,omitempty"` - // DisplayName - Localized display name. - DisplayName *string `json:"displayName,omitempty"` - // BlobDuration - Blobs created in the customer storage account, per hour. - BlobDuration *string `json:"blobDuration,omitempty"` -} - -// OperationMetricAvailability defines how often data for a metric becomes available. -type OperationMetricAvailability struct { - // TimeGrain - The granularity for the metric. - TimeGrain *string `json:"timeGrain,omitempty"` - // BlobDuration - Blob created in the customer storage account, per hour. - BlobDuration *string `json:"blobDuration,omitempty"` -} - -// OperationMetricSpecification details about an operation related to metrics. -type OperationMetricSpecification struct { - // Name - The name of the metric. - Name *string `json:"name,omitempty"` - // DisplayName - Localized display name of the metric. - DisplayName *string `json:"displayName,omitempty"` - // DisplayDescription - The description of the metric. - DisplayDescription *string `json:"displayDescription,omitempty"` - // Unit - The unit that the metric is measured in. - Unit *string `json:"unit,omitempty"` - // AggregationType - The type of metric aggregation. - AggregationType *string `json:"aggregationType,omitempty"` - // EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts. - EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"` - // SourceMdmAccount - The name of the MDM account. - SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` - // SourceMdmNamespace - The name of the MDM namespace. - SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` - // Availabilities - Defines how often data for metrics becomes available. - Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"` -} - -// OperationProperties additional details about an operation. -type OperationProperties struct { - // ServiceSpecification - Details about a service operation. - ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"` -} - -// OperationServiceSpecification details about a service operation. -type OperationServiceSpecification struct { - // LogSpecifications - Details about operations related to logs. - LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"` - // MetricSpecifications - Details about operations related to metrics. - MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"` -} - -// OracleLinkedService oracle database. -type OracleLinkedService struct { - // OracleLinkedServiceTypeProperties - Oracle database linked service properties. - *OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for OracleLinkedService. -func (ols OracleLinkedService) MarshalJSON() ([]byte, error) { - ols.Type = TypeOracle - objectMap := make(map[string]interface{}) - if ols.OracleLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties - } - if ols.ConnectVia != nil { - objectMap["connectVia"] = ols.ConnectVia - } - if ols.Description != nil { - objectMap["description"] = ols.Description - } - objectMap["type"] = ols.Type - for k, v := range ols.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false +// AsODataLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return &odls, true } -// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false +// AsBasicLinkedService is the BasicLinkedService implementation for ODataLinkedService. +func (odls ODataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &odls, true } -// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for ODataLinkedService struct. +func (odls *ODataLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var oDataLinkedServiceTypeProperties ODataLinkedServiceTypeProperties + err = json.Unmarshal(*v, &oDataLinkedServiceTypeProperties) + if err != nil { + return err + } + odls.ODataLinkedServiceTypeProperties = &oDataLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if odls.AdditionalProperties == nil { + odls.AdditionalProperties = make(map[string]interface{}) + } + odls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + odls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + odls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + odls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + odls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + odls.Type = typeVar + } + } + } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return nil, false + return nil } -// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false -} - -// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false -} - -// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false -} - -// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return nil, false -} - -// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return nil, false -} - -// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false -} - -// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false -} - -// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false -} - -// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false -} - -// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return nil, false -} - -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { - return nil, false -} - -// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false -} - -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false -} - -// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return &ols, true -} - -// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return nil, false -} - -// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return nil, false -} - -// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { - return nil, false -} - -// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return nil, false -} - -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { - return nil, false -} - -// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false -} - -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false -} - -// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return nil, false -} - -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { - return nil, false -} - -// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false -} - -// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false -} - -// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService. -func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ols, true +// ODataLinkedServiceTypeProperties oData linked service properties. +type ODataLinkedServiceTypeProperties struct { + // URL - The URL of the OData service endpoint. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // AuthenticationType - Type of authentication used to connect to the OData service. Possible values include: 'ODataAuthenticationTypeBasic', 'ODataAuthenticationTypeAnonymous' + AuthenticationType ODataAuthenticationType `json:"authenticationType,omitempty"` + // UserName - User name of the OData service. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password of the OData service. + Password BasicSecretBase `json:"password,omitempty"` + // 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 OracleLinkedService struct. -func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ODataLinkedServiceTypeProperties struct. +func (odlstp *ODataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -54709,84 +58446,40 @@ func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": - if v != nil { - var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties - err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties) - if err != nil { - return err - } - ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ols.AdditionalProperties == nil { - ols.AdditionalProperties = make(map[string]interface{}) - } - ols.AdditionalProperties[k] = additionalProperties - } - case "connectVia": + case "url": if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) + var URL interface{} + err = json.Unmarshal(*v, &URL) if err != nil { return err } - ols.ConnectVia = &connectVia + odlstp.URL = URL } - case "description": + case "authenticationType": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var authenticationType ODataAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - ols.Description = &description + odlstp.AuthenticationType = authenticationType } - case "type": + case "userName": if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - ols.Type = typeVar + odlstp.UserName = userName } - } - } - - return nil -} - -// OracleLinkedServiceTypeProperties oracle database linked service properties. -type OracleLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. - ConnectionString BasicSecretBase `json:"connectionString,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 OracleLinkedServiceTypeProperties struct. -func (olstp *OracleLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - 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 "password": if v != nil { - connectionString, err := unmarshalBasicSecretBase(*v) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - olstp.ConnectionString = connectionString + odlstp.Password = password } case "encryptedCredential": if v != nil { @@ -54795,7 +58488,7 @@ func (olstp *OracleLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - olstp.EncryptedCredential = encryptedCredential + odlstp.EncryptedCredential = encryptedCredential } } } @@ -54803,690 +58496,810 @@ func (olstp *OracleLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// OracleSink a copy activity Oracle sink. -type OracleSink struct { - // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` +// ODataResourceDataset the Open Data Protocol (OData) resource dataset. +type ODataResourceDataset struct { + // ODataResourceDatasetTypeProperties - OData dataset properties. + *ODataResourceDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // 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"` - // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' - 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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OracleSink. -func (osVar OracleSink) MarshalJSON() ([]byte, error) { - osVar.Type = TypeOracleSink +// MarshalJSON is the custom marshaler for ODataResourceDataset. +func (odrd ODataResourceDataset) MarshalJSON() ([]byte, error) { + odrd.Type = TypeODataResource objectMap := make(map[string]interface{}) - objectMap["preCopyScript"] = osVar.PreCopyScript - objectMap["writeBatchSize"] = osVar.WriteBatchSize - objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout - objectMap["sinkRetryCount"] = osVar.SinkRetryCount - objectMap["sinkRetryWait"] = osVar.SinkRetryWait - objectMap["type"] = osVar.Type - for k, v := range osVar.AdditionalProperties { + if odrd.ODataResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = odrd.ODataResourceDatasetTypeProperties + } + if odrd.Description != nil { + objectMap["description"] = odrd.Description + } + objectMap["structure"] = odrd.Structure + if odrd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = odrd.LinkedServiceName + } + if odrd.Parameters != nil { + objectMap["parameters"] = odrd.Parameters + } + if odrd.Annotations != nil { + objectMap["annotations"] = odrd.Annotations + } + objectMap["type"] = odrd.Type + for k, v := range odrd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsSalesforceSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) { - return &osVar, true +// AsSparkObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsCopySink() (*CopySink, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for OracleSink. -func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) { - return &osVar, true +// AsJiraObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false } -// OracleSource a copy activity Oracle source. -type OracleSource struct { - // OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string). - OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"` - // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - QueryTimeout interface{} `json:"queryTimeout,omitempty"` - // 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsImpalaObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for OracleSource. -func (osVar OracleSource) MarshalJSON() ([]byte, error) { - osVar.Type = TypeOracleSource - objectMap := make(map[string]interface{}) - objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery - objectMap["queryTimeout"] = osVar.QueryTimeout - objectMap["sourceRetryCount"] = osVar.SourceRetryCount - objectMap["sourceRetryWait"] = osVar.SourceRetryWait - objectMap["type"] = osVar.Type - for k, v := range osVar.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsHubspotObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false +// AsODataResourceDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return &odrd, true } -// AsEloquaSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsCustomDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsWebSource() (*WebSource, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) { - return &osVar, true +// AsAmazonS3Dataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) { +// AsBasicDataset is the BasicDataset implementation for ODataResourceDataset. +func (odrd ODataResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &odrd, true +} + +// UnmarshalJSON is the custom unmarshaler for ODataResourceDataset struct. +func (odrd *ODataResourceDataset) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var oDataResourceDatasetTypeProperties ODataResourceDatasetTypeProperties + err = json.Unmarshal(*v, &oDataResourceDatasetTypeProperties) + if err != nil { + return err + } + odrd.ODataResourceDatasetTypeProperties = &oDataResourceDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if odrd.AdditionalProperties == nil { + odrd.AdditionalProperties = make(map[string]interface{}) + } + odrd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + odrd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + odrd.Structure = structure + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + odrd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + odrd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + odrd.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + odrd.Type = typeVar + } + } + } + + return nil +} + +// ODataResourceDatasetTypeProperties oData dataset properties. +type ODataResourceDatasetTypeProperties struct { + // Path - The OData resource path. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` +} + +// OdbcLinkedService open Database Connectivity (ODBC) linked service. +type OdbcLinkedService struct { + // OdbcLinkedServiceTypeProperties - ODBC linked service properties. + *OdbcLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for OdbcLinkedService. +func (ols OdbcLinkedService) MarshalJSON() ([]byte, error) { + ols.Type = TypeOdbc + objectMap := make(map[string]interface{}) + if ols.OdbcLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ols.OdbcLinkedServiceTypeProperties + } + if ols.ConnectVia != nil { + objectMap["connectVia"] = ols.ConnectVia + } + if ols.Description != nil { + objectMap["description"] = ols.Description + } + if ols.Parameters != nil { + objectMap["parameters"] = ols.Parameters + } + if ols.Annotations != nil { + objectMap["annotations"] = ols.Annotations + } + objectMap["type"] = ols.Type + for k, v := range ols.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsCopySource() (*CopySource, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for OracleSource. -func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) { - return &osVar, true +// AsPhoenixLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// OracleTableDataset the on-premises Oracle database dataset. -type OracleTableDataset struct { - // OracleTableDatasetTypeProperties - On-premises Oracle dataset properties. - *OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// AsPaypalLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for OracleTableDataset. -func (otd OracleTableDataset) MarshalJSON() ([]byte, error) { - otd.Type = TypeOracleTable - objectMap := make(map[string]interface{}) - if otd.OracleTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties - } - if otd.Description != nil { - objectMap["description"] = otd.Description - } - objectMap["structure"] = otd.Structure - if otd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = otd.LinkedServiceName - } - if otd.Parameters != nil { - objectMap["parameters"] = otd.Parameters - } - objectMap["type"] = otd.Type - for k, v := range otd.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMarketoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return &ols, true +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return &otd, true +// AsDb2LinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsDataset() (*Dataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for OracleTableDataset. -func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &otd, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct. -func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { +// AsLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for OdbcLinkedService. +func (ols OdbcLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ols, true +} + +// UnmarshalJSON is the custom unmarshaler for OdbcLinkedService struct. +func (ols *OdbcLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -55496,12 +59309,12 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties - err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties) + var odbcLinkedServiceTypeProperties OdbcLinkedServiceTypeProperties + err = json.Unmarshal(*v, &odbcLinkedServiceTypeProperties) if err != nil { return err } - otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties + ols.OdbcLinkedServiceTypeProperties = &odbcLinkedServiceTypeProperties } default: if v != nil { @@ -55510,55 +59323,55 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if otd.AdditionalProperties == nil { - otd.AdditionalProperties = make(map[string]interface{}) + if ols.AdditionalProperties == nil { + ols.AdditionalProperties = make(map[string]interface{}) } - otd.AdditionalProperties[k] = additionalProperties + ols.AdditionalProperties[k] = additionalProperties } - case "description": + case "connectVia": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - otd.Description = &description + ols.ConnectVia = &connectVia } - case "structure": + case "description": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - otd.Structure = structure + ols.Description = &description } - case "linkedServiceName": + case "parameters": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - otd.LinkedServiceName = &linkedServiceName + ols.Parameters = parameters } - case "parameters": + case "annotations": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - otd.Parameters = parameters + ols.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - otd.Type = typeVar + ols.Type = typeVar } } } @@ -55566,511 +59379,736 @@ func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { return nil } -// OracleTableDatasetTypeProperties on-premises Oracle dataset properties. -type OracleTableDatasetTypeProperties struct { - // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` +// OdbcLinkedServiceTypeProperties ODBC linked service properties. +type OdbcLinkedServiceTypeProperties struct { + // ConnectionString - The non-access credential portion of the connection string as well as an optional encrypted credential. + ConnectionString BasicSecretBase `json:"connectionString,omitempty"` + // AuthenticationType - Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). + AuthenticationType interface{} `json:"authenticationType,omitempty"` + // Credential - The access credential portion of the connection string specified in driver-specific property-value format. + Credential BasicSecretBase `json:"credential,omitempty"` + // UserName - User name for Basic authentication. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password for Basic authentication. + Password BasicSecretBase `json:"password,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// OrcFormat the data stored in Optimized Row Columnar (ORC) format. -type OrcFormat struct { +// UnmarshalJSON is the custom unmarshaler for OdbcLinkedServiceTypeProperties struct. +func (olstp *OdbcLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionString": + if v != nil { + connectionString, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + olstp.ConnectionString = connectionString + } + case "authenticationType": + if v != nil { + var authenticationType interface{} + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + olstp.AuthenticationType = authenticationType + } + case "credential": + if v != nil { + credential, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + olstp.Credential = credential + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + olstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + olstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + olstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// OdbcSink a copy activity ODBC sink. +type OdbcSink struct { + // PreCopyScript - A query to execute before starting the copy. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` // 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"` + // 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"` + // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for OrcFormat. -func (of OrcFormat) MarshalJSON() ([]byte, error) { - of.Type = TypeOrcFormat +// MarshalJSON is the custom marshaler for OdbcSink. +func (osVar OdbcSink) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOdbcSink objectMap := make(map[string]interface{}) - objectMap["serializer"] = of.Serializer - objectMap["deserializer"] = of.Deserializer - objectMap["type"] = of.Type - for k, v := range of.AdditionalProperties { + objectMap["preCopyScript"] = osVar.PreCopyScript + objectMap["writeBatchSize"] = osVar.WriteBatchSize + objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout + objectMap["sinkRetryCount"] = osVar.SinkRetryCount + objectMap["sinkRetryWait"] = osVar.SinkRetryWait + objectMap["type"] = osVar.Type + for k, v := range osVar.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) { +// AsSalesforceSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) { - return &of, true +// AsDynamicsSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsDynamicsSink() (*DynamicsSink, bool) { + return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) { - return nil, false +// AsOdbcSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsOdbcSink() (*OdbcSink, bool) { + return &osVar, true } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsTextFormat() (*TextFormat, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { +// AsOracleSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. -func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &of, true +// AsSQLDWSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSQLDWSink() (*SQLDWSink, bool) { + return nil, false } -// ParameterSpecification definition of a single parameter for an entity. -type ParameterSpecification struct { - // Type - Parameter type. Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array' - Type ParameterType `json:"type,omitempty"` - // DefaultValue - Default value of parameter. - DefaultValue interface{} `json:"defaultValue,omitempty"` +// AsSQLSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSQLSink() (*SQLSink, bool) { + return nil, false } -// ParquetFormat the data stored in Parquet format. -type ParquetFormat struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Serializer - Serializer. Type: string (or Expression with resultType string). - Serializer interface{} `json:"serializer,omitempty"` - // Deserializer - Deserializer. Type: string (or Expression with resultType string). - Deserializer interface{} `json:"deserializer,omitempty"` - // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' - Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` +// AsDocumentDbCollectionSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ParquetFormat. -func (pf ParquetFormat) MarshalJSON() ([]byte, error) { - pf.Type = TypeParquetFormat - objectMap := make(map[string]interface{}) - objectMap["serializer"] = pf.Serializer - objectMap["deserializer"] = pf.Deserializer - objectMap["type"] = pf.Type - for k, v := range pf.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsFileSystemSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) { - return &pf, true +// AsBlobSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsBlobSink() (*BlobSink, bool) { + return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) { +// AsAzureTableSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) { +// AsCopySink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for OdbcSink. +func (osVar OdbcSink) AsBasicCopySink() (BasicCopySink, bool) { + return &osVar, true } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. -func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &pf, true +// Operation azure Data Factory API operation definition. +type Operation struct { + // Name - Operation name: {provider}/{resource}/{operation} + Name *string `json:"name,omitempty"` + // Origin - The intended executor of the operation. + Origin *string `json:"origin,omitempty"` + // Display - Metadata associated with the operation. + Display *OperationDisplay `json:"display,omitempty"` + // OperationProperties - Additional details about the operation. + *OperationProperties `json:"properties,omitempty"` } -// PaypalLinkedService paypal Serivce linked service. -type PaypalLinkedService struct { - // PaypalLinkedServiceTypeProperties - Paypal Serivce linked service properties. - *PaypalLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// UnmarshalJSON is the custom unmarshaler for Operation struct. +func (o *Operation) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + 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 + } + o.Name = &name + } + case "origin": + if v != nil { + var origin string + err = json.Unmarshal(*v, &origin) + if err != nil { + return err + } + o.Origin = &origin + } + case "display": + if v != nil { + var display OperationDisplay + err = json.Unmarshal(*v, &display) + if err != nil { + return err + } + o.Display = &display + } + case "properties": + if v != nil { + var operationProperties OperationProperties + err = json.Unmarshal(*v, &operationProperties) + if err != nil { + return err + } + o.OperationProperties = &operationProperties + } + } + } + + return nil +} + +// OperationDisplay metadata associated with the operation. +type OperationDisplay struct { + // Description - The description of the operation. + Description *string `json:"description,omitempty"` + // Provider - The name of the provider. + Provider *string `json:"provider,omitempty"` + // Resource - The name of the resource type on which the operation is performed. + Resource *string `json:"resource,omitempty"` + // Operation - The type of operation: get, read, delete, etc. + Operation *string `json:"operation,omitempty"` +} + +// OperationListResponse a list of operations that can be performed by the Data Factory service. +type OperationListResponse struct { + autorest.Response `json:"-"` + // Value - List of Data Factory operations supported by the Data Factory resource provider. + Value *[]Operation `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// OperationLogSpecification details about an operation related to logs. +type OperationLogSpecification struct { + // Name - The name of the log category. + Name *string `json:"name,omitempty"` + // DisplayName - Localized display name. + DisplayName *string `json:"displayName,omitempty"` + // BlobDuration - Blobs created in the customer storage account, per hour. + BlobDuration *string `json:"blobDuration,omitempty"` +} + +// OperationMetricAvailability defines how often data for a metric becomes available. +type OperationMetricAvailability struct { + // TimeGrain - The granularity for the metric. + TimeGrain *string `json:"timeGrain,omitempty"` + // BlobDuration - Blob created in the customer storage account, per hour. + BlobDuration *string `json:"blobDuration,omitempty"` +} + +// OperationMetricSpecification details about an operation related to metrics. +type OperationMetricSpecification struct { + // Name - The name of the metric. + Name *string `json:"name,omitempty"` + // DisplayName - Localized display name of the metric. + DisplayName *string `json:"displayName,omitempty"` + // DisplayDescription - The description of the metric. + DisplayDescription *string `json:"displayDescription,omitempty"` + // Unit - The unit that the metric is measured in. + Unit *string `json:"unit,omitempty"` + // AggregationType - The type of metric aggregation. + AggregationType *string `json:"aggregationType,omitempty"` + // EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts. + EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"` + // SourceMdmAccount - The name of the MDM account. + SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"` + // SourceMdmNamespace - The name of the MDM namespace. + SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` + // Availabilities - Defines how often data for metrics becomes available. + Availabilities *[]OperationMetricAvailability `json:"availabilities,omitempty"` +} + +// OperationProperties additional details about an operation. +type OperationProperties struct { + // ServiceSpecification - Details about a service operation. + ServiceSpecification *OperationServiceSpecification `json:"serviceSpecification,omitempty"` +} + +// OperationServiceSpecification details about a service operation. +type OperationServiceSpecification struct { + // LogSpecifications - Details about operations related to logs. + LogSpecifications *[]OperationLogSpecification `json:"logSpecifications,omitempty"` + // MetricSpecifications - Details about operations related to metrics. + MetricSpecifications *[]OperationMetricSpecification `json:"metricSpecifications,omitempty"` +} + +// OracleLinkedService oracle database. +type OracleLinkedService struct { + // OracleLinkedServiceTypeProperties - Oracle database linked service properties. + *OracleLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PaypalLinkedService. -func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) { - pls.Type = TypePaypal +// MarshalJSON is the custom marshaler for OracleLinkedService. +func (ols OracleLinkedService) MarshalJSON() ([]byte, error) { + ols.Type = TypeOracle objectMap := make(map[string]interface{}) - if pls.PaypalLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties + if ols.OracleLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ols.OracleLinkedServiceTypeProperties } - if pls.ConnectVia != nil { - objectMap["connectVia"] = pls.ConnectVia + if ols.ConnectVia != nil { + objectMap["connectVia"] = ols.ConnectVia } - if pls.Description != nil { - objectMap["description"] = pls.Description + if ols.Description != nil { + objectMap["description"] = ols.Description } - objectMap["type"] = pls.Type - for k, v := range pls.AdditionalProperties { + if ols.Parameters != nil { + objectMap["parameters"] = ols.Parameters + } + if ols.Annotations != nil { + objectMap["annotations"] = ols.Annotations + } + objectMap["type"] = ols.Type + for k, v := range ols.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return &pls, true +// AsQuickBooksLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return &ols, true +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService. -func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &pls, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct. -func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { +// AsLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for OracleLinkedService. +func (ols OracleLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ols, true +} + +// UnmarshalJSON is the custom unmarshaler for OracleLinkedService struct. +func (ols *OracleLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -56080,12 +60118,12 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties - err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties) + var oracleLinkedServiceTypeProperties OracleLinkedServiceTypeProperties + err = json.Unmarshal(*v, &oracleLinkedServiceTypeProperties) if err != nil { return err } - pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties + ols.OracleLinkedServiceTypeProperties = &oracleLinkedServiceTypeProperties } default: if v != nil { @@ -56094,10 +60132,10 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pls.AdditionalProperties == nil { - pls.AdditionalProperties = make(map[string]interface{}) + if ols.AdditionalProperties == nil { + ols.AdditionalProperties = make(map[string]interface{}) } - pls.AdditionalProperties[k] = additionalProperties + ols.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -56106,7 +60144,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.ConnectVia = &connectVia + ols.ConnectVia = &connectVia } case "description": if v != nil { @@ -56115,7 +60153,25 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Description = &description + ols.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ols.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ols.Annotations = &annotations } case "type": if v != nil { @@ -56124,7 +60180,7 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Type = typeVar + ols.Type = typeVar } } } @@ -56132,26 +60188,16 @@ func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { return nil } -// PaypalLinkedServiceTypeProperties paypal Serivce linked service properties. -type PaypalLinkedServiceTypeProperties struct { - // Host - The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) - Host interface{} `json:"host,omitempty"` - // ClientID - The client ID associated with your PayPal application. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret associated with your PayPal application. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` +// OracleLinkedServiceTypeProperties oracle database linked service properties. +type OracleLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. + ConnectionString BasicSecretBase `json:"connectionString,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct. -func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OracleLinkedServiceTypeProperties struct. +func (olstp *OracleLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -56159,58 +60205,13 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - plstp.Host = host - } - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - plstp.ClientID = clientID - } - case "clientSecret": - if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - plstp.ClientSecret = clientSecret - } - case "useEncryptedEndpoints": - if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) - if err != nil { - return err - } - plstp.UseEncryptedEndpoints = useEncryptedEndpoints - } - case "useHostVerification": - if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) - if err != nil { - return err - } - plstp.UseHostVerification = useHostVerification - } - case "usePeerVerification": + case "connectionString": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + connectionString, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - plstp.UsePeerVerification = usePeerVerification + olstp.ConnectionString = connectionString } case "encryptedCredential": if v != nil { @@ -56219,7 +60220,7 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - plstp.EncryptedCredential = encryptedCredential + olstp.EncryptedCredential = encryptedCredential } } } @@ -56227,937 +60228,715 @@ func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// PaypalObjectDataset paypal Serivce dataset. -type PaypalObjectDataset struct { +// OracleSink a copy activity Oracle sink. +type OracleSink struct { + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', '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"` + // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PaypalObjectDataset. -func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) { - pod.Type = TypePaypalObject +// MarshalJSON is the custom marshaler for OracleSink. +func (osVar OracleSink) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOracleSink objectMap := make(map[string]interface{}) - if pod.Description != nil { - objectMap["description"] = pod.Description - } - objectMap["structure"] = pod.Structure - if pod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = pod.LinkedServiceName - } - if pod.Parameters != nil { - objectMap["parameters"] = pod.Parameters - } - objectMap["type"] = pod.Type - for k, v := range pod.AdditionalProperties { + objectMap["preCopyScript"] = osVar.PreCopyScript + objectMap["writeBatchSize"] = osVar.WriteBatchSize + objectMap["writeBatchTimeout"] = osVar.WriteBatchTimeout + objectMap["sinkRetryCount"] = osVar.SinkRetryCount + objectMap["sinkRetryWait"] = osVar.SinkRetryWait + objectMap["type"] = osVar.Type + for k, v := range osVar.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsSalesforceSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsDynamicsSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsOdbcSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false +// AsOracleSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsOracleSink() (*OracleSink, bool) { + return &osVar, true } -// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSQLDWSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSQLSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return &pod, true +// AsFileSystemSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsBlobSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAzureTableSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsCopySink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for OracleSink. +func (osVar OracleSink) AsBasicCopySink() (BasicCopySink, bool) { + return &osVar, true } -// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false +// OracleSource a copy activity Oracle source. +type OracleSource struct { + // OracleReaderQuery - Oracle reader query. Type: string (or Expression with resultType string). + OracleReaderQuery interface{} `json:"oracleReaderQuery,omitempty"` + // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for OracleSource. +func (osVar OracleSource) MarshalJSON() ([]byte, error) { + osVar.Type = TypeOracleSource + objectMap := make(map[string]interface{}) + objectMap["oracleReaderQuery"] = osVar.OracleReaderQuery + objectMap["queryTimeout"] = osVar.QueryTimeout + objectMap["sourceRetryCount"] = osVar.SourceRetryCount + objectMap["sourceRetryWait"] = osVar.SourceRetryWait + objectMap["type"] = osVar.Type + for k, v := range osVar.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) { - return nil, false -} - -// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { - return nil, false -} - -// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { - return nil, false -} - -// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { - return nil, false -} - -// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { - return nil, false -} - -// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { - return nil, false -} - -// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { - return nil, false -} - -// AsDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) { - return nil, false -} - -// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset. -func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &pod, true -} - -// PaypalSource a copy activity Paypal Serivce source. -type PaypalSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). - 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for PaypalSource. -func (ps PaypalSource) MarshalJSON() ([]byte, error) { - ps.Type = TypePaypalSource - objectMap := make(map[string]interface{}) - objectMap["query"] = ps.Query - objectMap["sourceRetryCount"] = ps.SourceRetryCount - objectMap["sourceRetryWait"] = ps.SourceRetryWait - objectMap["type"] = ps.Type - for k, v := range ps.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { - return nil, false -} - -// AsZohoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) { - return nil, false -} - -// AsXeroSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) { - return nil, false -} - -// AsSquareSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) { - return nil, false -} - -// AsSparkSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) { - return nil, false -} - -// AsShopifySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) { +// AsDrillSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsConcurSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) { - return &ps, true -} - -// AsMarketoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsWebSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false +// AsOracleSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsOracleSource() (*OracleSource, bool) { + return &osVar, true } -// AsHiveSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSQLSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsBlobSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) { +// AsCopySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsWebSource() (*WebSource, bool) { - return nil, false +// AsBasicCopySource is the BasicCopySource implementation for OracleSource. +func (osVar OracleSource) AsBasicCopySource() (BasicCopySource, bool) { + return &osVar, true } -// AsOracleSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) { - return nil, false +// OracleTableDataset the on-premises Oracle database dataset. +type OracleTableDataset struct { + // OracleTableDatasetTypeProperties - On-premises Oracle dataset properties. + *OracleTableDatasetTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { - return nil, false +// MarshalJSON is the custom marshaler for OracleTableDataset. +func (otd OracleTableDataset) MarshalJSON() ([]byte, error) { + otd.Type = TypeOracleTable + objectMap := make(map[string]interface{}) + if otd.OracleTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = otd.OracleTableDatasetTypeProperties + } + if otd.Description != nil { + objectMap["description"] = otd.Description + } + objectMap["structure"] = otd.Structure + if otd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = otd.LinkedServiceName + } + if otd.Parameters != nil { + objectMap["parameters"] = otd.Parameters + } + if otd.Annotations != nil { + objectMap["annotations"] = otd.Annotations + } + objectMap["type"] = otd.Type + for k, v := range otd.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsHdfsSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsCopySource() (*CopySource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for PaypalSource. -func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ps, true -} - -// PhoenixLinkedService phoenix server linked service. -type PhoenixLinkedService struct { - // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties. - *PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for PhoenixLinkedService. -func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) { - pls.Type = TypePhoenix - objectMap := make(map[string]interface{}) - if pls.PhoenixLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties - } - if pls.ConnectVia != nil { - objectMap["connectVia"] = pls.ConnectVia - } - if pls.Description != nil { - objectMap["description"] = pls.Description - } - objectMap["type"] = pls.Type - for k, v := range pls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return &pls, true -} - -// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false +// AsOracleTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return &otd, true } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for OracleTableDataset. +func (otd OracleTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &otd, true } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { - return nil, false -} - -// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false -} - -// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { - return nil, false -} - -// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { - return nil, false -} - -// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { - return nil, false -} - -// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false -} - -// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false -} - -// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false -} - -// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false -} - -// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return nil, false -} - -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { - return nil, false -} - -// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false -} - -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false -} - -// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return nil, false -} - -// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { - return nil, false -} - -// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { - return nil, false -} - -// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { - return nil, false -} - -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return nil, false -} - -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { - return nil, false -} - -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false -} - -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false -} - -// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return nil, false -} - -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { - return nil, false -} - -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false -} - -// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false -} - -// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. -func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &pls, true -} - -// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct. -func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for OracleTableDataset struct. +func (otd *OracleTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -57167,12 +60946,12 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties - err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties) + var oracleTableDatasetTypeProperties OracleTableDatasetTypeProperties + err = json.Unmarshal(*v, &oracleTableDatasetTypeProperties) if err != nil { return err } - pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties + otd.OracleTableDatasetTypeProperties = &oracleTableDatasetTypeProperties } default: if v != nil { @@ -57181,19 +60960,10 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if pls.AdditionalProperties == nil { - pls.AdditionalProperties = make(map[string]interface{}) - } - pls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if otd.AdditionalProperties == nil { + otd.AdditionalProperties = make(map[string]interface{}) } - pls.ConnectVia = &connectVia + otd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -57202,166 +60972,52 @@ func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - pls.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - pls.Type = typeVar - } - } - } - - return nil -} - -// PhoenixLinkedServiceTypeProperties phoenix server linked service properties. -type PhoenixLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) - Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. - Port interface{} `json:"port,omitempty"` - // HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. - HTTPPath interface{} `json:"httpPath,omitempty"` - // AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService' - AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to connect to the Phoenix server. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name. - Password BasicSecretBase `json:"password,omitempty"` - // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. - EnableSsl interface{} `json:"enableSsl,omitempty"` - // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. - TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` - // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. - UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` - // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. - AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` - // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. - AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct. -func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "host": - if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) - if err != nil { - return err - } - plstp.Host = host - } - case "port": - if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) - if err != nil { - return err - } - plstp.Port = port - } - case "httpPath": - if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) - if err != nil { - return err - } - plstp.HTTPPath = HTTPPath - } - case "authenticationType": - if v != nil { - var authenticationType PhoenixAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - plstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - plstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - plstp.Password = password - } - case "enableSsl": - if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) - if err != nil { - return err - } - plstp.EnableSsl = enableSsl + otd.Description = &description } - case "trustedCertPath": + case "structure": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - plstp.TrustedCertPath = trustedCertPath + otd.Structure = structure } - case "useSystemTrustStore": + case "linkedServiceName": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - plstp.UseSystemTrustStore = useSystemTrustStore + otd.LinkedServiceName = &linkedServiceName } - case "allowHostNameCNMismatch": + case "parameters": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + otd.Parameters = parameters } - case "allowSelfSignedServerCert": + case "annotations": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + otd.Annotations = &annotations } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - plstp.EncryptedCredential = encryptedCredential + otd.Type = typeVar } } } @@ -57369,598 +61025,536 @@ func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// PhoenixObjectDataset phoenix server dataset. -type PhoenixObjectDataset struct { +// OracleTableDatasetTypeProperties on-premises Oracle dataset properties. +type OracleTableDatasetTypeProperties struct { + // TableName - The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` +} + +// OrcFormat the data stored in Optimized Row Columnar (ORC) format. +type OrcFormat struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', '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 PhoenixObjectDataset. -func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { - pod.Type = TypePhoenixObject +// MarshalJSON is the custom marshaler for OrcFormat. +func (of OrcFormat) MarshalJSON() ([]byte, error) { + of.Type = TypeOrcFormat objectMap := make(map[string]interface{}) - if pod.Description != nil { - objectMap["description"] = pod.Description - } - objectMap["structure"] = pod.Structure - if pod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = pod.LinkedServiceName - } - if pod.Parameters != nil { - objectMap["parameters"] = pod.Parameters - } - objectMap["type"] = pod.Type - for k, v := range pod.AdditionalProperties { + objectMap["serializer"] = of.Serializer + objectMap["deserializer"] = of.Deserializer + objectMap["type"] = of.Type + for k, v := range of.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsParquetFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsParquetFormat() (*ParquetFormat, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { - return nil, false +// AsOrcFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsOrcFormat() (*OrcFormat, bool) { + return &of, true } -// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsAvroFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsAvroFormat() (*AvroFormat, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsJSONFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsJSONFormat() (*JSONFormat, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsTextFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsTextFormat() (*TextFormat, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return nil, false +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for OrcFormat. +func (of OrcFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &of, true } -// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false +// ParameterSpecification definition of a single parameter for an entity. +type ParameterSpecification struct { + // Type - Parameter type. Possible values include: 'ParameterTypeObject', 'ParameterTypeString', 'ParameterTypeInt', 'ParameterTypeFloat', 'ParameterTypeBool', 'ParameterTypeArray', 'ParameterTypeSecureString' + Type ParameterType `json:"type,omitempty"` + // DefaultValue - Default value of parameter. + DefaultValue interface{} `json:"defaultValue,omitempty"` } -// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { - return &pod, true +// ParquetFormat the data stored in Parquet format. +type ParquetFormat struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Serializer - Serializer. Type: string (or Expression with resultType string). + Serializer interface{} `json:"serializer,omitempty"` + // Deserializer - Deserializer. Type: string (or Expression with resultType string). + Deserializer interface{} `json:"deserializer,omitempty"` + // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' + Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` } -// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for ParquetFormat. +func (pf ParquetFormat) MarshalJSON() ([]byte, error) { + pf.Type = TypeParquetFormat + objectMap := make(map[string]interface{}) + objectMap["serializer"] = pf.Serializer + objectMap["deserializer"] = pf.Deserializer + objectMap["type"] = pf.Type + for k, v := range pf.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false +// AsParquetFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsParquetFormat() (*ParquetFormat, bool) { + return &pf, true } -// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsOrcFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsOrcFormat() (*OrcFormat, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAvroFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsAvroFormat() (*AvroFormat, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsJSONFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsJSONFormat() (*JSONFormat, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsTextFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsTextFormat() (*TextFormat, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { - return nil, false +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for ParquetFormat. +func (pf ParquetFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &pf, true } -// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { - return nil, false +// PaypalLinkedService paypal Serivce linked service. +type PaypalLinkedService struct { + // PaypalLinkedServiceTypeProperties - Paypal Serivce linked service properties. + *PaypalLinkedServiceTypeProperties `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// MarshalJSON is the custom marshaler for PaypalLinkedService. +func (pls PaypalLinkedService) MarshalJSON() ([]byte, error) { + pls.Type = TypePaypal + objectMap := make(map[string]interface{}) + if pls.PaypalLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = pls.PaypalLinkedServiceTypeProperties + } + if pls.ConnectVia != nil { + objectMap["connectVia"] = pls.ConnectVia + } + if pls.Description != nil { + objectMap["description"] = pls.Description + } + if pls.Parameters != nil { + objectMap["parameters"] = pls.Parameters + } + if pls.Annotations != nil { + objectMap["annotations"] = pls.Annotations + } + objectMap["type"] = pls.Type + for k, v := range pls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { - return nil, false -} - -// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { - return nil, false -} - -// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { - return nil, false -} - -// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return nil, false -} - -// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return nil, false -} - -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return nil, false -} - -// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return nil, false -} - -// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false -} - -// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false -} - -// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false +// AsPaypalLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return &pls, true } -// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset. -func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &pod, true -} - -// PhoenixSource a copy activity Phoenix server source. -type PhoenixSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for PhoenixSource. -func (ps PhoenixSource) MarshalJSON() ([]byte, error) { - ps.Type = TypePhoenixSource - objectMap := make(map[string]interface{}) - objectMap["query"] = ps.Query - objectMap["sourceRetryCount"] = ps.SourceRetryCount - objectMap["sourceRetryWait"] = ps.SourceRetryWait - objectMap["type"] = ps.Type - for k, v := range ps.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) { - return &ps, true -} - -// AsPaypalSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsWebSource() (*WebSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsCopySource() (*CopySource, bool) { +// AsLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource. -func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ps, true -} - -// Pipeline a data factory pipeline. -type Pipeline struct { - // Description - The description of the pipeline. - Description *string `json:"description,omitempty"` - // Activities - List of activities in pipeline. - Activities *[]BasicActivity `json:"activities,omitempty"` - // Parameters - List of parameters for pipeline. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Concurrency - The max number of concurrent runs for the pipeline. - Concurrency *int32 `json:"concurrency,omitempty"` -} - -// MarshalJSON is the custom marshaler for Pipeline. -func (p Pipeline) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if p.Description != nil { - objectMap["description"] = p.Description - } - if p.Activities != nil { - objectMap["activities"] = p.Activities - } - if p.Parameters != nil { - objectMap["parameters"] = p.Parameters - } - if p.Concurrency != nil { - objectMap["concurrency"] = p.Concurrency - } - return json.Marshal(objectMap) +// AsBasicLinkedService is the BasicLinkedService implementation for PaypalLinkedService. +func (pls PaypalLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &pls, true } -// UnmarshalJSON is the custom unmarshaler for Pipeline struct. -func (p *Pipeline) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PaypalLinkedService struct. +func (pls *PaypalLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -57968,22 +61562,44 @@ func (p *Pipeline) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "description": + case "typeProperties": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var paypalLinkedServiceTypeProperties PaypalLinkedServiceTypeProperties + err = json.Unmarshal(*v, &paypalLinkedServiceTypeProperties) if err != nil { return err } - p.Description = &description + pls.PaypalLinkedServiceTypeProperties = &paypalLinkedServiceTypeProperties } - case "activities": + default: if v != nil { - activities, err := unmarshalBasicActivityArray(*v) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - p.Activities = &activities + if pls.AdditionalProperties == nil { + pls.AdditionalProperties = make(map[string]interface{}) + } + pls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + pls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + pls.Description = &description } case "parameters": if v != nil { @@ -57992,16 +61608,25 @@ func (p *Pipeline) UnmarshalJSON(body []byte) error { if err != nil { return err } - p.Parameters = parameters + pls.Parameters = parameters } - case "concurrency": + case "annotations": if v != nil { - var concurrency int32 - err = json.Unmarshal(*v, &concurrency) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - p.Concurrency = &concurrency + pls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + pls.Type = typeVar } } } @@ -58009,224 +61634,94 @@ func (p *Pipeline) UnmarshalJSON(body []byte) error { return nil } -// PipelineListResponse a list of pipeline resources. -type PipelineListResponse struct { - autorest.Response `json:"-"` - // Value - List of pipelines. - Value *[]PipelineResource `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` -} - -// PipelineListResponseIterator provides access to a complete listing of PipelineResource values. -type PipelineListResponseIterator struct { - i int - page PipelineListResponsePage +// PaypalLinkedServiceTypeProperties paypal Serivce linked service properties. +type PaypalLinkedServiceTypeProperties struct { + // Host - The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) + Host interface{} `json:"host,omitempty"` + // ClientID - The client ID associated with your PayPal application. + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret associated with your PayPal application. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// Next advances to the next value. If there was an error making -// the request the iterator does not advance and the error is returned. -func (iter *PipelineListResponseIterator) Next() error { - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err := iter.page.Next() - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil -} - -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter PipelineListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) -} - -// Response returns the raw server response from the last page request. -func (iter PipelineListResponseIterator) Response() PipelineListResponse { - return iter.page.Response() -} - -// Value returns the current value or a zero-initialized value if the -// iterator has advanced beyond the end of the collection. -func (iter PipelineListResponseIterator) Value() PipelineResource { - if !iter.page.NotDone() { - return PipelineResource{} - } - return iter.page.Values()[iter.i] -} - -// IsEmpty returns true if the ListResult contains no values. -func (plr PipelineListResponse) IsEmpty() bool { - return plr.Value == nil || len(*plr.Value) == 0 -} - -// pipelineListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (plr PipelineListResponse) pipelineListResponsePreparer() (*http.Request, error) { - if plr.NextLink == nil || len(to.String(plr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare(&http.Request{}, - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(plr.NextLink))) -} - -// PipelineListResponsePage contains a page of PipelineResource values. -type PipelineListResponsePage struct { - fn func(PipelineListResponse) (PipelineListResponse, error) - plr PipelineListResponse -} - -// 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. -func (page *PipelineListResponsePage) Next() error { - next, err := page.fn(page.plr) - if err != nil { - return err - } - page.plr = next - return nil -} - -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page PipelineListResponsePage) NotDone() bool { - return !page.plr.IsEmpty() -} - -// Response returns the raw server response from the last page request. -func (page PipelineListResponsePage) Response() PipelineListResponse { - return page.plr -} - -// Values returns the slice of values for the current page or nil if there are no values. -func (page PipelineListResponsePage) Values() []PipelineResource { - if page.plr.IsEmpty() { - return nil - } - return *page.plr.Value -} - -// PipelineReference pipeline reference type. -type PipelineReference struct { - // Type - Pipeline reference type. - Type *string `json:"type,omitempty"` - // ReferenceName - Reference pipeline name. - ReferenceName *string `json:"referenceName,omitempty"` - // Name - Reference name. - Name *string `json:"name,omitempty"` -} - -// PipelineResource pipeline resource type. -type PipelineResource struct { - autorest.Response `json:"-"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Pipeline - Properties of the pipeline. - *Pipeline `json:"properties,omitempty"` - // ID - The resource identifier. - ID *string `json:"id,omitempty"` - // Name - The resource name. - Name *string `json:"name,omitempty"` - // Type - The resource type. - Type *string `json:"type,omitempty"` - // Etag - Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` -} - -// MarshalJSON is the custom marshaler for PipelineResource. -func (pr PipelineResource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if pr.Pipeline != nil { - objectMap["properties"] = pr.Pipeline - } - if pr.ID != nil { - objectMap["id"] = pr.ID - } - if pr.Name != nil { - objectMap["name"] = pr.Name - } - if pr.Type != nil { - objectMap["type"] = pr.Type - } - if pr.Etag != nil { - objectMap["etag"] = pr.Etag - } - for k, v := range pr.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for PipelineResource struct. -func (pr *PipelineResource) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) +// UnmarshalJSON is the custom unmarshaler for PaypalLinkedServiceTypeProperties struct. +func (plstp *PaypalLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) if err != nil { return err } for k, v := range m { switch k { - default: + case "host": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - if pr.AdditionalProperties == nil { - pr.AdditionalProperties = make(map[string]interface{}) + plstp.Host = host + } + case "clientId": + if v != nil { + var clientID interface{} + err = json.Unmarshal(*v, &clientID) + if err != nil { + return err } - pr.AdditionalProperties[k] = additionalProperties + plstp.ClientID = clientID } - case "properties": + case "clientSecret": if v != nil { - var pipeline Pipeline - err = json.Unmarshal(*v, &pipeline) + clientSecret, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - pr.Pipeline = &pipeline + plstp.ClientSecret = clientSecret } - case "id": + case "useEncryptedEndpoints": if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) if err != nil { return err } - pr.ID = &ID + plstp.UseEncryptedEndpoints = useEncryptedEndpoints } - case "name": + case "useHostVerification": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var useHostVerification interface{} + err = json.Unmarshal(*v, &useHostVerification) if err != nil { return err } - pr.Name = &name + plstp.UseHostVerification = useHostVerification } - case "type": + case "usePeerVerification": if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) + var usePeerVerification interface{} + err = json.Unmarshal(*v, &usePeerVerification) if err != nil { return err } - pr.Type = &typeVar + plstp.UsePeerVerification = usePeerVerification } - 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 } - pr.Etag = &etag + plstp.EncryptedCredential = encryptedCredential } } } @@ -58234,1035 +61729,987 @@ func (pr *PipelineResource) UnmarshalJSON(body []byte) error { return nil } -// PipelineRun information about a pipeline run. -type PipelineRun struct { - autorest.Response `json:"-"` +// PaypalObjectDataset paypal Serivce dataset. +type PaypalObjectDataset struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // RunID - Identifier of a run. - RunID *string `json:"runId,omitempty"` - // PipelineName - The pipeline name. - PipelineName *string `json:"pipelineName,omitempty"` - // Parameters - The full or partial list of parameter name, value pair used in the pipeline run. - Parameters map[string]*string `json:"parameters"` - // InvokedBy - Entity that started the pipeline run. - InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"` - // LastUpdated - The last updated timestamp for the pipeline run event in ISO8601 format. - LastUpdated *date.Time `json:"lastUpdated,omitempty"` - // RunStart - The start time of a pipeline run in ISO8601 format. - RunStart *date.Time `json:"runStart,omitempty"` - // RunEnd - The end time of a pipeline run in ISO8601 format. - RunEnd *date.Time `json:"runEnd,omitempty"` - // DurationInMs - The duration of a pipeline run. - DurationInMs *int32 `json:"durationInMs,omitempty"` - // Status - The status of a pipeline run. - Status *string `json:"status,omitempty"` - // Message - The message from a pipeline run. - Message *string `json:"message,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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PipelineRun. -func (pr PipelineRun) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for PaypalObjectDataset. +func (pod PaypalObjectDataset) MarshalJSON() ([]byte, error) { + pod.Type = TypePaypalObject objectMap := make(map[string]interface{}) - if pr.RunID != nil { - objectMap["runId"] = pr.RunID - } - if pr.PipelineName != nil { - objectMap["pipelineName"] = pr.PipelineName - } - if pr.Parameters != nil { - objectMap["parameters"] = pr.Parameters - } - if pr.InvokedBy != nil { - objectMap["invokedBy"] = pr.InvokedBy - } - if pr.LastUpdated != nil { - objectMap["lastUpdated"] = pr.LastUpdated - } - if pr.RunStart != nil { - objectMap["runStart"] = pr.RunStart - } - if pr.RunEnd != nil { - objectMap["runEnd"] = pr.RunEnd + if pod.Description != nil { + objectMap["description"] = pod.Description } - if pr.DurationInMs != nil { - objectMap["durationInMs"] = pr.DurationInMs + objectMap["structure"] = pod.Structure + if pod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = pod.LinkedServiceName } - if pr.Status != nil { - objectMap["status"] = pr.Status + if pod.Parameters != nil { + objectMap["parameters"] = pod.Parameters } - if pr.Message != nil { - objectMap["message"] = pr.Message + if pod.Annotations != nil { + objectMap["annotations"] = pod.Annotations } - for k, v := range pr.AdditionalProperties { + objectMap["type"] = pod.Type + for k, v := range pod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// PipelineRunFilterParameters query parameters for listing pipeline runs. -type PipelineRunFilterParameters struct { - // ContinuationToken - The continuation token for getting the next page of results. Null for first page. - ContinuationToken *string `json:"continuationToken,omitempty"` - // LastUpdatedAfter - The time at or after which the pipeline run event was updated in 'ISO 8601' format. - LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"` - // LastUpdatedBefore - The time at or before which the pipeline run event was updated in 'ISO 8601' format. - LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"` - // Filters - List of filters. - Filters *[]PipelineRunQueryFilter `json:"filters,omitempty"` - // OrderBy - List of OrderBy option. - OrderBy *[]PipelineRunQueryOrderBy `json:"orderBy,omitempty"` -} - -// PipelineRunInvokedBy provides entity name and id that started the pipeline run. -type PipelineRunInvokedBy struct { - // Name - Name of the entity that started the pipeline run. - Name *string `json:"name,omitempty"` - // ID - The ID of the entity that started the run. - ID *string `json:"id,omitempty"` -} - -// PipelineRunQueryFilter query filter option for listing pipeline runs. -type PipelineRunQueryFilter struct { - // Operand - Parameter name to be used for filter. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd' - Operand PipelineRunQueryFilterOperand `json:"operand,omitempty"` - // Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' - Operator PipelineRunQueryFilterOperator `json:"operator,omitempty"` - // Values - List of filter values. - Values *[]string `json:"values,omitempty"` -} - -// PipelineRunQueryOrderBy an object to provide order by options for listing pipeline runs. -type PipelineRunQueryOrderBy struct { - // OrderBy - Parameter name to be used for order by. Possible values include: 'PipelineRunQueryOrderByFieldRunStart', 'PipelineRunQueryOrderByFieldRunEnd' - OrderBy PipelineRunQueryOrderByField `json:"orderBy,omitempty"` - // Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC' - Order PipelineRunQueryOrder `json:"order,omitempty"` +// AsVerticaTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false } -// PipelineRunQueryResponse a list pipeline runs. -type PipelineRunQueryResponse struct { - autorest.Response `json:"-"` - // Value - List of pipeline runs. - Value *[]PipelineRun `json:"value,omitempty"` - // ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise. - ContinuationToken *string `json:"continuationToken,omitempty"` +// AsNetezzaTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false } -// PolybaseSettings polyBase settings. -type PolybaseSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // RejectType - Reject type. Possible values include: 'Value', 'Percentage' - RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"` - // RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. - RejectValue interface{} `json:"rejectValue,omitempty"` - // RejectSampleValue - Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. - RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"` - // UseTypeDefault - Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). - UseTypeDefault interface{} `json:"useTypeDefault,omitempty"` +// AsZohoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for PolybaseSettings. -func (ps PolybaseSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - objectMap["rejectType"] = ps.RejectType - objectMap["rejectValue"] = ps.RejectValue - objectMap["rejectSampleValue"] = ps.RejectSampleValue - objectMap["useTypeDefault"] = ps.UseTypeDefault - for k, v := range ps.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsXeroObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false } -// PostgreSQLLinkedService linked service for PostgreSQL data source. -type PostgreSQLLinkedService struct { - // PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties. - *PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// AsSquareObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) { - psls.Type = TypePostgreSQL - objectMap := make(map[string]interface{}) - if psls.PostgreSQLLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties - } - if psls.ConnectVia != nil { - objectMap["connectVia"] = psls.ConnectVia - } - if psls.Description != nil { - objectMap["description"] = psls.Description - } - objectMap["type"] = psls.Type - for k, v := range psls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSparkObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false +// AsPaypalObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return &pod, true } -// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for PaypalObjectDataset. +func (pod PaypalObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &pod, true } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { - return nil, false +// PaypalSource a copy activity Paypal Serivce source. +type PaypalSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). + 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for PaypalSource. +func (ps PaypalSource) MarshalJSON() ([]byte, error) { + ps.Type = TypePaypalSource + objectMap := make(map[string]interface{}) + objectMap["query"] = ps.Query + objectMap["sourceRetryCount"] = ps.SourceRetryCount + objectMap["sourceRetryWait"] = ps.SourceRetryWait + objectMap["type"] = ps.Type + for k, v := range ps.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { - return &psls, true +// AsNetezzaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { - return nil, false +// AsPaypalSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsPaypalSource() (*PaypalSource, bool) { + return &ps, true } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. -func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &psls, true +// AsImpalaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct. -func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties - err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties) - if err != nil { - return err - } - psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if psls.AdditionalProperties == nil { - psls.AdditionalProperties = make(map[string]interface{}) - } - psls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - psls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - psls.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - psls.Type = typeVar - } - } - } - - return nil +// AsHubspotSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false } -// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties. -type PostgreSQLLinkedServiceTypeProperties 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"` - // 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"` +// AsHiveSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHiveSource() (*HiveSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct. -func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - 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 - } - pslstp.Server = server - } - case "database": - if v != nil { - var databaseVar interface{} - err = json.Unmarshal(*v, &databaseVar) - if err != nil { - return err - } - pslstp.Database = databaseVar - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - pslstp.Schema = schema - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - pslstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - pslstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - pslstp.EncryptedCredential = encryptedCredential - } - } - } - - return nil +// AsHBaseSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false } -// PrestoLinkedService presto server linked service. -type PrestoLinkedService struct { - // PrestoLinkedServiceTypeProperties - Presto server linked service properties. - *PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` +// AsGreenplumSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for PrestoLinkedService. -func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) { - pls.Type = TypePresto - objectMap := make(map[string]interface{}) - if pls.PrestoLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties - } - if pls.ConnectVia != nil { - objectMap["connectVia"] = pls.ConnectVia - } - if pls.Description != nil { - objectMap["description"] = pls.Description - } - objectMap["type"] = pls.Type - for k, v := range pls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsGoogleBigQuerySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return &pls, true +// AsCassandraSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false +// AsBasicCopySource is the BasicCopySource implementation for PaypalSource. +func (ps PaypalSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ps, true } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false +// PhoenixLinkedService phoenix server linked service. +type PhoenixLinkedService struct { + // PhoenixLinkedServiceTypeProperties - Phoenix server linked service properties. + *PhoenixLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for PhoenixLinkedService. +func (pls PhoenixLinkedService) MarshalJSON() ([]byte, error) { + pls.Type = TypePhoenix + objectMap := make(map[string]interface{}) + if pls.PhoenixLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = pls.PhoenixLinkedServiceTypeProperties + } + if pls.ConnectVia != nil { + objectMap["connectVia"] = pls.ConnectVia + } + if pls.Description != nil { + objectMap["description"] = pls.Description + } + if pls.Parameters != nil { + objectMap["parameters"] = pls.Parameters + } + if pls.Annotations != nil { + objectMap["annotations"] = pls.Annotations + } + objectMap["type"] = pls.Type + for k, v := range pls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false +// AsPhoenixLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return &pls, true } -// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService. -func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for PhoenixLinkedService. +func (pls PhoenixLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { return &pls, true } -// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct. -func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedService struct. +func (pls *PhoenixLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -59272,12 +62719,12 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties - err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties) + var phoenixLinkedServiceTypeProperties PhoenixLinkedServiceTypeProperties + err = json.Unmarshal(*v, &phoenixLinkedServiceTypeProperties) if err != nil { return err } - pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties + pls.PhoenixLinkedServiceTypeProperties = &phoenixLinkedServiceTypeProperties } default: if v != nil { @@ -59309,6 +62756,24 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { } pls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + pls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + pls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -59324,19 +62789,17 @@ func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { return nil } -// PrestoLinkedServiceTypeProperties presto server linked service properties. -type PrestoLinkedServiceTypeProperties struct { - // Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160) +// PhoenixLinkedServiceTypeProperties phoenix server linked service properties. +type PhoenixLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) Host interface{} `json:"host,omitempty"` - // ServerVersion - The version of the Presto server. (i.e. 0.148-t) - ServerVersion interface{} `json:"serverVersion,omitempty"` - // Catalog - The catalog context for all request against the server. - Catalog interface{} `json:"catalog,omitempty"` - // Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080. + // Port - The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. Port interface{} `json:"port,omitempty"` - // AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP' - AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to connect to the Presto server. + // HTTPPath - The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. + HTTPPath interface{} `json:"httpPath,omitempty"` + // AuthenticationType - The authentication mechanism used to connect to the Phoenix server. Possible values include: 'PhoenixAuthenticationTypeAnonymous', 'PhoenixAuthenticationTypeUsernameAndPassword', 'PhoenixAuthenticationTypeWindowsAzureHDInsightService' + AuthenticationType PhoenixAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to connect to the Phoenix server. Username interface{} `json:"username,omitempty"` // Password - The password corresponding to the user name. Password BasicSecretBase `json:"password,omitempty"` @@ -59350,14 +62813,12 @@ type PrestoLinkedServiceTypeProperties struct { AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` - // TimeZoneID - The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. - TimeZoneID interface{} `json:"timeZoneID,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct. -func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PhoenixLinkedServiceTypeProperties struct. +func (plstp *PhoenixLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -59374,36 +62835,27 @@ func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } plstp.Host = host } - case "serverVersion": - if v != nil { - var serverVersion interface{} - err = json.Unmarshal(*v, &serverVersion) - if err != nil { - return err - } - plstp.ServerVersion = serverVersion - } - case "catalog": + case "port": if v != nil { - var catalog interface{} - err = json.Unmarshal(*v, &catalog) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - plstp.Catalog = catalog + plstp.Port = port } - case "port": + case "httpPath": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var HTTPPath interface{} + err = json.Unmarshal(*v, &HTTPPath) if err != nil { return err } - plstp.Port = port + plstp.HTTPPath = HTTPPath } case "authenticationType": if v != nil { - var authenticationType PrestoAuthenticationType + var authenticationType PhoenixAuthenticationType err = json.Unmarshal(*v, &authenticationType) if err != nil { return err @@ -59472,15 +62924,6 @@ func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error } plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert } - case "timeZoneID": - if v != nil { - var timeZoneID interface{} - err = json.Unmarshal(*v, &timeZoneID) - if err != nil { - return err - } - plstp.TimeZoneID = timeZoneID - } case "encryptedCredential": if v != nil { var encryptedCredential interface{} @@ -59496,8 +62939,8 @@ func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// PrestoObjectDataset presto server dataset. -type PrestoObjectDataset struct { +// PhoenixObjectDataset phoenix server dataset. +type PhoenixObjectDataset struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -59508,13 +62951,15 @@ type PrestoObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PrestoObjectDataset. -func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { - pod.Type = TypePrestoObject +// MarshalJSON is the custom marshaler for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) MarshalJSON() ([]byte, error) { + pod.Type = TypePhoenixObject objectMap := make(map[string]interface{}) if pod.Description != nil { objectMap["description"] = pod.Description @@ -59526,6 +62971,9 @@ func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { if pod.Parameters != nil { objectMap["parameters"] = pod.Parameters } + if pod.Annotations != nil { + objectMap["annotations"] = pod.Annotations + } objectMap["type"] = pod.Type for k, v := range pod.AdditionalProperties { objectMap[k] = v @@ -59533,263 +62981,273 @@ func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return &pod, true +// AsServiceNowObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { - return nil, false +// AsPhoenixObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return &pod, true } -// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset. -func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for PhoenixObjectDataset. +func (pod PhoenixObjectDataset) AsBasicDataset() (BasicDataset, bool) { return &pod, true } -// PrestoSource a copy activity Presto server source. -type PrestoSource struct { +// PhoenixSource a copy activity Phoenix server source. +type PhoenixSource struct { // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -59798,13 +63256,13 @@ type PrestoSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for PrestoSource. -func (ps PrestoSource) MarshalJSON() ([]byte, error) { - ps.Type = TypePrestoSource +// MarshalJSON is the custom marshaler for PhoenixSource. +func (ps PhoenixSource) MarshalJSON() ([]byte, error) { + ps.Type = TypePhoenixSource objectMap := make(map[string]interface{}) objectMap["query"] = ps.Query objectMap["sourceRetryCount"] = ps.SourceRetryCount @@ -59816,696 +63274,1210 @@ func (ps PrestoSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) { +// AsSquareSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) { - return &ps, true +// AsServiceNowSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPhoenixSource() (*PhoenixSource, bool) { + return &ps, true +} + +// AsPaypalSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsWebSource() (*WebSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) { +// AsWebSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOracleSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSQLSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBlobSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsCopySource() (*CopySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for PrestoSource. -func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) { +// AsCopySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for PhoenixSource. +func (ps PhoenixSource) AsBasicCopySource() (BasicCopySource, bool) { return &ps, true } -// QuickBooksLinkedService quickBooks server linked service. -type QuickBooksLinkedService struct { - // QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties. - *QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. +// Pipeline a data factory pipeline. +type Pipeline struct { + // Description - The description of the pipeline. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Activities - List of activities in pipeline. + Activities *[]BasicActivity `json:"activities,omitempty"` + // Parameters - List of parameters for pipeline. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Concurrency - The max number of concurrent runs for the pipeline. + Concurrency *int32 `json:"concurrency,omitempty"` + // Annotations - List of tags that can be used for describing the Pipeline. + Annotations *[]interface{} `json:"annotations,omitempty"` } -// MarshalJSON is the custom marshaler for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) { - qbls.Type = TypeQuickBooks +// MarshalJSON is the custom marshaler for Pipeline. +func (p Pipeline) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if qbls.QuickBooksLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties + if p.Description != nil { + objectMap["description"] = p.Description } - if qbls.ConnectVia != nil { - objectMap["connectVia"] = qbls.ConnectVia + if p.Activities != nil { + objectMap["activities"] = p.Activities } - if qbls.Description != nil { - objectMap["description"] = qbls.Description + if p.Parameters != nil { + objectMap["parameters"] = p.Parameters } - objectMap["type"] = qbls.Type - for k, v := range qbls.AdditionalProperties { - objectMap[k] = v + if p.Concurrency != nil { + objectMap["concurrency"] = p.Concurrency + } + if p.Annotations != nil { + objectMap["annotations"] = p.Annotations } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for Pipeline struct. +func (p *Pipeline) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + p.Description = &description + } + case "activities": + if v != nil { + activities, err := unmarshalBasicActivityArray(*v) + if err != nil { + return err + } + p.Activities = &activities + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + p.Parameters = parameters + } + case "concurrency": + if v != nil { + var concurrency int32 + err = json.Unmarshal(*v, &concurrency) + if err != nil { + return err + } + p.Concurrency = &concurrency + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + p.Annotations = &annotations + } + } + } -// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false + return nil } -// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false +// PipelineListResponse a list of pipeline resources. +type PipelineListResponse struct { + autorest.Response `json:"-"` + // Value - List of pipelines. + Value *[]PipelineResource `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` } -// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false +// PipelineListResponseIterator provides access to a complete listing of PipelineResource values. +type PipelineListResponseIterator struct { + i int + page PipelineListResponsePage } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return &qbls, true +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *PipelineListResponseIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil } -// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter PipelineListResponseIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) } -// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (iter PipelineListResponseIterator) Response() PipelineListResponse { + return iter.page.Response() } -// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, 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 PipelineListResponseIterator) Value() PipelineResource { + if !iter.page.NotDone() { + return PipelineResource{} + } + return iter.page.Values()[iter.i] } -// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false +// IsEmpty returns true if the ListResult contains no values. +func (plr PipelineListResponse) IsEmpty() bool { + return plr.Value == nil || len(*plr.Value) == 0 } -// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false +// pipelineListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (plr PipelineListResponse) pipelineListResponsePreparer() (*http.Request, error) { + if plr.NextLink == nil || len(to.String(plr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(plr.NextLink))) } -// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false +// PipelineListResponsePage contains a page of PipelineResource values. +type PipelineListResponsePage struct { + fn func(PipelineListResponse) (PipelineListResponse, error) + plr PipelineListResponse } -// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, 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. +func (page *PipelineListResponsePage) Next() error { + next, err := page.fn(page.plr) + if err != nil { + return err + } + page.plr = next + return nil } -// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page PipelineListResponsePage) NotDone() bool { + return !page.plr.IsEmpty() } -// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false +// Response returns the raw server response from the last page request. +func (page PipelineListResponsePage) Response() PipelineListResponse { + return page.plr } -// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false +// Values returns the slice of values for the current page or nil if there are no values. +func (page PipelineListResponsePage) Values() []PipelineResource { + if page.plr.IsEmpty() { + return nil + } + return *page.plr.Value } -// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false +// PipelineReference pipeline reference type. +type PipelineReference struct { + // Type - Pipeline reference type. + Type *string `json:"type,omitempty"` + // ReferenceName - Reference pipeline name. + ReferenceName *string `json:"referenceName,omitempty"` + // Name - Reference name. + Name *string `json:"name,omitempty"` } -// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false +// PipelineResource pipeline resource type. +type PipelineResource struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Pipeline - Properties of the pipeline. + *Pipeline `json:"properties,omitempty"` + // ID - The resource identifier. + ID *string `json:"id,omitempty"` + // Name - The resource name. + Name *string `json:"name,omitempty"` + // Type - The resource type. + Type *string `json:"type,omitempty"` + // Etag - Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for PipelineResource. +func (pr PipelineResource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if pr.Pipeline != nil { + objectMap["properties"] = pr.Pipeline + } + if pr.ID != nil { + objectMap["id"] = pr.ID + } + if pr.Name != nil { + objectMap["name"] = pr.Name + } + if pr.Type != nil { + objectMap["type"] = pr.Type + } + if pr.Etag != nil { + objectMap["etag"] = pr.Etag + } + for k, v := range pr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for PipelineResource struct. +func (pr *PipelineResource) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if pr.AdditionalProperties == nil { + pr.AdditionalProperties = make(map[string]interface{}) + } + pr.AdditionalProperties[k] = additionalProperties + } + case "properties": + if v != nil { + var pipeline Pipeline + err = json.Unmarshal(*v, &pipeline) + if err != nil { + return err + } + pr.Pipeline = &pipeline + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + pr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + pr.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + pr.Type = &typeVar + } + case "etag": + if v != nil { + var etag string + err = json.Unmarshal(*v, &etag) + if err != nil { + return err + } + pr.Etag = &etag + } + } + } + + return nil } -// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false +// PipelineRun information about a pipeline run. +type PipelineRun struct { + autorest.Response `json:"-"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // RunID - Identifier of a run. + RunID *string `json:"runId,omitempty"` + // PipelineName - The pipeline name. + PipelineName *string `json:"pipelineName,omitempty"` + // Parameters - The full or partial list of parameter name, value pair used in the pipeline run. + Parameters map[string]*string `json:"parameters"` + // InvokedBy - Entity that started the pipeline run. + InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"` + // LastUpdated - The last updated timestamp for the pipeline run event in ISO8601 format. + LastUpdated *date.Time `json:"lastUpdated,omitempty"` + // RunStart - The start time of a pipeline run in ISO8601 format. + RunStart *date.Time `json:"runStart,omitempty"` + // RunEnd - The end time of a pipeline run in ISO8601 format. + RunEnd *date.Time `json:"runEnd,omitempty"` + // DurationInMs - The duration of a pipeline run. + DurationInMs *int32 `json:"durationInMs,omitempty"` + // Status - The status of a pipeline run. + Status *string `json:"status,omitempty"` + // Message - The message from a pipeline run. + Message *string `json:"message,omitempty"` } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// MarshalJSON is the custom marshaler for PipelineRun. +func (pr PipelineRun) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if pr.RunID != nil { + objectMap["runId"] = pr.RunID + } + if pr.PipelineName != nil { + objectMap["pipelineName"] = pr.PipelineName + } + if pr.Parameters != nil { + objectMap["parameters"] = pr.Parameters + } + if pr.InvokedBy != nil { + objectMap["invokedBy"] = pr.InvokedBy + } + if pr.LastUpdated != nil { + objectMap["lastUpdated"] = pr.LastUpdated + } + if pr.RunStart != nil { + objectMap["runStart"] = pr.RunStart + } + if pr.RunEnd != nil { + objectMap["runEnd"] = pr.RunEnd + } + if pr.DurationInMs != nil { + objectMap["durationInMs"] = pr.DurationInMs + } + if pr.Status != nil { + objectMap["status"] = pr.Status + } + if pr.Message != nil { + objectMap["message"] = pr.Message + } + for k, v := range pr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// PipelineRunFilterParameters query parameters for listing pipeline runs. +type PipelineRunFilterParameters struct { + // ContinuationToken - The continuation token for getting the next page of results. Null for first page. + ContinuationToken *string `json:"continuationToken,omitempty"` + // LastUpdatedAfter - The time at or after which the pipeline run event was updated in 'ISO 8601' format. + LastUpdatedAfter *date.Time `json:"lastUpdatedAfter,omitempty"` + // LastUpdatedBefore - The time at or before which the pipeline run event was updated in 'ISO 8601' format. + LastUpdatedBefore *date.Time `json:"lastUpdatedBefore,omitempty"` + // Filters - List of filters. + Filters *[]PipelineRunQueryFilter `json:"filters,omitempty"` + // OrderBy - List of OrderBy option. + OrderBy *[]PipelineRunQueryOrderBy `json:"orderBy,omitempty"` +} + +// PipelineRunInvokedBy provides entity name and id that started the pipeline run. +type PipelineRunInvokedBy struct { + // Name - Name of the entity that started the pipeline run. + Name *string `json:"name,omitempty"` + // ID - The ID of the entity that started the run. + ID *string `json:"id,omitempty"` +} + +// PipelineRunQueryFilter query filter option for listing pipeline runs. +type PipelineRunQueryFilter struct { + // Operand - Parameter name to be used for filter. Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd' + Operand PipelineRunQueryFilterOperand `json:"operand,omitempty"` + // Operator - Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' + Operator PipelineRunQueryFilterOperator `json:"operator,omitempty"` + // Values - List of filter values. + Values *[]string `json:"values,omitempty"` +} + +// PipelineRunQueryOrderBy an object to provide order by options for listing pipeline runs. +type PipelineRunQueryOrderBy struct { + // OrderBy - Parameter name to be used for order by. Possible values include: 'PipelineRunQueryOrderByFieldRunStart', 'PipelineRunQueryOrderByFieldRunEnd' + OrderBy PipelineRunQueryOrderByField `json:"orderBy,omitempty"` + // Order - Sorting order of the parameter. Possible values include: 'ASC', 'DESC' + Order PipelineRunQueryOrder `json:"order,omitempty"` +} + +// PipelineRunQueryResponse a list pipeline runs. +type PipelineRunQueryResponse struct { + autorest.Response `json:"-"` + // Value - List of pipeline runs. + Value *[]PipelineRun `json:"value,omitempty"` + // ContinuationToken - The continuation token for getting the next page of results, if any remaining results exist, null otherwise. + ContinuationToken *string `json:"continuationToken,omitempty"` +} + +// PolybaseSettings polyBase settings. +type PolybaseSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // RejectType - Reject type. Possible values include: 'Value', 'Percentage' + RejectType PolybaseSettingsRejectType `json:"rejectType,omitempty"` + // RejectValue - Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. + RejectValue interface{} `json:"rejectValue,omitempty"` + // RejectSampleValue - Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. + RejectSampleValue interface{} `json:"rejectSampleValue,omitempty"` + // UseTypeDefault - Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). + UseTypeDefault interface{} `json:"useTypeDefault,omitempty"` +} + +// MarshalJSON is the custom marshaler for PolybaseSettings. +func (ps PolybaseSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["rejectType"] = ps.RejectType + objectMap["rejectValue"] = ps.RejectValue + objectMap["rejectSampleValue"] = ps.RejectSampleValue + objectMap["useTypeDefault"] = ps.UseTypeDefault + for k, v := range ps.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// PostgreSQLLinkedService linked service for PostgreSQL data source. +type PostgreSQLLinkedService struct { + // PostgreSQLLinkedServiceTypeProperties - PostgreSQL linked service properties. + *PostgreSQLLinkedServiceTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // ConnectVia - The integration runtime reference. + 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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) MarshalJSON() ([]byte, error) { + psls.Type = TypePostgreSQL + objectMap := make(map[string]interface{}) + if psls.PostgreSQLLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = psls.PostgreSQLLinkedServiceTypeProperties + } + if psls.ConnectVia != nil { + objectMap["connectVia"] = psls.ConnectVia + } + if psls.Description != nil { + objectMap["description"] = psls.Description + } + if psls.Parameters != nil { + objectMap["parameters"] = psls.Parameters + } + if psls.Annotations != nil { + objectMap["annotations"] = psls.Annotations + } + objectMap["type"] = psls.Type + for k, v := range psls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. -func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &qbls, true +// AsSalesforceLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct. -func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties - err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties) - if err != nil { - return err - } - qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if qbls.AdditionalProperties == nil { - qbls.AdditionalProperties = make(map[string]interface{}) - } - qbls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - qbls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - qbls.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - qbls.Type = typeVar - } - } - } +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} - return nil +// AsMongoDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false } -// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties. -type QuickBooksLinkedServiceTypeProperties struct { - // Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) - Endpoint interface{} `json:"endpoint,omitempty"` - // CompanyID - The company ID of the QuickBooks company to authorize. - CompanyID interface{} `json:"companyId,omitempty"` - // AccessToken - The access token for OAuth 1.0 authentication. - AccessToken BasicSecretBase `json:"accessToken,omitempty"` - // AccessTokenSecret - The access token secret for OAuth 1.0 authentication. - AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` +// AsCassandraLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return &psls, true +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for PostgreSQLLinkedService. +func (psls PostgreSQLLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &psls, true +} + +// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedService struct. +func (psls *PostgreSQLLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var postgreSQLLinkedServiceTypeProperties PostgreSQLLinkedServiceTypeProperties + err = json.Unmarshal(*v, &postgreSQLLinkedServiceTypeProperties) + if err != nil { + return err + } + psls.PostgreSQLLinkedServiceTypeProperties = &postgreSQLLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if psls.AdditionalProperties == nil { + psls.AdditionalProperties = make(map[string]interface{}) + } + psls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + psls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + psls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + psls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + psls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + psls.Type = typeVar + } + } + } + + return nil +} + +// PostgreSQLLinkedServiceTypeProperties postgreSQL linked service properties. +type PostgreSQLLinkedServiceTypeProperties 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"` + // 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 QuickBooksLinkedServiceTypeProperties struct. -func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for PostgreSQLLinkedServiceTypeProperties struct. +func (pslstp *PostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -60513,48 +64485,49 @@ func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) } for k, v := range m { switch k { - case "endpoint": + case "server": if v != nil { - var endpoint interface{} - err = json.Unmarshal(*v, &endpoint) + var server interface{} + err = json.Unmarshal(*v, &server) if err != nil { return err } - qblstp.Endpoint = endpoint + pslstp.Server = server } - case "companyId": + case "database": if v != nil { - var companyID interface{} - err = json.Unmarshal(*v, &companyID) + var databaseVar interface{} + err = json.Unmarshal(*v, &databaseVar) if err != nil { return err } - qblstp.CompanyID = companyID + pslstp.Database = databaseVar } - case "accessToken": + case "schema": if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) + var schema interface{} + err = json.Unmarshal(*v, &schema) if err != nil { return err } - qblstp.AccessToken = accessToken + pslstp.Schema = schema } - case "accessTokenSecret": + case "username": if v != nil { - accessTokenSecret, err := unmarshalBasicSecretBase(*v) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - qblstp.AccessTokenSecret = accessTokenSecret + pslstp.Username = username } - case "useEncryptedEndpoints": + case "password": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - qblstp.UseEncryptedEndpoints = useEncryptedEndpoints + pslstp.Password = password } case "encryptedCredential": if v != nil { @@ -60563,7 +64536,7 @@ func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) if err != nil { return err } - qblstp.EncryptedCredential = encryptedCredential + pslstp.EncryptedCredential = encryptedCredential } } } @@ -60571,663 +64544,963 @@ func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// QuickBooksObjectDataset quickBooks server dataset. -type QuickBooksObjectDataset struct { +// PrestoLinkedService presto server linked service. +type PrestoLinkedService struct { + // PrestoLinkedServiceTypeProperties - Presto server linked service properties. + *PrestoLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) { - qbod.Type = TypeQuickBooksObject +// MarshalJSON is the custom marshaler for PrestoLinkedService. +func (pls PrestoLinkedService) MarshalJSON() ([]byte, error) { + pls.Type = TypePresto objectMap := make(map[string]interface{}) - if qbod.Description != nil { - objectMap["description"] = qbod.Description + if pls.PrestoLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = pls.PrestoLinkedServiceTypeProperties } - objectMap["structure"] = qbod.Structure - if qbod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = qbod.LinkedServiceName + if pls.ConnectVia != nil { + objectMap["connectVia"] = pls.ConnectVia } - if qbod.Parameters != nil { - objectMap["parameters"] = qbod.Parameters + if pls.Description != nil { + objectMap["description"] = pls.Description } - objectMap["type"] = qbod.Type - for k, v := range qbod.AdditionalProperties { + if pls.Parameters != nil { + objectMap["parameters"] = pls.Parameters + } + if pls.Annotations != nil { + objectMap["annotations"] = pls.Annotations + } + objectMap["type"] = pls.Type + for k, v := range pls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { - return &qbod, true +// AsXeroLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return &pls, true +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset. -func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &qbod, true +// AsTeradataLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// QuickBooksSource a copy activity QuickBooks server source. -type QuickBooksSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsDb2LinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for QuickBooksSource. -func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { - qbs.Type = TypeQuickBooksSource - objectMap := make(map[string]interface{}) - objectMap["query"] = qbs.Query - objectMap["sourceRetryCount"] = qbs.SourceRetryCount - objectMap["sourceRetryWait"] = qbs.SourceRetryWait - objectMap["type"] = qbs.Type - for k, v := range qbs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSybaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return &qbs, true +// AsCosmosDbLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false } -// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) { +// AsLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false +// AsBasicLinkedService is the BasicLinkedService implementation for PrestoLinkedService. +func (pls PrestoLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &pls, true } -// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for PrestoLinkedService struct. +func (pls *PrestoLinkedService) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var prestoLinkedServiceTypeProperties PrestoLinkedServiceTypeProperties + err = json.Unmarshal(*v, &prestoLinkedServiceTypeProperties) + if err != nil { + return err + } + pls.PrestoLinkedServiceTypeProperties = &prestoLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if pls.AdditionalProperties == nil { + pls.AdditionalProperties = make(map[string]interface{}) + } + pls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + pls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + pls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + pls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + pls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + pls.Type = typeVar + } + } + } + + return nil } -// AsHiveSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) { - return nil, false +// PrestoLinkedServiceTypeProperties presto server linked service properties. +type PrestoLinkedServiceTypeProperties struct { + // Host - The IP address or host name of the Presto server. (i.e. 192.168.222.160) + Host interface{} `json:"host,omitempty"` + // ServerVersion - The version of the Presto server. (i.e. 0.148-t) + ServerVersion interface{} `json:"serverVersion,omitempty"` + // Catalog - The catalog context for all request against the server. + Catalog interface{} `json:"catalog,omitempty"` + // Port - The TCP port that the Presto server uses to listen for client connections. The default value is 8080. + Port interface{} `json:"port,omitempty"` + // AuthenticationType - The authentication mechanism used to connect to the Presto server. Possible values include: 'PrestoAuthenticationTypeAnonymous', 'PrestoAuthenticationTypeLDAP' + AuthenticationType PrestoAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to connect to the Presto server. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name. + Password BasicSecretBase `json:"password,omitempty"` + // EnableSsl - Specifies whether the connections to the server are encrypted using SSL. The default value is false. + EnableSsl interface{} `json:"enableSsl,omitempty"` + // TrustedCertPath - The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. + TrustedCertPath interface{} `json:"trustedCertPath,omitempty"` + // UseSystemTrustStore - Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. + UseSystemTrustStore interface{} `json:"useSystemTrustStore,omitempty"` + // AllowHostNameCNMismatch - Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. + AllowHostNameCNMismatch interface{} `json:"allowHostNameCNMismatch,omitempty"` + // AllowSelfSignedServerCert - Specifies whether to allow self-signed certificates from the server. The default value is false. + AllowSelfSignedServerCert interface{} `json:"allowSelfSignedServerCert,omitempty"` + // TimeZoneID - The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. + TimeZoneID interface{} `json:"timeZoneID,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) { +// UnmarshalJSON is the custom unmarshaler for PrestoLinkedServiceTypeProperties struct. +func (plstp *PrestoLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "host": + if v != nil { + var host interface{} + err = json.Unmarshal(*v, &host) + if err != nil { + return err + } + plstp.Host = host + } + case "serverVersion": + if v != nil { + var serverVersion interface{} + err = json.Unmarshal(*v, &serverVersion) + if err != nil { + return err + } + plstp.ServerVersion = serverVersion + } + case "catalog": + if v != nil { + var catalog interface{} + err = json.Unmarshal(*v, &catalog) + if err != nil { + return err + } + plstp.Catalog = catalog + } + case "port": + if v != nil { + var port interface{} + err = json.Unmarshal(*v, &port) + if err != nil { + return err + } + plstp.Port = port + } + case "authenticationType": + if v != nil { + var authenticationType PrestoAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + plstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + plstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + plstp.Password = password + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err + } + plstp.EnableSsl = enableSsl + } + case "trustedCertPath": + if v != nil { + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) + if err != nil { + return err + } + plstp.TrustedCertPath = trustedCertPath + } + case "useSystemTrustStore": + if v != nil { + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) + if err != nil { + return err + } + plstp.UseSystemTrustStore = useSystemTrustStore + } + case "allowHostNameCNMismatch": + if v != nil { + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) + if err != nil { + return err + } + plstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + } + case "allowSelfSignedServerCert": + if v != nil { + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) + if err != nil { + return err + } + plstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + } + case "timeZoneID": + if v != nil { + var timeZoneID interface{} + err = json.Unmarshal(*v, &timeZoneID) + if err != nil { + return err + } + plstp.TimeZoneID = timeZoneID + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + plstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// PrestoObjectDataset presto server dataset. +type PrestoObjectDataset 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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for PrestoObjectDataset. +func (pod PrestoObjectDataset) MarshalJSON() ([]byte, error) { + pod.Type = TypePrestoObject + objectMap := make(map[string]interface{}) + if pod.Description != nil { + objectMap["description"] = pod.Description + } + objectMap["structure"] = pod.Structure + if pod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = pod.LinkedServiceName + } + if pod.Parameters != nil { + objectMap["parameters"] = pod.Parameters + } + if pod.Annotations != nil { + objectMap["annotations"] = pod.Annotations + } + objectMap["type"] = pod.Type + for k, v := range pod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsVerticaTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return &pod, true +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource. -func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) { - return &qbs, true +// AsWebTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false } -// RecurrenceSchedule the recurrence schedule. -type RecurrenceSchedule struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Minutes - The minutes. - Minutes *[]int32 `json:"minutes,omitempty"` - // Hours - The hours. - Hours *[]int32 `json:"hours,omitempty"` - // WeekDays - The days of the week. - WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"` - // MonthDays - The month days. - MonthDays *[]int32 `json:"monthDays,omitempty"` - // MonthlyOccurrences - The monthly occurrences. - MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"` +// AsSQLServerTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for RecurrenceSchedule. -func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if rs.Minutes != nil { - objectMap["minutes"] = rs.Minutes - } - if rs.Hours != nil { - objectMap["hours"] = rs.Hours - } - if rs.WeekDays != nil { - objectMap["weekDays"] = rs.WeekDays - } - if rs.MonthDays != nil { - objectMap["monthDays"] = rs.MonthDays - } - if rs.MonthlyOccurrences != nil { - objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences - } - for k, v := range rs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSapEccResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false } -// RecurrenceScheduleOccurrence the recurrence schedule occurence. -type RecurrenceScheduleOccurrence struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' - Day DayOfWeek `json:"day,omitempty"` - // Occurrence - The occurrence. - Occurrence *int32 `json:"occurrence,omitempty"` +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence. -func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - objectMap["day"] = rso.Day - if rso.Occurrence != nil { - objectMap["occurrence"] = rso.Occurrence - } - for k, v := range rso.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSalesforceObjectDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false } -// RedirectIncompatibleRowSettings redirect incompatible row settings -type RedirectIncompatibleRowSettings struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // LinkedServiceName - Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). - LinkedServiceName interface{} `json:"linkedServiceName,omitempty"` - // Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` +// AsRelationalTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings. -func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - objectMap["linkedServiceName"] = rirs.LinkedServiceName - objectMap["path"] = rirs.Path - for k, v := range rirs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAzureMySQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false } -// RedshiftUnloadSettings the Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift -// with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the -// targeted sink from the interim S3. -type RedshiftUnloadSettings struct { - // S3LinkedServiceName - The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. - S3LinkedServiceName *LinkedServiceReference `json:"s3LinkedServiceName,omitempty"` - // BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). - BucketName interface{} `json:"bucketName,omitempty"` +// AsOracleTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false } -// RelationalSource a copy activity source for various relational databases. -type RelationalSource struct { - // Query - Database query. Type: string (or Expression with resultType string). +// AsODataResourceDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for PrestoObjectDataset. +func (pod PrestoObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &pod, true +} + +// PrestoSource a copy activity Presto server source. +type PrestoSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` @@ -61235,563 +65508,670 @@ type RelationalSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RelationalSource. -func (rs RelationalSource) MarshalJSON() ([]byte, error) { - rs.Type = TypeRelationalSource +// MarshalJSON is the custom marshaler for PrestoSource. +func (ps PrestoSource) MarshalJSON() ([]byte, error) { + ps.Type = TypePrestoSource objectMap := make(map[string]interface{}) - objectMap["query"] = rs.Query - objectMap["sourceRetryCount"] = rs.SourceRetryCount - objectMap["sourceRetryWait"] = rs.SourceRetryWait - objectMap["type"] = rs.Type - for k, v := range rs.AdditionalProperties { + objectMap["query"] = ps.Query + objectMap["sourceRetryCount"] = ps.SourceRetryCount + objectMap["sourceRetryWait"] = ps.SourceRetryWait + objectMap["type"] = ps.Type + for k, v := range ps.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) { +// AsSquareSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPrestoSource() (*PrestoSource, bool) { + return &ps, true +} + +// AsPhoenixSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsWebSource() (*WebSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) { +// AsWebSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOracleSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSQLSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) { - return &rs, true +// AsSalesforceSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBlobSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsCopySource() (*CopySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for RelationalSource. -func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) { - return &rs, true +// AsCopySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// RelationalTableDataset the relational table dataset. -type RelationalTableDataset struct { - // RelationalTableDatasetTypeProperties - Relational table dataset properties. - *RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"` +// AsBasicCopySource is the BasicCopySource implementation for PrestoSource. +func (ps PrestoSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ps, true +} + +// QuickBooksLinkedService quickBooks server linked service. +type QuickBooksLinkedService struct { + // QuickBooksLinkedServiceTypeProperties - QuickBooks server linked service properties. + *QuickBooksLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for RelationalTableDataset. -func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) { - rtd.Type = TypeRelationalTable +// MarshalJSON is the custom marshaler for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) MarshalJSON() ([]byte, error) { + qbls.Type = TypeQuickBooks objectMap := make(map[string]interface{}) - if rtd.RelationalTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties + if qbls.QuickBooksLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = qbls.QuickBooksLinkedServiceTypeProperties } - if rtd.Description != nil { - objectMap["description"] = rtd.Description + if qbls.ConnectVia != nil { + objectMap["connectVia"] = qbls.ConnectVia } - objectMap["structure"] = rtd.Structure - if rtd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = rtd.LinkedServiceName + if qbls.Description != nil { + objectMap["description"] = qbls.Description } - if rtd.Parameters != nil { - objectMap["parameters"] = rtd.Parameters + if qbls.Parameters != nil { + objectMap["parameters"] = qbls.Parameters } - objectMap["type"] = rtd.Type - for k, v := range rtd.AdditionalProperties { + if qbls.Annotations != nil { + objectMap["annotations"] = qbls.Annotations + } + objectMap["type"] = qbls.Type + for k, v := range qbls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { - return nil, false +// AsQuickBooksLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return &qbls, true } -// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return &rtd, true +// AsSftpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset. -func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &rtd, true +// AsAzureMLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct. -func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { +// AsTeradataLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for QuickBooksLinkedService. +func (qbls QuickBooksLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &qbls, true +} + +// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedService struct. +func (qbls *QuickBooksLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -61801,12 +66181,12 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties - err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties) + var quickBooksLinkedServiceTypeProperties QuickBooksLinkedServiceTypeProperties + err = json.Unmarshal(*v, &quickBooksLinkedServiceTypeProperties) if err != nil { return err } - rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties + qbls.QuickBooksLinkedServiceTypeProperties = &quickBooksLinkedServiceTypeProperties } default: if v != nil { @@ -61815,55 +66195,55 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if rtd.AdditionalProperties == nil { - rtd.AdditionalProperties = make(map[string]interface{}) + if qbls.AdditionalProperties == nil { + qbls.AdditionalProperties = make(map[string]interface{}) } - rtd.AdditionalProperties[k] = additionalProperties + qbls.AdditionalProperties[k] = additionalProperties } - case "description": + case "connectVia": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - rtd.Description = &description + qbls.ConnectVia = &connectVia } - case "structure": + case "description": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - rtd.Structure = structure + qbls.Description = &description } - case "linkedServiceName": + case "parameters": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - rtd.LinkedServiceName = &linkedServiceName + qbls.Parameters = parameters } - case "parameters": + case "annotations": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - rtd.Parameters = parameters + qbls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - rtd.Type = typeVar + qbls.Type = typeVar } } } @@ -61871,1705 +66251,1360 @@ func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { return nil } -// RelationalTableDatasetTypeProperties relational table dataset properties. -type RelationalTableDatasetTypeProperties struct { - // TableName - The relational table name. Type: string (or Expression with resultType string). - TableName interface{} `json:"tableName,omitempty"` -} - -// Resource azure Data Factory top-level resource. -type Resource struct { - // ID - The resource identifier. - ID *string `json:"id,omitempty"` - // Name - The resource name. - Name *string `json:"name,omitempty"` - // Type - 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"` +// QuickBooksLinkedServiceTypeProperties quickBooks server linked service properties. +type QuickBooksLinkedServiceTypeProperties struct { + // Endpoint - The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) + Endpoint interface{} `json:"endpoint,omitempty"` + // CompanyID - The company ID of the QuickBooks company to authorize. + CompanyID interface{} `json:"companyId,omitempty"` + // AccessToken - The access token for OAuth 1.0 authentication. + AccessToken BasicSecretBase `json:"accessToken,omitempty"` + // AccessTokenSecret - The access token secret for OAuth 1.0 authentication. + AccessTokenSecret BasicSecretBase `json:"accessTokenSecret,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// MarshalJSON is the custom marshaler for Resource. -func (r Resource) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if r.ID != nil { - objectMap["id"] = r.ID - } - if r.Name != nil { - objectMap["name"] = r.Name - } - if r.Type != nil { - objectMap["type"] = r.Type - } - if r.Location != nil { - objectMap["location"] = r.Location +// UnmarshalJSON is the custom unmarshaler for QuickBooksLinkedServiceTypeProperties struct. +func (qblstp *QuickBooksLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if r.Tags != nil { - objectMap["tags"] = r.Tags + for k, v := range m { + switch k { + case "endpoint": + if v != nil { + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) + if err != nil { + return err + } + qblstp.Endpoint = endpoint + } + case "companyId": + if v != nil { + var companyID interface{} + err = json.Unmarshal(*v, &companyID) + if err != nil { + return err + } + qblstp.CompanyID = companyID + } + case "accessToken": + if v != nil { + accessToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + qblstp.AccessToken = accessToken + } + case "accessTokenSecret": + if v != nil { + accessTokenSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + qblstp.AccessTokenSecret = accessTokenSecret + } + case "useEncryptedEndpoints": + if v != nil { + var useEncryptedEndpoints interface{} + err = json.Unmarshal(*v, &useEncryptedEndpoints) + if err != nil { + return err + } + qblstp.UseEncryptedEndpoints = useEncryptedEndpoints + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + qblstp.EncryptedCredential = encryptedCredential + } + } } - return json.Marshal(objectMap) -} -// RetryPolicy execution policy for an activity. -type RetryPolicy struct { - // Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. - Count interface{} `json:"count,omitempty"` - // IntervalInSeconds - Interval between retries in seconds. Default is 30. - IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"` + return nil } -// SalesforceLinkedService linked service for Salesforce. -type SalesforceLinkedService struct { - // SalesforceLinkedServiceTypeProperties - Salesforce linked service properties. - *SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// QuickBooksObjectDataset quickBooks server dataset. +type QuickBooksObjectDataset 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 - Dataset description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SalesforceLinkedService. -func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeSalesforce +// MarshalJSON is the custom marshaler for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) MarshalJSON() ([]byte, error) { + qbod.Type = TypeQuickBooksObject objectMap := make(map[string]interface{}) - if sls.SalesforceLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties + if qbod.Description != nil { + objectMap["description"] = qbod.Description } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + objectMap["structure"] = qbod.Structure + if qbod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = qbod.LinkedServiceName } - if sls.Description != nil { - objectMap["description"] = sls.Description + if qbod.Parameters != nil { + objectMap["parameters"] = qbod.Parameters } - objectMap["type"] = sls.Type - for k, v := range sls.AdditionalProperties { + if qbod.Annotations != nil { + objectMap["annotations"] = qbod.Annotations + } + objectMap["type"] = qbod.Type + for k, v := range qbod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false +// AsQuickBooksObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return &qbod, true } -// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return &sls, true +// AsMongoDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for QuickBooksObjectDataset. +func (qbod QuickBooksObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &qbod, true } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { - return nil, false +// QuickBooksSource a copy activity QuickBooks server source. +type QuickBooksSource struct { + // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for QuickBooksSource. +func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { + qbs.Type = TypeQuickBooksSource + objectMap := make(map[string]interface{}) + objectMap["query"] = qbs.Query + objectMap["sourceRetryCount"] = qbs.SourceRetryCount + objectMap["sourceRetryWait"] = qbs.SourceRetryWait + objectMap["type"] = qbs.Type + for k, v := range qbs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false +// AsQuickBooksSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return &qbs, true } -// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. -func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsPhoenixSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct. -func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties - err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties) - if err != nil { - return err - } - sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties - } - 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 "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sls.Type = typeVar - } - } - } - - return nil +// AsPaypalSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// SalesforceLinkedServiceTypeProperties salesforce linked service properties. -type SalesforceLinkedServiceTypeProperties struct { - // EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). - EnvironmentURL interface{} `json:"environmentUrl,omitempty"` - // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). - Username interface{} `json:"username,omitempty"` - // Password - The password for Basic authentication of the Salesforce instance. - Password BasicSecretBase `json:"password,omitempty"` - // SecurityToken - The security token is required to remotely access Salesforce instance. - SecurityToken BasicSecretBase `json:"securityToken,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +// AsMarketoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct. -func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "environmentUrl": - if v != nil { - var environmentURL interface{} - err = json.Unmarshal(*v, &environmentURL) - if err != nil { - return err - } - slstp.EnvironmentURL = environmentURL - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - slstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - slstp.Password = password - } - case "securityToken": - if v != nil { - securityToken, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - slstp.SecurityToken = securityToken - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - slstp.EncryptedCredential = encryptedCredential - } - } - } - - return nil +// AsMariaDBSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// SalesforceObjectDataset the Salesforce object dataset. -type SalesforceObjectDataset struct { - // SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties. - *SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` +// AsMagentoSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeSalesforceObject - objectMap := make(map[string]interface{}) - if sod.SalesforceObjectDatasetTypeProperties != nil { - objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties - } - if sod.Description != nil { - objectMap["description"] = sod.Description - } - objectMap["structure"] = sod.Structure - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName - } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters - } - objectMap["type"] = sod.Type - for k, v := range sod.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsJiraSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsWebSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSapEccSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsCopySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { - return &sod, true +// AsBasicCopySource is the BasicCopySource implementation for QuickBooksSource. +func (qbs QuickBooksSource) AsBasicCopySource() (BasicCopySource, bool) { + return &qbs, true } -// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { - return nil, false +// RecurrenceSchedule the recurrence schedule. +type RecurrenceSchedule struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Minutes - The minutes. + Minutes *[]int32 `json:"minutes,omitempty"` + // Hours - The hours. + Hours *[]int32 `json:"hours,omitempty"` + // WeekDays - The days of the week. + WeekDays *[]DaysOfWeek `json:"weekDays,omitempty"` + // MonthDays - The month days. + MonthDays *[]int32 `json:"monthDays,omitempty"` + // MonthlyOccurrences - The monthly occurrences. + MonthlyOccurrences *[]RecurrenceScheduleOccurrence `json:"monthlyOccurrences,omitempty"` } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for RecurrenceSchedule. +func (rs RecurrenceSchedule) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if rs.Minutes != nil { + objectMap["minutes"] = rs.Minutes + } + if rs.Hours != nil { + objectMap["hours"] = rs.Hours + } + if rs.WeekDays != nil { + objectMap["weekDays"] = rs.WeekDays + } + if rs.MonthDays != nil { + objectMap["monthDays"] = rs.MonthDays + } + if rs.MonthlyOccurrences != nil { + objectMap["monthlyOccurrences"] = rs.MonthlyOccurrences + } + for k, v := range rs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { - return nil, false +// RecurrenceScheduleOccurrence the recurrence schedule occurence. +type RecurrenceScheduleOccurrence struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Day - The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' + Day DayOfWeek `json:"day,omitempty"` + // Occurrence - The occurrence. + Occurrence *int32 `json:"occurrence,omitempty"` } -// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for RecurrenceScheduleOccurrence. +func (rso RecurrenceScheduleOccurrence) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["day"] = rso.Day + if rso.Occurrence != nil { + objectMap["occurrence"] = rso.Occurrence + } + for k, v := range rso.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { - return nil, false +// RedirectIncompatibleRowSettings redirect incompatible row settings +type RedirectIncompatibleRowSettings struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // LinkedServiceName - Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). + LinkedServiceName interface{} `json:"linkedServiceName,omitempty"` + // Path - The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` } -// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for RedirectIncompatibleRowSettings. +func (rirs RedirectIncompatibleRowSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + objectMap["linkedServiceName"] = rirs.LinkedServiceName + objectMap["path"] = rirs.Path + for k, v := range rirs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { - return nil, false +// RedshiftUnloadSettings the Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift +// with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the +// targeted sink from the interim S3. +type RedshiftUnloadSettings struct { + // S3LinkedServiceName - The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. + S3LinkedServiceName *LinkedServiceReference `json:"s3LinkedServiceName,omitempty"` + // BucketName - The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). + BucketName interface{} `json:"bucketName,omitempty"` } -// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { - return nil, false +// RelationalSource a copy activity source for various relational databases. +type RelationalSource struct { + // Query - Database query. Type: string (or Expression with resultType string). + Query interface{} `json:"query,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false +// MarshalJSON is the custom marshaler for RelationalSource. +func (rs RelationalSource) MarshalJSON() ([]byte, error) { + rs.Type = TypeRelationalSource + objectMap := make(map[string]interface{}) + objectMap["query"] = rs.Query + objectMap["sourceRetryCount"] = rs.SourceRetryCount + objectMap["sourceRetryWait"] = rs.SourceRetryWait + objectMap["type"] = rs.Type + for k, v := range rs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsSparkSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) { +// AsShopifySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset. -func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true -} - -// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct. -func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties - err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties) - if err != nil { - return err - } - sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if sod.AdditionalProperties == nil { - sod.AdditionalProperties = make(map[string]interface{}) - } - sod.AdditionalProperties[k] = additionalProperties - } - case "description": - 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 "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 - } - sod.Parameters = parameters - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sod.Type = typeVar - } - } - } - - return nil -} - -// SalesforceObjectDatasetTypeProperties salesforce object dataset properties. -type SalesforceObjectDatasetTypeProperties struct { - // ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string). - ObjectAPIName interface{} `json:"objectApiName,omitempty"` -} - -// SalesforceSink a copy activity Salesforce sink. -type SalesforceSink struct { - // WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert' - WriteBehavior SalesforceSinkWriteBehavior `json:"writeBehavior,omitempty"` - // ExternalIDFieldName - The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). - ExternalIDFieldName interface{} `json:"externalIdFieldName,omitempty"` - // IgnoreNullValues - The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). - IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // 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"` - // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' - Type TypeBasicCopySink `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SalesforceSink. -func (ss SalesforceSink) MarshalJSON() ([]byte, error) { - ss.Type = TypeSalesforceSink - objectMap := make(map[string]interface{}) - objectMap["writeBehavior"] = ss.WriteBehavior - objectMap["externalIdFieldName"] = ss.ExternalIDFieldName - objectMap["ignoreNullValues"] = ss.IgnoreNullValues - objectMap["writeBatchSize"] = ss.WriteBatchSize - objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout - objectMap["sinkRetryCount"] = ss.SinkRetryCount - objectMap["sinkRetryWait"] = ss.SinkRetryWait - objectMap["type"] = ss.Type - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsSalesforceSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsSalesforceSink() (*SalesforceSink, bool) { - return &ss, true -} - -// AsDynamicsSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsServiceNowSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsOdbcSink() (*OdbcSink, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsPrestoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsPhoenixSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsOracleSink() (*OracleSink, bool) { +// AsPaypalSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsMarketoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsSQLSink() (*SQLSink, bool) { +// AsMariaDBSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsMagentoSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsJiraSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsBlobSink() (*BlobSink, bool) { +// AsImpalaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsHubspotSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsHiveSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsHBaseSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsCopySink() (*CopySink, bool) { +// AsGreenplumSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SalesforceSink. -func (ss SalesforceSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ss, true -} - -// SalesforceSource a copy activity Salesforce source. -type SalesforceSource struct { - // Query - Database query. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` - // ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll' - ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsGoogleBigQuerySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SalesforceSource. -func (ss SalesforceSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSalesforceSource - objectMap := make(map[string]interface{}) - objectMap["query"] = ss.Query - objectMap["readBehavior"] = ss.ReadBehavior - objectMap["sourceRetryCount"] = ss.SourceRetryCount - objectMap["sourceRetryWait"] = ss.SourceRetryWait - objectMap["type"] = ss.Type - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsEloquaSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsDrillSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsZohoSource() (*ZohoSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsXeroSource() (*XeroSource, bool) { +// AsConcurSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsSquareSource() (*SquareSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsSparkSource() (*SparkSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsShopifySource() (*ShopifySource, bool) { +// AsHTTPSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsPrestoSource() (*PrestoSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsWebSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsPaypalSource() (*PaypalSource, bool) { +// AsOracleSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsMagentoSource() (*MagentoSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsJiraSource() (*JiraSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsSQLSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsHubspotSource() (*HubspotSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsHiveSource() (*HiveSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsHBaseSource() (*HBaseSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false +// AsRelationalSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsRelationalSource() (*RelationalSource, bool) { + return &rs, true } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsEloquaSource() (*EloquaSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsDrillSource() (*DrillSource, bool) { +// AsBlobSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsConcurSource() (*ConcurSource, bool) { +// AsCopySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceSource. -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 -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, 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 -} - -// AsOracleSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsOracleSource() (*OracleSource, 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 -} - -// AsSQLSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false -} - -// AsSalesforceSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsSalesforceSource() (*SalesforceSource, bool) { - return &ss, true -} - -// AsRelationalSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsRelationalSource() (*RelationalSource, 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 -} - -// AsAzureTableSource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsCopySource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsCopySource() (*CopySource, bool) { - return nil, false -} - -// AsBasicCopySource is the BasicCopySource implementation for SalesforceSource. -func (ss SalesforceSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsBasicCopySource is the BasicCopySource implementation for RelationalSource. +func (rs RelationalSource) AsBasicCopySource() (BasicCopySource, bool) { + return &rs, true } -// SapBWLinkedService SAP Business Warehouse Linked Service. -type SapBWLinkedService struct { - // SapBWLinkedServiceTypeProperties - Properties specific to this linked service type. - *SapBWLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// RelationalTableDataset the relational table dataset. +type RelationalTableDataset struct { + // RelationalTableDatasetTypeProperties - Relational table dataset properties. + *RelationalTableDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapBWLinkedService. -func (sbls SapBWLinkedService) MarshalJSON() ([]byte, error) { - sbls.Type = TypeSapBW +// MarshalJSON is the custom marshaler for RelationalTableDataset. +func (rtd RelationalTableDataset) MarshalJSON() ([]byte, error) { + rtd.Type = TypeRelationalTable objectMap := make(map[string]interface{}) - if sbls.SapBWLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sbls.SapBWLinkedServiceTypeProperties + if rtd.RelationalTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = rtd.RelationalTableDatasetTypeProperties } - if sbls.ConnectVia != nil { - objectMap["connectVia"] = sbls.ConnectVia + if rtd.Description != nil { + objectMap["description"] = rtd.Description } - if sbls.Description != nil { - objectMap["description"] = sbls.Description + objectMap["structure"] = rtd.Structure + if rtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = rtd.LinkedServiceName } - objectMap["type"] = sbls.Type - for k, v := range sbls.AdditionalProperties { + if rtd.Parameters != nil { + objectMap["parameters"] = rtd.Parameters + } + if rtd.Annotations != nil { + objectMap["annotations"] = rtd.Annotations + } + objectMap["type"] = rtd.Type + for k, v := range rtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} - -// AsSparkLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false -} - -// AsPaypalLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false -} - -// AsMarketoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false -} - -// AsMariaDBLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return &sbls, true -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { - return nil, false +// AsRelationalTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return &rtd, true } -// AsSybaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SapBWLinkedService. -func (sbls SapBWLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sbls, true +// AsBasicDataset is the BasicDataset implementation for RelationalTableDataset. +func (rtd RelationalTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &rtd, true } -// UnmarshalJSON is the custom unmarshaler for SapBWLinkedService struct. -func (sbls *SapBWLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for RelationalTableDataset struct. +func (rtd *RelationalTableDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -63579,12 +67614,12 @@ func (sbls *SapBWLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sapBWLinkedServiceTypeProperties SapBWLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sapBWLinkedServiceTypeProperties) + var relationalTableDatasetTypeProperties RelationalTableDatasetTypeProperties + err = json.Unmarshal(*v, &relationalTableDatasetTypeProperties) if err != nil { return err } - sbls.SapBWLinkedServiceTypeProperties = &sapBWLinkedServiceTypeProperties + rtd.RelationalTableDatasetTypeProperties = &relationalTableDatasetTypeProperties } default: if v != nil { @@ -63593,37 +67628,64 @@ func (sbls *SapBWLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sbls.AdditionalProperties == nil { - sbls.AdditionalProperties = make(map[string]interface{}) + if rtd.AdditionalProperties == nil { + rtd.AdditionalProperties = make(map[string]interface{}) } - sbls.AdditionalProperties[k] = additionalProperties + rtd.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 } - sbls.ConnectVia = &connectVia + rtd.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 } - sbls.Description = &description + rtd.Structure = structure + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + rtd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + rtd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + rtd.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicDataset err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - sbls.Type = typeVar + rtd.Type = typeVar } } } @@ -63631,461 +67693,451 @@ func (sbls *SapBWLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SapBWLinkedServiceTypeProperties properties specific to this linked service type. -type SapBWLinkedServiceTypeProperties struct { - // Server - Host name of the SAP BW instance. Type: string (or Expression with resultType string). - Server interface{} `json:"server,omitempty"` - // SystemNumber - System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). - SystemNumber interface{} `json:"systemNumber,omitempty"` - // ClientID - Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). - ClientID interface{} `json:"clientId,omitempty"` - // UserName - Username to access the SAP BW server. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password to access the SAP BW 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"` +// RelationalTableDatasetTypeProperties relational table dataset properties. +type RelationalTableDatasetTypeProperties struct { + // TableName - The relational table name. Type: string (or Expression with resultType string). + TableName interface{} `json:"tableName,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for SapBWLinkedServiceTypeProperties struct. -func (sblstp *SapBWLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err +// Resource azure Data Factory top-level resource. +type Resource struct { + // ID - The resource identifier. + ID *string `json:"id,omitempty"` + // Name - The resource name. + Name *string `json:"name,omitempty"` + // Type - 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"` +} + +// MarshalJSON is the custom marshaler for Resource. +func (r Resource) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if r.ID != nil { + objectMap["id"] = r.ID } - 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 - } - sblstp.Server = server - } - case "systemNumber": - if v != nil { - var systemNumber interface{} - err = json.Unmarshal(*v, &systemNumber) - if err != nil { - return err - } - sblstp.SystemNumber = systemNumber - } - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - sblstp.ClientID = clientID - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - sblstp.UserName = userName - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - sblstp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - sblstp.EncryptedCredential = encryptedCredential - } - } + if r.Name != nil { + objectMap["name"] = r.Name + } + if r.Type != nil { + objectMap["type"] = r.Type + } + if r.Location != nil { + objectMap["location"] = r.Location + } + if r.Tags != nil { + objectMap["tags"] = r.Tags } + return json.Marshal(objectMap) +} - return nil +// RetryPolicy execution policy for an activity. +type RetryPolicy struct { + // Count - Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. + Count interface{} `json:"count,omitempty"` + // IntervalInSeconds - Interval between retries in seconds. Default is 30. + IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"` } -// SapCloudForCustomerLinkedService linked service for SAP Cloud for Customer. -type SapCloudForCustomerLinkedService struct { - // SapCloudForCustomerLinkedServiceTypeProperties - SAP Cloud for Customer linked service properties. - *SapCloudForCustomerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SalesforceLinkedService linked service for Salesforce. +type SalesforceLinkedService struct { + // SalesforceLinkedServiceTypeProperties - Salesforce linked service properties. + *SalesforceLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // ConnectVia - The integration runtime reference. ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) MarshalJSON() ([]byte, error) { - scfcls.Type = TypeSapCloudForCustomer +// MarshalJSON is the custom marshaler for SalesforceLinkedService. +func (sls SalesforceLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSalesforce objectMap := make(map[string]interface{}) - if scfcls.SapCloudForCustomerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = scfcls.SapCloudForCustomerLinkedServiceTypeProperties + if sls.SalesforceLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SalesforceLinkedServiceTypeProperties } - if scfcls.ConnectVia != nil { - objectMap["connectVia"] = scfcls.ConnectVia + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if scfcls.Description != nil { - objectMap["description"] = scfcls.Description + if sls.Description != nil { + objectMap["description"] = sls.Description } - objectMap["type"] = scfcls.Type - for k, v := range scfcls.AdditionalProperties { + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + objectMap["type"] = sls.Type + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { - return &scfcls, true +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return &sls, true +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. -func (scfcls SapCloudForCustomerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &scfcls, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerLinkedService struct. -func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error { +// AsLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SalesforceLinkedService. +func (sls SalesforceLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedService struct. +func (sls *SalesforceLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -64095,12 +68147,12 @@ func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error switch k { case "typeProperties": if v != nil { - var sapCloudForCustomerLinkedServiceTypeProperties SapCloudForCustomerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sapCloudForCustomerLinkedServiceTypeProperties) + var salesforceLinkedServiceTypeProperties SalesforceLinkedServiceTypeProperties + err = json.Unmarshal(*v, &salesforceLinkedServiceTypeProperties) if err != nil { return err } - scfcls.SapCloudForCustomerLinkedServiceTypeProperties = &sapCloudForCustomerLinkedServiceTypeProperties + sls.SalesforceLinkedServiceTypeProperties = &salesforceLinkedServiceTypeProperties } default: if v != nil { @@ -64109,10 +68161,10 @@ func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - if scfcls.AdditionalProperties == nil { - scfcls.AdditionalProperties = make(map[string]interface{}) + if sls.AdditionalProperties == nil { + sls.AdditionalProperties = make(map[string]interface{}) } - scfcls.AdditionalProperties[k] = additionalProperties + sls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -64121,7 +68173,7 @@ func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - scfcls.ConnectVia = &connectVia + sls.ConnectVia = &connectVia } case "description": if v != nil { @@ -64130,7 +68182,25 @@ func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - scfcls.Description = &description + 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 { @@ -64139,7 +68209,7 @@ func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error if err != nil { return err } - scfcls.Type = typeVar + sls.Type = typeVar } } } @@ -64147,20 +68217,22 @@ func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error return nil } -// SapCloudForCustomerLinkedServiceTypeProperties SAP Cloud for Customer linked service properties. -type SapCloudForCustomerLinkedServiceTypeProperties struct { - // URL - The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string). - URL interface{} `json:"url,omitempty"` - // Username - The username for Basic authentication. Type: string (or Expression with resultType string). +// SalesforceLinkedServiceTypeProperties salesforce linked service properties. +type SalesforceLinkedServiceTypeProperties struct { + // EnvironmentURL - The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). + EnvironmentURL interface{} `json:"environmentUrl,omitempty"` + // Username - The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). Username interface{} `json:"username,omitempty"` - // Password - The password for Basic authentication. + // Password - The password for Basic authentication of the Salesforce instance. Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). + // SecurityToken - The security token is required to remotely access Salesforce instance. + SecurityToken BasicSecretBase `json:"securityToken,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerLinkedServiceTypeProperties struct. -func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SalesforceLinkedServiceTypeProperties struct. +func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -64168,14 +68240,14 @@ func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(bo } for k, v := range m { switch k { - case "url": + case "environmentUrl": if v != nil { - var URL interface{} - err = json.Unmarshal(*v, &URL) + var environmentURL interface{} + err = json.Unmarshal(*v, &environmentURL) if err != nil { return err } - scfclstp.URL = URL + slstp.EnvironmentURL = environmentURL } case "username": if v != nil { @@ -64184,7 +68256,7 @@ func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(bo if err != nil { return err } - scfclstp.Username = username + slstp.Username = username } case "password": if v != nil { @@ -64192,7 +68264,15 @@ func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(bo if err != nil { return err } - scfclstp.Password = password + slstp.Password = password + } + case "securityToken": + if v != nil { + securityToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + slstp.SecurityToken = securityToken } case "encryptedCredential": if v != nil { @@ -64201,7 +68281,7 @@ func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(bo if err != nil { return err } - scfclstp.EncryptedCredential = encryptedCredential + slstp.EncryptedCredential = encryptedCredential } } } @@ -64209,10 +68289,10 @@ func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(bo return nil } -// SapCloudForCustomerResourceDataset the path of the SAP Cloud for Customer OData entity. -type SapCloudForCustomerResourceDataset struct { - // SapCloudForCustomerResourceDatasetTypeProperties - SAP Cloud For Customer OData resource dataset properties. - *SapCloudForCustomerResourceDatasetTypeProperties `json:"typeProperties,omitempty"` +// SalesforceObjectDataset the Salesforce object dataset. +type SalesforceObjectDataset struct { + // SalesforceObjectDatasetTypeProperties - Salesforce object dataset properties. + *SalesforceObjectDatasetTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -64223,291 +68303,306 @@ type SapCloudForCustomerResourceDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) MarshalJSON() ([]byte, error) { - scfcrd.Type = TypeSapCloudForCustomerResource - objectMap := make(map[string]interface{}) - if scfcrd.SapCloudForCustomerResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = scfcrd.SapCloudForCustomerResourceDatasetTypeProperties +// MarshalJSON is the custom marshaler for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSalesforceObject + objectMap := make(map[string]interface{}) + if sod.SalesforceObjectDatasetTypeProperties != nil { + objectMap["typeProperties"] = sod.SalesforceObjectDatasetTypeProperties } - if scfcrd.Description != nil { - objectMap["description"] = scfcrd.Description + if sod.Description != nil { + objectMap["description"] = sod.Description } - objectMap["structure"] = scfcrd.Structure - if scfcrd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = scfcrd.LinkedServiceName + objectMap["structure"] = sod.Structure + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName } - if scfcrd.Parameters != nil { - objectMap["parameters"] = scfcrd.Parameters + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters } - objectMap["type"] = scfcrd.Type - for k, v := range scfcrd.AdditionalProperties { + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations + } + objectMap["type"] = sod.Type + for k, v := range sod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { - return &scfcrd, true +// AsSQLServerTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return &sod, true +} + +// AsRelationalTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsDataset() (*Dataset, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. -func (scfcrd SapCloudForCustomerResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &scfcrd, true +// AsDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerResourceDataset struct. -func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) error { +// AsBasicDataset is the BasicDataset implementation for SalesforceObjectDataset. +func (sod SalesforceObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true +} + +// UnmarshalJSON is the custom unmarshaler for SalesforceObjectDataset struct. +func (sod *SalesforceObjectDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -64517,12 +68612,12 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err switch k { case "typeProperties": if v != nil { - var sapCloudForCustomerResourceDatasetTypeProperties SapCloudForCustomerResourceDatasetTypeProperties - err = json.Unmarshal(*v, &sapCloudForCustomerResourceDatasetTypeProperties) + var salesforceObjectDatasetTypeProperties SalesforceObjectDatasetTypeProperties + err = json.Unmarshal(*v, &salesforceObjectDatasetTypeProperties) if err != nil { return err } - scfcrd.SapCloudForCustomerResourceDatasetTypeProperties = &sapCloudForCustomerResourceDatasetTypeProperties + sod.SalesforceObjectDatasetTypeProperties = &salesforceObjectDatasetTypeProperties } default: if v != nil { @@ -64531,10 +68626,10 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err if err != nil { return err } - if scfcrd.AdditionalProperties == nil { - scfcrd.AdditionalProperties = make(map[string]interface{}) + if sod.AdditionalProperties == nil { + sod.AdditionalProperties = make(map[string]interface{}) } - scfcrd.AdditionalProperties[k] = additionalProperties + sod.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -64543,7 +68638,7 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err if err != nil { return err } - scfcrd.Description = &description + sod.Description = &description } case "structure": if v != nil { @@ -64552,7 +68647,7 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err if err != nil { return err } - scfcrd.Structure = structure + sod.Structure = structure } case "linkedServiceName": if v != nil { @@ -64561,7 +68656,7 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err if err != nil { return err } - scfcrd.LinkedServiceName = &linkedServiceName + sod.LinkedServiceName = &linkedServiceName } case "parameters": if v != nil { @@ -64570,7 +68665,16 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err if err != nil { return err } - scfcrd.Parameters = parameters + sod.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + sod.Annotations = &annotations } case "type": if v != nil { @@ -64579,7 +68683,7 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err if err != nil { return err } - scfcrd.Type = typeVar + sod.Type = typeVar } } } @@ -64587,16 +68691,20 @@ func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) err return nil } -// SapCloudForCustomerResourceDatasetTypeProperties sap Cloud For Customer OData resource dataset properties. -type SapCloudForCustomerResourceDatasetTypeProperties struct { - // Path - The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). - Path interface{} `json:"path,omitempty"` +// SalesforceObjectDatasetTypeProperties salesforce object dataset properties. +type SalesforceObjectDatasetTypeProperties struct { + // ObjectAPIName - The Salesforce object API name. Type: string (or Expression with resultType string). + ObjectAPIName interface{} `json:"objectApiName,omitempty"` } -// SapCloudForCustomerSink a copy activity SAP Cloud for Customer sink. -type SapCloudForCustomerSink struct { - // WriteBehavior - The write behavior for the operation. Default is 'Insert'. Possible values include: 'SapCloudForCustomerSinkWriteBehaviorInsert', 'SapCloudForCustomerSinkWriteBehaviorUpdate' - WriteBehavior SapCloudForCustomerSinkWriteBehavior `json:"writeBehavior,omitempty"` +// SalesforceSink a copy activity Salesforce sink. +type SalesforceSink struct { + // WriteBehavior - The write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert' + WriteBehavior SalesforceSinkWriteBehavior `json:"writeBehavior,omitempty"` + // ExternalIDFieldName - The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). + ExternalIDFieldName interface{} `json:"externalIdFieldName,omitempty"` + // IgnoreNullValues - The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). + IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -64611,741 +68719,781 @@ type SapCloudForCustomerSink struct { Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) MarshalJSON() ([]byte, error) { - scfcs.Type = TypeSapCloudForCustomerSink +// MarshalJSON is the custom marshaler for SalesforceSink. +func (ss SalesforceSink) MarshalJSON() ([]byte, error) { + ss.Type = TypeSalesforceSink objectMap := make(map[string]interface{}) - objectMap["writeBehavior"] = scfcs.WriteBehavior - objectMap["writeBatchSize"] = scfcs.WriteBatchSize - objectMap["writeBatchTimeout"] = scfcs.WriteBatchTimeout - objectMap["sinkRetryCount"] = scfcs.SinkRetryCount - objectMap["sinkRetryWait"] = scfcs.SinkRetryWait - objectMap["type"] = scfcs.Type - for k, v := range scfcs.AdditionalProperties { + objectMap["writeBehavior"] = ss.WriteBehavior + objectMap["externalIdFieldName"] = ss.ExternalIDFieldName + objectMap["ignoreNullValues"] = ss.IgnoreNullValues + objectMap["writeBatchSize"] = ss.WriteBatchSize + objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout + objectMap["sinkRetryCount"] = ss.SinkRetryCount + objectMap["sinkRetryWait"] = ss.SinkRetryWait + objectMap["type"] = ss.Type + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsSalesforceSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false +// AsSalesforceSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSalesforceSink() (*SalesforceSink, bool) { + return &ss, true } -// AsDynamicsSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOdbcSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsOracleSink() (*OracleSink, bool) { +// AsOracleSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsSQLSink() (*SQLSink, bool) { +// AsSQLSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsBlobSink() (*BlobSink, bool) { +// AsBlobSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { - return &scfcs, true +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false } -// AsCopySink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsCopySink() (*CopySink, bool) { +// AsCopySink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SapCloudForCustomerSink. -func (scfcs SapCloudForCustomerSink) AsBasicCopySink() (BasicCopySink, bool) { - return &scfcs, true +// AsBasicCopySink is the BasicCopySink implementation for SalesforceSink. +func (ss SalesforceSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ss, true } -// SapCloudForCustomerSource a copy activity source for SAP Cloud for Customer source. -type SapCloudForCustomerSource struct { - // Query - SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). +// SalesforceSource a copy activity Salesforce source. +type SalesforceSource struct { + // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll' + ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { - scfcs.Type = TypeSapCloudForCustomerSource +// MarshalJSON is the custom marshaler for SalesforceSource. +func (ss SalesforceSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSalesforceSource objectMap := make(map[string]interface{}) - objectMap["query"] = scfcs.Query - objectMap["sourceRetryCount"] = scfcs.SourceRetryCount - objectMap["sourceRetryWait"] = scfcs.SourceRetryWait - objectMap["type"] = scfcs.Type - for k, v := range scfcs.AdditionalProperties { + objectMap["query"] = ss.Query + objectMap["readBehavior"] = ss.ReadBehavior + objectMap["sourceRetryCount"] = ss.SourceRetryCount + objectMap["sourceRetryWait"] = ss.SourceRetryWait + objectMap["type"] = ss.Type + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsShopifySource() (*ShopifySource, bool) { +// AsSquareSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsPrestoSource() (*PrestoSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsJiraSource() (*JiraSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHubspotSource() (*HubspotSource, bool) { +// AsJiraSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHiveSource() (*HiveSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHiveSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsHBaseSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsDrillSource() (*DrillSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsConcurSource() (*ConcurSource, bool) { +// AsDrillSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false +// AsConcurSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsCassandraSource() (*CassandraSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsWebSource() (*WebSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsOracleSource() (*OracleSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsWebSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsHdfsSource() (*HdfsSource, bool) { +// AsOracleSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSQLSource() (*SQLSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return &scfcs, true +// AsSQLSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSQLSource() (*SQLSource, bool) { + return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsSalesforceSource() (*SalesforceSource, bool) { + return &ss, true +} + +// AsRelationalSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsCopySource() (*CopySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SapCloudForCustomerSource. -func (scfcs SapCloudForCustomerSource) AsBasicCopySource() (BasicCopySource, bool) { - return &scfcs, true +// AsCopySource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// SapEccLinkedService linked service for SAP ERP Central Component(SAP ECC). -type SapEccLinkedService struct { - // SapEccLinkedServiceTypeProperties - SAP ECC linked service properties. - *SapEccLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AsBasicCopySource is the BasicCopySource implementation for SalesforceSource. +func (ss SalesforceSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// SapBWLinkedService SAP Business Warehouse Linked Service. +type SapBWLinkedService struct { + // SapBWLinkedServiceTypeProperties - Properties specific to this linked service type. + *SapBWLinkedServiceTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapEccLinkedService. -func (sels SapEccLinkedService) MarshalJSON() ([]byte, error) { - sels.Type = TypeSapEcc +// MarshalJSON is the custom marshaler for SapBWLinkedService. +func (sbls SapBWLinkedService) MarshalJSON() ([]byte, error) { + sbls.Type = TypeSapBW objectMap := make(map[string]interface{}) - if sels.SapEccLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sels.SapEccLinkedServiceTypeProperties + if sbls.SapBWLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sbls.SapBWLinkedServiceTypeProperties } - if sels.ConnectVia != nil { - objectMap["connectVia"] = sels.ConnectVia + if sbls.ConnectVia != nil { + objectMap["connectVia"] = sbls.ConnectVia } - if sels.Description != nil { - objectMap["description"] = sels.Description + if sbls.Description != nil { + objectMap["description"] = sbls.Description } - objectMap["type"] = sels.Type - for k, v := range sels.AdditionalProperties { + if sbls.Parameters != nil { + objectMap["parameters"] = sbls.Parameters + } + if sbls.Annotations != nil { + objectMap["annotations"] = sbls.Annotations + } + objectMap["type"] = sbls.Type + for k, v := range sbls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return &sbls, true +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return &sels, true +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SapEccLinkedService. -func (sels SapEccLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sels, true +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SapEccLinkedService struct. -func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { +// AsLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SapBWLinkedService. +func (sbls SapBWLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sbls, true +} + +// UnmarshalJSON is the custom unmarshaler for SapBWLinkedService struct. +func (sbls *SapBWLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -65355,12 +69503,12 @@ func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sapEccLinkedServiceTypeProperties SapEccLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sapEccLinkedServiceTypeProperties) + var sapBWLinkedServiceTypeProperties SapBWLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sapBWLinkedServiceTypeProperties) if err != nil { return err } - sels.SapEccLinkedServiceTypeProperties = &sapEccLinkedServiceTypeProperties + sbls.SapBWLinkedServiceTypeProperties = &sapBWLinkedServiceTypeProperties } default: if v != nil { @@ -65369,10 +69517,10 @@ func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sels.AdditionalProperties == nil { - sels.AdditionalProperties = make(map[string]interface{}) + if sbls.AdditionalProperties == nil { + sbls.AdditionalProperties = make(map[string]interface{}) } - sels.AdditionalProperties[k] = additionalProperties + sbls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -65381,7 +69529,7 @@ func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sels.ConnectVia = &connectVia + sbls.ConnectVia = &connectVia } case "description": if v != nil { @@ -65390,7 +69538,25 @@ func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sels.Description = &description + sbls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + sbls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + sbls.Annotations = &annotations } case "type": if v != nil { @@ -65399,7 +69565,7 @@ func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sels.Type = typeVar + sbls.Type = typeVar } } } @@ -65407,20 +69573,24 @@ func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SapEccLinkedServiceTypeProperties SAP ECC linked service properties. -type SapEccLinkedServiceTypeProperties struct { - // URL - The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). - URL *string `json:"url,omitempty"` - // Username - The username for Basic authentication. Type: string (or Expression with resultType string). - Username *string `json:"username,omitempty"` - // Password - The password for Basic authentication. +// SapBWLinkedServiceTypeProperties properties specific to this linked service type. +type SapBWLinkedServiceTypeProperties struct { + // Server - Host name of the SAP BW instance. Type: string (or Expression with resultType string). + Server interface{} `json:"server,omitempty"` + // SystemNumber - System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + SystemNumber interface{} `json:"systemNumber,omitempty"` + // ClientID - Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + ClientID interface{} `json:"clientId,omitempty"` + // UserName - Username to access the SAP BW server. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password to access the SAP BW server. Password BasicSecretBase `json:"password,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). - EncryptedCredential *string `json:"encryptedCredential,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 SapEccLinkedServiceTypeProperties struct. -func (selstp *SapEccLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SapBWLinkedServiceTypeProperties struct. +func (sblstp *SapBWLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -65428,346 +69598,461 @@ func (selstp *SapEccLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } for k, v := range m { switch k { - case "url": + case "server": if v != nil { - var URL string - err = json.Unmarshal(*v, &URL) + var server interface{} + err = json.Unmarshal(*v, &server) if err != nil { return err } - selstp.URL = &URL + sblstp.Server = server } - case "username": + case "systemNumber": if v != nil { - var username string - err = json.Unmarshal(*v, &username) + var systemNumber interface{} + err = json.Unmarshal(*v, &systemNumber) if err != nil { return err } - selstp.Username = &username + sblstp.SystemNumber = systemNumber } - case "password": + case "clientId": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var clientID interface{} + err = json.Unmarshal(*v, &clientID) if err != nil { return err } - selstp.Password = password + sblstp.ClientID = clientID } - case "encryptedCredential": + case "userName": if v != nil { - var encryptedCredential string - err = json.Unmarshal(*v, &encryptedCredential) + var userName interface{} + err = json.Unmarshal(*v, &userName) if err != nil { return err } - selstp.EncryptedCredential = &encryptedCredential + sblstp.UserName = userName } - } - } - - return nil -} + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + sblstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + sblstp.EncryptedCredential = encryptedCredential + } + } + } -// SapEccResourceDataset the path of the SAP ECC OData entity. -type SapEccResourceDataset struct { - // SapEccResourceDatasetTypeProperties - SAP ECC OData resource dataset properties. - *SapEccResourceDatasetTypeProperties `json:"typeProperties,omitempty"` + return nil +} + +// SapCloudForCustomerLinkedService linked service for SAP Cloud for Customer. +type SapCloudForCustomerLinkedService struct { + // SapCloudForCustomerLinkedServiceTypeProperties - SAP Cloud for Customer linked service properties. + *SapCloudForCustomerLinkedServiceTypeProperties `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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapEccResourceDataset. -func (serd SapEccResourceDataset) MarshalJSON() ([]byte, error) { - serd.Type = TypeSapEccResource +// MarshalJSON is the custom marshaler for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) MarshalJSON() ([]byte, error) { + scfcls.Type = TypeSapCloudForCustomer objectMap := make(map[string]interface{}) - if serd.SapEccResourceDatasetTypeProperties != nil { - objectMap["typeProperties"] = serd.SapEccResourceDatasetTypeProperties + if scfcls.SapCloudForCustomerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = scfcls.SapCloudForCustomerLinkedServiceTypeProperties } - if serd.Description != nil { - objectMap["description"] = serd.Description + if scfcls.ConnectVia != nil { + objectMap["connectVia"] = scfcls.ConnectVia } - objectMap["structure"] = serd.Structure - if serd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = serd.LinkedServiceName + if scfcls.Description != nil { + objectMap["description"] = scfcls.Description } - if serd.Parameters != nil { - objectMap["parameters"] = serd.Parameters + if scfcls.Parameters != nil { + objectMap["parameters"] = scfcls.Parameters } - objectMap["type"] = serd.Type - for k, v := range serd.AdditionalProperties { + if scfcls.Annotations != nil { + objectMap["annotations"] = scfcls.Annotations + } + objectMap["type"] = scfcls.Type + for k, v := range scfcls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { - return &serd, true +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return &scfcls, true +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsDataset() (*Dataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SapEccResourceDataset. -func (serd SapEccResourceDataset) AsBasicDataset() (BasicDataset, bool) { - return &serd, true +// AsTeradataLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SapEccResourceDataset struct. -func (serd *SapEccResourceDataset) UnmarshalJSON(body []byte) error { +// AsDb2LinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SapCloudForCustomerLinkedService. +func (scfcls SapCloudForCustomerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &scfcls, true +} + +// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerLinkedService struct. +func (scfcls *SapCloudForCustomerLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -65777,12 +70062,12 @@ func (serd *SapEccResourceDataset) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sapEccResourceDatasetTypeProperties SapEccResourceDatasetTypeProperties - err = json.Unmarshal(*v, &sapEccResourceDatasetTypeProperties) + var sapCloudForCustomerLinkedServiceTypeProperties SapCloudForCustomerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sapCloudForCustomerLinkedServiceTypeProperties) if err != nil { return err } - serd.SapEccResourceDatasetTypeProperties = &sapEccResourceDatasetTypeProperties + scfcls.SapCloudForCustomerLinkedServiceTypeProperties = &sapCloudForCustomerLinkedServiceTypeProperties } default: if v != nil { @@ -65791,55 +70076,55 @@ func (serd *SapEccResourceDataset) UnmarshalJSON(body []byte) error { if err != nil { return err } - if serd.AdditionalProperties == nil { - serd.AdditionalProperties = make(map[string]interface{}) + if scfcls.AdditionalProperties == nil { + scfcls.AdditionalProperties = make(map[string]interface{}) } - serd.AdditionalProperties[k] = additionalProperties + scfcls.AdditionalProperties[k] = additionalProperties } - case "description": + case "connectVia": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) if err != nil { return err } - serd.Description = &description + scfcls.ConnectVia = &connectVia } - case "structure": + case "description": if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - serd.Structure = structure + scfcls.Description = &description } - case "linkedServiceName": + case "parameters": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - serd.LinkedServiceName = &linkedServiceName + scfcls.Parameters = parameters } - case "parameters": + case "annotations": if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - serd.Parameters = parameters + scfcls.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicDataset + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - serd.Type = typeVar + scfcls.Type = typeVar } } } @@ -65847,1153 +70132,1264 @@ func (serd *SapEccResourceDataset) UnmarshalJSON(body []byte) error { return nil } -// SapEccResourceDatasetTypeProperties sap ECC OData resource dataset properties. -type SapEccResourceDatasetTypeProperties struct { - // Path - The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). - Path *string `json:"path,omitempty"` +// SapCloudForCustomerLinkedServiceTypeProperties SAP Cloud for Customer linked service properties. +type SapCloudForCustomerLinkedServiceTypeProperties struct { + // URL - The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string). + URL interface{} `json:"url,omitempty"` + // Username - The username for Basic authentication. Type: string (or Expression with resultType string). + Username interface{} `json:"username,omitempty"` + // Password - The 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. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// SapEccSource a copy activity source for SAP ECC source. -type SapEccSource struct { - // Query - SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). - Query *string `json:"query,omitempty"` +// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerLinkedServiceTypeProperties struct. +func (scfclstp *SapCloudForCustomerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + 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 + } + scfclstp.URL = URL + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + scfclstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + scfclstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + scfclstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// SapCloudForCustomerResourceDataset the path of the SAP Cloud for Customer OData entity. +type SapCloudForCustomerResourceDataset struct { + // SapCloudForCustomerResourceDatasetTypeProperties - SAP Cloud For Customer OData resource dataset properties. + *SapCloudForCustomerResourceDatasetTypeProperties `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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - 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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapEccSource. -func (ses SapEccSource) MarshalJSON() ([]byte, error) { - ses.Type = TypeSapEccSource +// MarshalJSON is the custom marshaler for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) MarshalJSON() ([]byte, error) { + scfcrd.Type = TypeSapCloudForCustomerResource objectMap := make(map[string]interface{}) - if ses.Query != nil { - objectMap["query"] = ses.Query + if scfcrd.SapCloudForCustomerResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = scfcrd.SapCloudForCustomerResourceDatasetTypeProperties } - objectMap["sourceRetryCount"] = ses.SourceRetryCount - objectMap["sourceRetryWait"] = ses.SourceRetryWait - objectMap["type"] = ses.Type - for k, v := range ses.AdditionalProperties { - objectMap[k] = v + if scfcrd.Description != nil { + objectMap["description"] = scfcrd.Description + } + objectMap["structure"] = scfcrd.Structure + if scfcrd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = scfcrd.LinkedServiceName + } + if scfcrd.Parameters != nil { + objectMap["parameters"] = scfcrd.Parameters + } + if scfcrd.Annotations != nil { + objectMap["annotations"] = scfcrd.Annotations + } + objectMap["type"] = scfcrd.Type + for k, v := range scfcrd.AdditionalProperties { + objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsZohoSource() (*ZohoSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsXeroSource() (*XeroSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSquareSource() (*SquareSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSparkSource() (*SparkSource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsShopifySource() (*ShopifySource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsPrestoSource() (*PrestoSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsCassandraSource() (*CassandraSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsWebSource() (*WebSource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsOracleSource() (*OracleSource, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return &scfcrd, true +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsHdfsSource() (*HdfsSource, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSQLSource() (*SQLSource, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSapEccSource() (*SapEccSource, bool) { - return &ses, true +// AsMongoDbCollectionDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsFileShareDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsRelationalSource() (*RelationalSource, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsCustomDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsBlobSource() (*BlobSource, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsCopySource() (*CopySource, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SapEccSource. -func (ses SapEccSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ses, true +// AsAzureTableDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false } -// SapHanaLinkedService SAP HANA Linked Service. -type SapHanaLinkedService struct { - // SapHanaLinkedServiceProperties - Properties specific to this linked service type. - *SapHanaLinkedServiceProperties `json:"typeProperties,omitempty"` +// AsAzureBlobDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for SapCloudForCustomerResourceDataset. +func (scfcrd SapCloudForCustomerResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &scfcrd, true +} + +// UnmarshalJSON is the custom unmarshaler for SapCloudForCustomerResourceDataset struct. +func (scfcrd *SapCloudForCustomerResourceDataset) UnmarshalJSON(body []byte) error { + 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 sapCloudForCustomerResourceDatasetTypeProperties SapCloudForCustomerResourceDatasetTypeProperties + err = json.Unmarshal(*v, &sapCloudForCustomerResourceDatasetTypeProperties) + if err != nil { + return err + } + scfcrd.SapCloudForCustomerResourceDatasetTypeProperties = &sapCloudForCustomerResourceDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if scfcrd.AdditionalProperties == nil { + scfcrd.AdditionalProperties = make(map[string]interface{}) + } + scfcrd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + scfcrd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + scfcrd.Structure = structure + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + scfcrd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + scfcrd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + scfcrd.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + scfcrd.Type = typeVar + } + } + } + + return nil +} + +// SapCloudForCustomerResourceDatasetTypeProperties sap Cloud For Customer OData resource dataset properties. +type SapCloudForCustomerResourceDatasetTypeProperties struct { + // Path - The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). + Path interface{} `json:"path,omitempty"` +} + +// SapCloudForCustomerSink a copy activity SAP Cloud for Customer sink. +type SapCloudForCustomerSink struct { + // WriteBehavior - The write behavior for the operation. Default is 'Insert'. Possible values include: 'SapCloudForCustomerSinkWriteBehaviorInsert', 'SapCloudForCustomerSinkWriteBehaviorUpdate' + WriteBehavior SapCloudForCustomerSinkWriteBehavior `json:"writeBehavior,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', '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"` + // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' + Type TypeBasicCopySink `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SapHanaLinkedService. -func (shls SapHanaLinkedService) MarshalJSON() ([]byte, error) { - shls.Type = TypeSapHana +// MarshalJSON is the custom marshaler for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) MarshalJSON() ([]byte, error) { + scfcs.Type = TypeSapCloudForCustomerSink objectMap := make(map[string]interface{}) - if shls.SapHanaLinkedServiceProperties != nil { - objectMap["typeProperties"] = shls.SapHanaLinkedServiceProperties - } - if shls.ConnectVia != nil { - objectMap["connectVia"] = shls.ConnectVia - } - if shls.Description != nil { - objectMap["description"] = shls.Description - } - objectMap["type"] = shls.Type - for k, v := range shls.AdditionalProperties { + objectMap["writeBehavior"] = scfcs.WriteBehavior + objectMap["writeBatchSize"] = scfcs.WriteBatchSize + objectMap["writeBatchTimeout"] = scfcs.WriteBatchTimeout + objectMap["sinkRetryCount"] = scfcs.SinkRetryCount + objectMap["sinkRetryWait"] = scfcs.SinkRetryWait + objectMap["type"] = scfcs.Type + for k, v := range scfcs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsSalesforceSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsBlobSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return &scfcs, true } -// AsMagentoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsCopySink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false +// AsBasicCopySink is the BasicCopySink implementation for SapCloudForCustomerSink. +func (scfcs SapCloudForCustomerSink) AsBasicCopySink() (BasicCopySink, bool) { + return &scfcs, true } -// AsImpalaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false +// SapCloudForCustomerSource a copy activity source for SAP Cloud for Customer source. +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"` + // 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// AsHubspotLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { + scfcs.Type = TypeSapCloudForCustomerSource + objectMap := make(map[string]interface{}) + objectMap["query"] = scfcs.Query + objectMap["sourceRetryCount"] = scfcs.SourceRetryCount + objectMap["sourceRetryWait"] = scfcs.SourceRetryWait + objectMap["type"] = scfcs.Type + for k, v := range scfcs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsHiveLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsXeroSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return &shls, true -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSQLSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return &scfcs, true } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. -func (shls SapHanaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &shls, true -} - -// UnmarshalJSON is the custom unmarshaler for SapHanaLinkedService struct. -func (shls *SapHanaLinkedService) UnmarshalJSON(body []byte) error { - 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 sapHanaLinkedServiceProperties SapHanaLinkedServiceProperties - err = json.Unmarshal(*v, &sapHanaLinkedServiceProperties) - if err != nil { - return err - } - shls.SapHanaLinkedServiceProperties = &sapHanaLinkedServiceProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if shls.AdditionalProperties == nil { - shls.AdditionalProperties = make(map[string]interface{}) - } - shls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err - } - shls.ConnectVia = &connectVia - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - shls.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - shls.Type = typeVar - } - } - } - - return nil +// AsAzureTableSource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false } -// SapHanaLinkedServiceProperties properties specific to this linked service type. -type SapHanaLinkedServiceProperties struct { - // Server - Host name of the SAP HANA server. Type: string (or Expression with resultType string). - Server interface{} `json:"server,omitempty"` - // AuthenticationType - The authentication type to be used to connect to the SAP HANA server. Possible values include: 'SapHanaAuthenticationTypeBasic', 'SapHanaAuthenticationTypeWindows' - AuthenticationType SapHanaAuthenticationType `json:"authenticationType,omitempty"` - // UserName - Username to access the SAP HANA server. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - Password to access the SAP HANA 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"` +// AsCopySource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SapHanaLinkedServiceProperties struct. -func (shlsp *SapHanaLinkedServiceProperties) UnmarshalJSON(body []byte) error { - 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 - } - shlsp.Server = server - } - case "authenticationType": - if v != nil { - var authenticationType SapHanaAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - shlsp.AuthenticationType = authenticationType - } - case "userName": - if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) - if err != nil { - return err - } - shlsp.UserName = userName - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - shlsp.Password = password - } - case "encryptedCredential": - if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) - if err != nil { - return err - } - shlsp.EncryptedCredential = encryptedCredential - } - } - } - - return nil +// AsBasicCopySource is the BasicCopySource implementation for SapCloudForCustomerSource. +func (scfcs SapCloudForCustomerSource) AsBasicCopySource() (BasicCopySource, bool) { + return &scfcs, true } -// ScheduleTrigger trigger that creates pipeline runs periodically, on schedule. -type ScheduleTrigger struct { - // ScheduleTriggerTypeProperties - Schedule Trigger properties. - *ScheduleTriggerTypeProperties `json:"typeProperties,omitempty"` - // Pipelines - Pipelines that need to be started. - Pipelines *[]TriggerPipelineReference `json:"pipelines,omitempty"` +// SapEccLinkedService linked service for SAP ERP Central Component(SAP ECC). +type SapEccLinkedService struct { + // SapEccLinkedServiceTypeProperties - SAP ECC linked service properties. + *SapEccLinkedServiceTypeProperties `json:"typeProperties,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. + // ConnectVia - The integration runtime reference. + ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` + // Description - Linked service description. Description *string `json:"description,omitempty"` - // RuntimeState - 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"` - // Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ScheduleTrigger. -func (st ScheduleTrigger) MarshalJSON() ([]byte, error) { - st.Type = TypeScheduleTrigger +// MarshalJSON is the custom marshaler for SapEccLinkedService. +func (sels SapEccLinkedService) MarshalJSON() ([]byte, error) { + sels.Type = TypeSapEcc objectMap := make(map[string]interface{}) - if st.ScheduleTriggerTypeProperties != nil { - objectMap["typeProperties"] = st.ScheduleTriggerTypeProperties + if sels.SapEccLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sels.SapEccLinkedServiceTypeProperties } - if st.Pipelines != nil { - objectMap["pipelines"] = st.Pipelines + if sels.ConnectVia != nil { + objectMap["connectVia"] = sels.ConnectVia } - if st.Description != nil { - objectMap["description"] = st.Description + if sels.Description != nil { + objectMap["description"] = sels.Description } - objectMap["runtimeState"] = st.RuntimeState - objectMap["type"] = st.Type - for k, v := range st.AdditionalProperties { + if sels.Parameters != nil { + objectMap["parameters"] = sels.Parameters + } + if sels.Annotations != nil { + objectMap["annotations"] = sels.Annotations + } + objectMap["type"] = sels.Type + for k, v := range sels.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsTumblingWindowTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { - return &st, true +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { - return &st, true +// AsVerticaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false } -// AsTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsTrigger() (*Trigger, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for ScheduleTrigger. -func (st ScheduleTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &st, true +// AsXeroLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ScheduleTrigger struct. -func (st *ScheduleTrigger) UnmarshalJSON(body []byte) error { - 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 scheduleTriggerTypeProperties ScheduleTriggerTypeProperties - err = json.Unmarshal(*v, &scheduleTriggerTypeProperties) - if err != nil { - return err - } - st.ScheduleTriggerTypeProperties = &scheduleTriggerTypeProperties - } - case "pipelines": - if v != nil { - var pipelines []TriggerPipelineReference - err = json.Unmarshal(*v, &pipelines) - if err != nil { - return err - } - st.Pipelines = &pipelines - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if st.AdditionalProperties == nil { - st.AdditionalProperties = make(map[string]interface{}) - } - st.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - st.Description = &description - } - case "runtimeState": - if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) - if err != nil { - return err - } - st.RuntimeState = runtimeState - } - case "type": - if v != nil { - var typeVar TypeBasicTrigger - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - st.Type = typeVar - } - } - } +// AsSquareLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} - return nil +// AsSparkLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false } -// ScheduleTriggerRecurrence the workflow trigger recurrence. -type ScheduleTriggerRecurrence struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Frequency - The frequency. Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' - Frequency RecurrenceFrequency `json:"frequency,omitempty"` - // Interval - The interval. - Interval *int32 `json:"interval,omitempty"` - // StartTime - The start time. - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - The end time. - EndTime *date.Time `json:"endTime,omitempty"` - // TimeZone - The time zone. - TimeZone *string `json:"timeZone,omitempty"` - // Schedule - The recurrence schedule. - Schedule *RecurrenceSchedule `json:"schedule,omitempty"` +// AsShopifyLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for ScheduleTriggerRecurrence. -func (str ScheduleTriggerRecurrence) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - objectMap["frequency"] = str.Frequency - if str.Interval != nil { - objectMap["interval"] = str.Interval - } - if str.StartTime != nil { - objectMap["startTime"] = str.StartTime - } - if str.EndTime != nil { - objectMap["endTime"] = str.EndTime - } - if str.TimeZone != nil { - objectMap["timeZone"] = str.TimeZone - } - if str.Schedule != nil { - objectMap["schedule"] = str.Schedule - } - for k, v := range str.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsServiceNowLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false } -// ScheduleTriggerTypeProperties schedule Trigger properties. -type ScheduleTriggerTypeProperties struct { - // Recurrence - Recurrence schedule configuration. - Recurrence *ScheduleTriggerRecurrence `json:"recurrence,omitempty"` +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false } -// BasicSecretBase the base definition of a secret type. -type BasicSecretBase interface { - AsSecureString() (*SecureString, bool) - AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) - AsSecretBase() (*SecretBase, bool) +// AsPrestoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false } -// SecretBase the base definition of a secret type. -type SecretBase struct { - // Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret' - Type Type `json:"type,omitempty"` +// AsPhoenixLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -func unmarshalBasicSecretBase(body []byte) (BasicSecretBase, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsPaypalLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} - switch m["type"] { - case string(TypeSecureString): - var ss SecureString - err := json.Unmarshal(body, &ss) - return ss, err - case string(TypeAzureKeyVaultSecret): - var akvsr AzureKeyVaultSecretReference - err := json.Unmarshal(body, &akvsr) - return akvsr, err - default: - var sb SecretBase - err := json.Unmarshal(body, &sb) - return sb, err - } +// AsMarketoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false } -func unmarshalBasicSecretBaseArray(body []byte) ([]BasicSecretBase, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - sbArray := make([]BasicSecretBase, len(rawMessages)) +// AsMariaDBLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - sb, err := unmarshalBasicSecretBase(*rawMessage) - if err != nil { - return nil, err - } - sbArray[index] = sb - } - return sbArray, nil +// AsMagentoLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SecretBase. -func (sb SecretBase) MarshalJSON() ([]byte, error) { - sb.Type = TypeSecretBase - objectMap := make(map[string]interface{}) - objectMap["type"] = sb.Type - return json.Marshal(objectMap) +// AsJiraLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false } -// AsSecureString is the BasicSecretBase implementation for SecretBase. -func (sb SecretBase) AsSecureString() (*SecureString, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for SecretBase. -func (sb SecretBase) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsSecretBase is the BasicSecretBase implementation for SecretBase. -func (sb SecretBase) AsSecretBase() (*SecretBase, bool) { - return &sb, true +// AsHiveLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false } -// AsBasicSecretBase is the BasicSecretBase implementation for SecretBase. -func (sb SecretBase) AsBasicSecretBase() (BasicSecretBase, bool) { - return &sb, true +// AsHBaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false } -// SecureString azure Data Factory secure string definition. The string value will be masked with asterisks '*' -// during Get or List API calls. -type SecureString struct { - // Value - Value of secure string. - Value *string `json:"value,omitempty"` - // Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret' - Type Type `json:"type,omitempty"` +// AsGreenplumLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SecureString. -func (ss SecureString) MarshalJSON() ([]byte, error) { - ss.Type = TypeSecureString - objectMap := make(map[string]interface{}) - if ss.Value != nil { - objectMap["value"] = ss.Value - } - objectMap["type"] = ss.Type - return json.Marshal(objectMap) +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false } -// AsSecureString is the BasicSecretBase implementation for SecureString. -func (ss SecureString) AsSecureString() (*SecureString, bool) { - return &ss, true +// AsEloquaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false } -// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for SecureString. -func (ss SecureString) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsSecretBase is the BasicSecretBase implementation for SecureString. -func (ss SecureString) AsSecretBase() (*SecretBase, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsBasicSecretBase is the BasicSecretBase implementation for SecureString. -func (ss SecureString) AsBasicSecretBase() (BasicSecretBase, bool) { - return &ss, true +// AsConcurLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false } -// SelfHostedIntegrationRuntime self-hosted integration runtime. -type SelfHostedIntegrationRuntime struct { - // LinkedIntegrationRuntimeTypeProperties - When this property is not null, means this is a linked integration runtime. The property is used to access original integration runtime. - *LinkedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Integration runtime description. - Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' - Type TypeBasicIntegrationRuntime `json:"type,omitempty"` +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntime. -func (shir SelfHostedIntegrationRuntime) MarshalJSON() ([]byte, error) { - shir.Type = TypeSelfHosted - objectMap := make(map[string]interface{}) - if shir.LinkedIntegrationRuntimeTypeProperties != nil { - objectMap["typeProperties"] = shir.LinkedIntegrationRuntimeTypeProperties - } - if shir.Description != nil { - objectMap["description"] = shir.Description - } - objectMap["type"] = shir.Type - for k, v := range shir.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false } -// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. -func (shir SelfHostedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { - return &shir, true +// AsSapHanaLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false } -// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. -func (shir SelfHostedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. -func (shir SelfHostedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. -func (shir SelfHostedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { - return &shir, true +// AsFtpServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SelfHostedIntegrationRuntime struct. -func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error { +// AsHTTPLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return &sels, true +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SapEccLinkedService. +func (sels SapEccLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sels, true +} + +// UnmarshalJSON is the custom unmarshaler for SapEccLinkedService struct. +func (sels *SapEccLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -67003,12 +71399,12 @@ func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var linkedIntegrationRuntimeTypeProperties LinkedIntegrationRuntimeTypeProperties - err = json.Unmarshal(*v, &linkedIntegrationRuntimeTypeProperties) + var sapEccLinkedServiceTypeProperties SapEccLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sapEccLinkedServiceTypeProperties) if err != nil { return err } - shir.LinkedIntegrationRuntimeTypeProperties = &linkedIntegrationRuntimeTypeProperties + sels.SapEccLinkedServiceTypeProperties = &sapEccLinkedServiceTypeProperties } default: if v != nil { @@ -67017,10 +71413,19 @@ func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error { if err != nil { return err } - if shir.AdditionalProperties == nil { - shir.AdditionalProperties = make(map[string]interface{}) + if sels.AdditionalProperties == nil { + sels.AdditionalProperties = make(map[string]interface{}) } - shir.AdditionalProperties[k] = additionalProperties + sels.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + sels.ConnectVia = &connectVia } case "description": if v != nil { @@ -67029,16 +71434,34 @@ func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error { if err != nil { return err } - shir.Description = &description + sels.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + sels.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + sels.Annotations = &annotations } case "type": if v != nil { - var typeVar TypeBasicIntegrationRuntime + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - shir.Type = typeVar + sels.Type = typeVar } } } @@ -67046,660 +71469,382 @@ func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error { return nil } -// SelfHostedIntegrationRuntimeNode properties of Self-hosted integration runtime node. -type SelfHostedIntegrationRuntimeNode struct { - autorest.Response `json:"-"` - // NodeName - Name of the integration runtime node. - NodeName *string `json:"nodeName,omitempty"` - // MachineName - Machine name of the integration runtime node. - MachineName *string `json:"machineName,omitempty"` - // HostServiceURI - URI for the host machine of the integration runtime. - HostServiceURI *string `json:"hostServiceUri,omitempty"` - // Status - Status of the integration runtime node. Possible values include: 'SelfHostedIntegrationRuntimeNodeStatusNeedRegistration', 'SelfHostedIntegrationRuntimeNodeStatusOnline', 'SelfHostedIntegrationRuntimeNodeStatusLimited', 'SelfHostedIntegrationRuntimeNodeStatusOffline', 'SelfHostedIntegrationRuntimeNodeStatusUpgrading', 'SelfHostedIntegrationRuntimeNodeStatusInitializing', 'SelfHostedIntegrationRuntimeNodeStatusInitializeFailed' - Status SelfHostedIntegrationRuntimeNodeStatus `json:"status,omitempty"` - // Capabilities - The integration runtime capabilities dictionary - Capabilities map[string]*string `json:"capabilities"` - // VersionStatus - Status of the integration runtime node version. - VersionStatus *string `json:"versionStatus,omitempty"` - // Version - Version of the integration runtime node. - Version *string `json:"version,omitempty"` - // RegisterTime - The time at which the integration runtime node was registered in ISO8601 format. - RegisterTime *date.Time `json:"registerTime,omitempty"` - // LastConnectTime - The most recent time at which the integration runtime was connected in ISO8601 format. - LastConnectTime *date.Time `json:"lastConnectTime,omitempty"` - // ExpiryTime - The time at which the integration runtime will expire in ISO8601 format. - ExpiryTime *date.Time `json:"expiryTime,omitempty"` - // LastStartTime - The time the node last started up. - LastStartTime *date.Time `json:"lastStartTime,omitempty"` - // LastStopTime - The integration runtime node last stop time. - LastStopTime *date.Time `json:"lastStopTime,omitempty"` - // LastUpdateResult - The result of the last integration runtime node update. Possible values include: 'Succeed', 'Fail' - LastUpdateResult IntegrationRuntimeUpdateResult `json:"lastUpdateResult,omitempty"` - // LastStartUpdateTime - The last time for the integration runtime node update start. - LastStartUpdateTime *date.Time `json:"lastStartUpdateTime,omitempty"` - // LastEndUpdateTime - The last time for the integration runtime node update end. - LastEndUpdateTime *date.Time `json:"lastEndUpdateTime,omitempty"` - // IsActiveDispatcher - Indicates whether this node is the active dispatcher for integration runtime requests. - IsActiveDispatcher *bool `json:"isActiveDispatcher,omitempty"` - // ConcurrentJobsLimit - Maximum concurrent jobs on the integration runtime node. - ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"` - // MaxConcurrentJobs - The maximum concurrent jobs in this integration runtime. - MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"` +// SapEccLinkedServiceTypeProperties SAP ECC linked service properties. +type SapEccLinkedServiceTypeProperties struct { + // URL - The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). + URL *string `json:"url,omitempty"` + // Username - The username for Basic authentication. Type: string (or Expression with resultType string). + Username *string `json:"username,omitempty"` + // Password - The 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. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). + EncryptedCredential *string `json:"encryptedCredential,omitempty"` } -// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeNode. -func (shirn SelfHostedIntegrationRuntimeNode) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if shirn.NodeName != nil { - objectMap["nodeName"] = shirn.NodeName - } - if shirn.MachineName != nil { - objectMap["machineName"] = shirn.MachineName - } - if shirn.HostServiceURI != nil { - objectMap["hostServiceUri"] = shirn.HostServiceURI - } - objectMap["status"] = shirn.Status - if shirn.Capabilities != nil { - objectMap["capabilities"] = shirn.Capabilities - } - if shirn.VersionStatus != nil { - objectMap["versionStatus"] = shirn.VersionStatus - } - if shirn.Version != nil { - objectMap["version"] = shirn.Version - } - if shirn.RegisterTime != nil { - objectMap["registerTime"] = shirn.RegisterTime - } - if shirn.LastConnectTime != nil { - objectMap["lastConnectTime"] = shirn.LastConnectTime - } - if shirn.ExpiryTime != nil { - objectMap["expiryTime"] = shirn.ExpiryTime - } - if shirn.LastStartTime != nil { - objectMap["lastStartTime"] = shirn.LastStartTime +// UnmarshalJSON is the custom unmarshaler for SapEccLinkedServiceTypeProperties struct. +func (selstp *SapEccLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err } - if shirn.LastStopTime != nil { - objectMap["lastStopTime"] = shirn.LastStopTime - } - objectMap["lastUpdateResult"] = shirn.LastUpdateResult - if shirn.LastStartUpdateTime != nil { - objectMap["lastStartUpdateTime"] = shirn.LastStartUpdateTime - } - if shirn.LastEndUpdateTime != nil { - objectMap["lastEndUpdateTime"] = shirn.LastEndUpdateTime - } - if shirn.IsActiveDispatcher != nil { - objectMap["isActiveDispatcher"] = shirn.IsActiveDispatcher - } - if shirn.ConcurrentJobsLimit != nil { - objectMap["concurrentJobsLimit"] = shirn.ConcurrentJobsLimit - } - if shirn.MaxConcurrentJobs != nil { - objectMap["maxConcurrentJobs"] = shirn.MaxConcurrentJobs - } - return json.Marshal(objectMap) -} - -// SelfHostedIntegrationRuntimeStatus self-hosted integration runtime status. -type SelfHostedIntegrationRuntimeStatus struct { - // SelfHostedIntegrationRuntimeStatusTypeProperties - Self-hosted integration runtime status type properties. - *SelfHostedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // DataFactoryName - The data factory name which the integration runtime belong to. - DataFactoryName *string `json:"dataFactoryName,omitempty"` - // State - The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline' - State IntegrationRuntimeState `json:"state,omitempty"` - // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' - Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeStatus. -func (shirs SelfHostedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) { - shirs.Type = TypeBasicIntegrationRuntimeStatusTypeSelfHosted - objectMap := make(map[string]interface{}) - if shirs.SelfHostedIntegrationRuntimeStatusTypeProperties != nil { - objectMap["typeProperties"] = shirs.SelfHostedIntegrationRuntimeStatusTypeProperties - } - if shirs.DataFactoryName != nil { - objectMap["dataFactoryName"] = shirs.DataFactoryName - } - objectMap["state"] = shirs.State - objectMap["type"] = shirs.Type - for k, v := range shirs.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. -func (shirs SelfHostedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { - return &shirs, true -} - -// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. -func (shirs SelfHostedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { - return nil, false -} - -// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. -func (shirs SelfHostedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { - return nil, false -} - -// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. -func (shirs SelfHostedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { - return &shirs, true -} - -// UnmarshalJSON is the custom unmarshaler for SelfHostedIntegrationRuntimeStatus struct. -func (shirs *SelfHostedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { - 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 selfHostedIntegrationRuntimeStatusTypeProperties SelfHostedIntegrationRuntimeStatusTypeProperties - err = json.Unmarshal(*v, &selfHostedIntegrationRuntimeStatusTypeProperties) - if err != nil { - return err - } - shirs.SelfHostedIntegrationRuntimeStatusTypeProperties = &selfHostedIntegrationRuntimeStatusTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if shirs.AdditionalProperties == nil { - shirs.AdditionalProperties = make(map[string]interface{}) - } - shirs.AdditionalProperties[k] = additionalProperties - } - case "dataFactoryName": - if v != nil { - var dataFactoryName string - err = json.Unmarshal(*v, &dataFactoryName) - if err != nil { - return err - } - shirs.DataFactoryName = &dataFactoryName - } - case "state": - if v != nil { - var state IntegrationRuntimeState - err = json.Unmarshal(*v, &state) - if err != nil { - return err - } - shirs.State = state - } - case "type": - if v != nil { - var typeVar TypeBasicIntegrationRuntimeStatus - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - shirs.Type = typeVar - } - } + for k, v := range m { + switch k { + case "url": + if v != nil { + var URL string + err = json.Unmarshal(*v, &URL) + if err != nil { + return err + } + selstp.URL = &URL + } + case "username": + if v != nil { + var username string + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + selstp.Username = &username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + selstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential string + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + selstp.EncryptedCredential = &encryptedCredential + } + } } return nil } -// SelfHostedIntegrationRuntimeStatusTypeProperties self-hosted integration runtime status type properties. -type SelfHostedIntegrationRuntimeStatusTypeProperties struct { - // CreateTime - The time at which the integration runtime was created, in ISO8601 format. - CreateTime *date.Time `json:"createTime,omitempty"` - // TaskQueueID - The task queue id of the integration runtime. - TaskQueueID *string `json:"taskQueueId,omitempty"` - // InternalChannelEncryption - It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist). Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' - InternalChannelEncryption IntegrationRuntimeInternalChannelEncryptionMode `json:"internalChannelEncryption,omitempty"` - // Version - Version of the integration runtime. - Version *string `json:"version,omitempty"` - // Nodes - The list of nodes for this integration runtime. - Nodes *[]SelfHostedIntegrationRuntimeNode `json:"nodes,omitempty"` - // ScheduledUpdateDate - The date at which the integration runtime will be scheduled to update, in ISO8601 format. - ScheduledUpdateDate *date.Time `json:"scheduledUpdateDate,omitempty"` - // UpdateDelayOffset - The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours - UpdateDelayOffset *string `json:"updateDelayOffset,omitempty"` - // LocalTimeZoneOffset - The local time zone offset in hours. - LocalTimeZoneOffset *string `json:"localTimeZoneOffset,omitempty"` - // Capabilities - Object with additional information about integration runtime capabilities. - Capabilities map[string]*string `json:"capabilities"` - // ServiceUrls - The URLs for the services used in integration runtime backend service. - ServiceUrls *[]string `json:"serviceUrls,omitempty"` - // AutoUpdate - Whether Self-hosted integration runtime auto update has been turned on. Possible values include: 'On', 'Off' - AutoUpdate IntegrationRuntimeAutoUpdate `json:"autoUpdate,omitempty"` - // VersionStatus - Status of the integration runtime version. - VersionStatus *string `json:"versionStatus,omitempty"` - // Links - The list of linked integration runtimes that are created to share with this integration runtime. - Links *[]LinkedIntegrationRuntime `json:"links,omitempty"` -} - -// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeStatusTypeProperties. -func (shirstp SelfHostedIntegrationRuntimeStatusTypeProperties) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if shirstp.CreateTime != nil { - objectMap["createTime"] = shirstp.CreateTime - } - if shirstp.TaskQueueID != nil { - objectMap["taskQueueId"] = shirstp.TaskQueueID - } - objectMap["internalChannelEncryption"] = shirstp.InternalChannelEncryption - if shirstp.Version != nil { - objectMap["version"] = shirstp.Version - } - if shirstp.Nodes != nil { - objectMap["nodes"] = shirstp.Nodes - } - if shirstp.ScheduledUpdateDate != nil { - objectMap["scheduledUpdateDate"] = shirstp.ScheduledUpdateDate - } - if shirstp.UpdateDelayOffset != nil { - objectMap["updateDelayOffset"] = shirstp.UpdateDelayOffset - } - if shirstp.LocalTimeZoneOffset != nil { - objectMap["localTimeZoneOffset"] = shirstp.LocalTimeZoneOffset - } - if shirstp.Capabilities != nil { - objectMap["capabilities"] = shirstp.Capabilities - } - if shirstp.ServiceUrls != nil { - objectMap["serviceUrls"] = shirstp.ServiceUrls - } - objectMap["autoUpdate"] = shirstp.AutoUpdate - if shirstp.VersionStatus != nil { - objectMap["versionStatus"] = shirstp.VersionStatus - } - if shirstp.Links != nil { - objectMap["links"] = shirstp.Links - } - return json.Marshal(objectMap) -} - -// ServiceNowLinkedService serviceNow server linked service. -type ServiceNowLinkedService struct { - // ServiceNowLinkedServiceTypeProperties - ServiceNow server linked service properties. - *ServiceNowLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SapEccResourceDataset the path of the SAP ECC OData entity. +type SapEccResourceDataset struct { + // SapEccResourceDatasetTypeProperties - SAP ECC OData resource dataset properties. + *SapEccResourceDatasetTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) MarshalJSON() ([]byte, error) { - snls.Type = TypeServiceNow +// MarshalJSON is the custom marshaler for SapEccResourceDataset. +func (serd SapEccResourceDataset) MarshalJSON() ([]byte, error) { + serd.Type = TypeSapEccResource objectMap := make(map[string]interface{}) - if snls.ServiceNowLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = snls.ServiceNowLinkedServiceTypeProperties + if serd.SapEccResourceDatasetTypeProperties != nil { + objectMap["typeProperties"] = serd.SapEccResourceDatasetTypeProperties } - if snls.ConnectVia != nil { - objectMap["connectVia"] = snls.ConnectVia + if serd.Description != nil { + objectMap["description"] = serd.Description } - if snls.Description != nil { - objectMap["description"] = snls.Description + objectMap["structure"] = serd.Structure + if serd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = serd.LinkedServiceName } - objectMap["type"] = snls.Type - for k, v := range snls.AdditionalProperties { + if serd.Parameters != nil { + objectMap["parameters"] = serd.Parameters + } + if serd.Annotations != nil { + objectMap["annotations"] = serd.Annotations + } + objectMap["type"] = serd.Type + for k, v := range serd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} - -// AsSparkLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return &snls, true -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsHTTPDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsWebTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { - return nil, false +// AsSapEccResourceDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return &serd, true } -// AsWebLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsDataset() (*Dataset, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return nil, false +// AsBasicDataset is the BasicDataset implementation for SapEccResourceDataset. +func (serd SapEccResourceDataset) AsBasicDataset() (BasicDataset, bool) { + return &serd, true } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { - return nil, false -} - -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false -} - -// AsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsLinkedService() (*LinkedService, bool) { - return nil, false -} - -// AsBasicLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. -func (snls ServiceNowLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &snls, true -} - -// UnmarshalJSON is the custom unmarshaler for ServiceNowLinkedService struct. -func (snls *ServiceNowLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SapEccResourceDataset struct. +func (serd *SapEccResourceDataset) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -67709,12 +71854,12 @@ func (snls *ServiceNowLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var serviceNowLinkedServiceTypeProperties ServiceNowLinkedServiceTypeProperties - err = json.Unmarshal(*v, &serviceNowLinkedServiceTypeProperties) + var sapEccResourceDatasetTypeProperties SapEccResourceDatasetTypeProperties + err = json.Unmarshal(*v, &sapEccResourceDatasetTypeProperties) if err != nil { return err } - snls.ServiceNowLinkedServiceTypeProperties = &serviceNowLinkedServiceTypeProperties + serd.SapEccResourceDatasetTypeProperties = &sapEccResourceDatasetTypeProperties } default: if v != nil { @@ -67723,19 +71868,10 @@ func (snls *ServiceNowLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if snls.AdditionalProperties == nil { - snls.AdditionalProperties = make(map[string]interface{}) - } - snls.AdditionalProperties[k] = additionalProperties - } - case "connectVia": - if v != nil { - var connectVia IntegrationRuntimeReference - err = json.Unmarshal(*v, &connectVia) - if err != nil { - return err + if serd.AdditionalProperties == nil { + serd.AdditionalProperties = make(map[string]interface{}) } - snls.ConnectVia = &connectVia + serd.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -67744,143 +71880,52 @@ func (snls *ServiceNowLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - snls.Description = &description - } - case "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - snls.Type = typeVar - } - } - } - - return nil -} - -// ServiceNowLinkedServiceTypeProperties serviceNow server linked service properties. -type ServiceNowLinkedServiceTypeProperties struct { - // Endpoint - The endpoint of the ServiceNow server. (i.e. ServiceNowData.com) - Endpoint interface{} `json:"endpoint,omitempty"` - // AuthenticationType - The authentication type to use. Possible values include: 'ServiceNowAuthenticationTypeBasic', 'ServiceNowAuthenticationTypeOAuth2' - AuthenticationType ServiceNowAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name for Basic and OAuth2 authentication. - Password BasicSecretBase `json:"password,omitempty"` - // ClientID - The client id for OAuth2 authentication. - ClientID interface{} `json:"clientId,omitempty"` - // ClientSecret - The client secret for OAuth2 authentication. - ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` - // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. - UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` - // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. - UseHostVerification interface{} `json:"useHostVerification,omitempty"` - // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. - UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). - EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` -} - -// UnmarshalJSON is the custom unmarshaler for ServiceNowLinkedServiceTypeProperties struct. -func (snlstp *ServiceNowLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "endpoint": - if v != nil { - var endpoint interface{} - err = json.Unmarshal(*v, &endpoint) - if err != nil { - return err - } - snlstp.Endpoint = endpoint - } - case "authenticationType": - if v != nil { - var authenticationType ServiceNowAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - snlstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - snlstp.Username = username - } - case "password": - if v != nil { - password, err := unmarshalBasicSecretBase(*v) - if err != nil { - return err - } - snlstp.Password = password - } - case "clientId": - if v != nil { - var clientID interface{} - err = json.Unmarshal(*v, &clientID) - if err != nil { - return err - } - snlstp.ClientID = clientID + serd.Description = &description } - case "clientSecret": + case "structure": if v != nil { - clientSecret, err := unmarshalBasicSecretBase(*v) + var structure interface{} + err = json.Unmarshal(*v, &structure) if err != nil { return err } - snlstp.ClientSecret = clientSecret + serd.Structure = structure } - case "useEncryptedEndpoints": + case "linkedServiceName": if v != nil { - var useEncryptedEndpoints interface{} - err = json.Unmarshal(*v, &useEncryptedEndpoints) + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) if err != nil { return err } - snlstp.UseEncryptedEndpoints = useEncryptedEndpoints + serd.LinkedServiceName = &linkedServiceName } - case "useHostVerification": + case "parameters": if v != nil { - var useHostVerification interface{} - err = json.Unmarshal(*v, &useHostVerification) + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) if err != nil { return err } - snlstp.UseHostVerification = useHostVerification + serd.Parameters = parameters } - case "usePeerVerification": + case "annotations": if v != nil { - var usePeerVerification interface{} - err = json.Unmarshal(*v, &usePeerVerification) + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) if err != nil { return err } - snlstp.UsePeerVerification = usePeerVerification + serd.Annotations = &annotations } - 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 } - snlstp.EncryptedCredential = encryptedCredential + serd.Type = typeVar } } } @@ -67888,937 +71933,688 @@ func (snlstp *ServiceNowLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// ServiceNowObjectDataset serviceNow server dataset. -type ServiceNowObjectDataset struct { +// SapEccResourceDatasetTypeProperties sap ECC OData resource dataset properties. +type SapEccResourceDatasetTypeProperties struct { + // Path - The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). + Path *string `json:"path,omitempty"` +} + +// SapEccSource a copy activity source for SAP ECC source. +type SapEccSource struct { + // Query - SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). + Query *string `json:"query,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Dataset description. - Description *string `json:"description,omitempty"` - // Structure - Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. - Structure interface{} `json:"structure,omitempty"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', '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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) MarshalJSON() ([]byte, error) { - snod.Type = TypeServiceNowObject +// MarshalJSON is the custom marshaler for SapEccSource. +func (ses SapEccSource) MarshalJSON() ([]byte, error) { + ses.Type = TypeSapEccSource objectMap := make(map[string]interface{}) - if snod.Description != nil { - objectMap["description"] = snod.Description - } - objectMap["structure"] = snod.Structure - if snod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = snod.LinkedServiceName - } - if snod.Parameters != nil { - objectMap["parameters"] = snod.Parameters + if ses.Query != nil { + objectMap["query"] = ses.Query } - objectMap["type"] = snod.Type - for k, v := range snod.AdditionalProperties { + objectMap["sourceRetryCount"] = ses.SourceRetryCount + objectMap["sourceRetryWait"] = ses.SourceRetryWait + objectMap["type"] = ses.Type + for k, v := range ses.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsVerticaSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsZohoSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsXeroSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return &snod, true -} - -// AsQuickBooksObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsSquareSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSparkSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsShopifySource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPrestoSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPaypalSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMarketoSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMagentoSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsJiraSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsImpalaSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHubspotSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHiveSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHBaseSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsEloquaSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsDrillSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsConcurSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsHTTPSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsCassandraSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsWebSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsOracleSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsHdfsSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSQLSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { - return nil, false +// AsSapEccSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSapEccSource() (*SapEccSource, bool) { + return &ses, true } -// AsCustomDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsRelationalSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsBlobSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsDataset() (*Dataset, bool) { +// AsCopySource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ServiceNowObjectDataset. -func (snod ServiceNowObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &snod, true +// AsBasicCopySource is the BasicCopySource implementation for SapEccSource. +func (ses SapEccSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ses, true } -// ServiceNowSource a copy activity ServiceNow server source. -type ServiceNowSource struct { - // Query - A query to retrieve data from source. Type: string (or Expression with resultType string). - Query interface{} `json:"query,omitempty"` +// SapHanaLinkedService SAP HANA Linked Service. +type SapHanaLinkedService struct { + // SapHanaLinkedServiceProperties - Properties specific to this linked service type. + *SapHanaLinkedServiceProperties `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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - 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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ServiceNowSource. -func (sns ServiceNowSource) MarshalJSON() ([]byte, error) { - sns.Type = TypeServiceNowSource +// MarshalJSON is the custom marshaler for SapHanaLinkedService. +func (shls SapHanaLinkedService) MarshalJSON() ([]byte, error) { + shls.Type = TypeSapHana objectMap := make(map[string]interface{}) - objectMap["query"] = sns.Query - objectMap["sourceRetryCount"] = sns.SourceRetryCount - objectMap["sourceRetryWait"] = sns.SourceRetryWait - objectMap["type"] = sns.Type - for k, v := range sns.AdditionalProperties { + if shls.SapHanaLinkedServiceProperties != nil { + objectMap["typeProperties"] = shls.SapHanaLinkedServiceProperties + } + if shls.ConnectVia != nil { + objectMap["connectVia"] = shls.ConnectVia + } + if shls.Description != nil { + objectMap["description"] = shls.Description + } + if shls.Parameters != nil { + objectMap["parameters"] = shls.Parameters + } + if shls.Annotations != nil { + objectMap["annotations"] = shls.Annotations + } + objectMap["type"] = shls.Type + for k, v := range shls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsZohoSource() (*ZohoSource, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsXeroSource() (*XeroSource, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsSquareSource() (*SquareSource, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsSparkSource() (*SparkSource, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsShopifySource() (*ShopifySource, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return &sns, true -} - -// AsQuickBooksSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsPrestoSource() (*PrestoSource, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsPaypalSource() (*PaypalSource, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsMarketoSource() (*MarketoSource, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} - -// AsHubspotSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false -} - -// AsHiveSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsHiveSource() (*HiveSource, bool) { - return nil, false -} - -// AsHBaseSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false -} - -// AsGreenplumSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsGreenplumSource() (*GreenplumSource, bool) { - return nil, false -} - -// AsGoogleBigQuerySource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { - return nil, false -} - -// AsEloquaSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsEloquaSource() (*EloquaSource, bool) { - return nil, false -} - -// AsDrillSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsDrillSource() (*DrillSource, bool) { - return nil, false -} - -// AsCouchbaseSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsCouchbaseSource() (*CouchbaseSource, bool) { - return nil, false -} - -// AsConcurSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsConcurSource() (*ConcurSource, bool) { - return nil, false -} - -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { - return nil, false -} - -// AsAmazonMWSSource is the BasicCopySource implementation for ServiceNowSource. -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 -} - -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, 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 -} - -// AsOracleSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsOracleSource() (*OracleSource, 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 -} - -// AsSQLSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsSQLSource() (*SQLSource, bool) { - return nil, false -} - -// AsSapEccSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsSapEccSource() (*SapEccSource, bool) { - return nil, false -} - -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { - return nil, false -} - -// AsSalesforceSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsSalesforceSource() (*SalesforceSource, bool) { - return nil, false -} - -// AsRelationalSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsRelationalSource() (*RelationalSource, 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 -} - -// AsAzureTableSource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) { - return nil, false -} - -// AsCopySource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsCopySource() (*CopySource, bool) { - return nil, false -} - -// AsBasicCopySource is the BasicCopySource implementation for ServiceNowSource. -func (sns ServiceNowSource) AsBasicCopySource() (BasicCopySource, bool) { - return &sns, true -} - -// SftpServerLinkedService a linked service for an SSH File Transfer Protocol (SFTP) server. -type SftpServerLinkedService struct { - // SftpServerLinkedServiceTypeProperties - Properties specific to this linked service type. - *SftpServerLinkedServiceTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SftpServerLinkedService. -func (ssls SftpServerLinkedService) MarshalJSON() ([]byte, error) { - ssls.Type = TypeSftp - objectMap := make(map[string]interface{}) - if ssls.SftpServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ssls.SftpServerLinkedServiceTypeProperties - } - if ssls.ConnectVia != nil { - objectMap["connectVia"] = ssls.ConnectVia - } - if ssls.Description != nil { - objectMap["description"] = ssls.Description - } - objectMap["type"] = ssls.Type - for k, v := range ssls.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} - -// AsSparkLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false +// AsSapHanaLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return &shls, true } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return &ssls, true -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. -func (ssls SftpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ssls, true +// AsBasicLinkedService is the BasicLinkedService implementation for SapHanaLinkedService. +func (shls SapHanaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &shls, true } -// UnmarshalJSON is the custom unmarshaler for SftpServerLinkedService struct. -func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SapHanaLinkedService struct. +func (shls *SapHanaLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -68828,12 +72624,12 @@ func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sftpServerLinkedServiceTypeProperties SftpServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sftpServerLinkedServiceTypeProperties) + var sapHanaLinkedServiceProperties SapHanaLinkedServiceProperties + err = json.Unmarshal(*v, &sapHanaLinkedServiceProperties) if err != nil { return err } - ssls.SftpServerLinkedServiceTypeProperties = &sftpServerLinkedServiceTypeProperties + shls.SapHanaLinkedServiceProperties = &sapHanaLinkedServiceProperties } default: if v != nil { @@ -68842,10 +72638,10 @@ func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ssls.AdditionalProperties == nil { - ssls.AdditionalProperties = make(map[string]interface{}) + if shls.AdditionalProperties == nil { + shls.AdditionalProperties = make(map[string]interface{}) } - ssls.AdditionalProperties[k] = additionalProperties + shls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -68854,7 +72650,7 @@ func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.ConnectVia = &connectVia + shls.ConnectVia = &connectVia } case "description": if v != nil { @@ -68863,7 +72659,25 @@ func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Description = &description + shls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + shls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + shls.Annotations = &annotations } case "type": if v != nil { @@ -68872,7 +72686,7 @@ func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Type = typeVar + shls.Type = typeVar } } } @@ -68880,34 +72694,22 @@ func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SftpServerLinkedServiceTypeProperties properties specific to this linked service type. -type SftpServerLinkedServiceTypeProperties struct { - // Host - The SFTP server host name. Type: string (or Expression with resultType string). - Host interface{} `json:"host,omitempty"` - // Port - The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. 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: 'SftpAuthenticationTypeBasic', 'SftpAuthenticationTypeSSHPublicKey' - AuthenticationType SftpAuthenticationType `json:"authenticationType,omitempty"` - // UserName - The username used to log on to the SFTP server. Type: string (or Expression with resultType string). +// SapHanaLinkedServiceProperties properties specific to this linked service type. +type SapHanaLinkedServiceProperties struct { + // Server - Host name of the SAP HANA server. Type: string (or Expression with resultType string). + Server interface{} `json:"server,omitempty"` + // AuthenticationType - The authentication type to be used to connect to the SAP HANA server. Possible values include: 'SapHanaAuthenticationTypeBasic', 'SapHanaAuthenticationTypeWindows' + AuthenticationType SapHanaAuthenticationType `json:"authenticationType,omitempty"` + // UserName - Username to access the SAP HANA server. Type: string (or Expression with resultType string). UserName interface{} `json:"userName,omitempty"` - // Password - Password to logon the SFTP server for Basic authentication. + // Password - Password to access the SAP HANA 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"` - // PrivateKeyPath - The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). - PrivateKeyPath interface{} `json:"privateKeyPath,omitempty"` - // PrivateKeyContent - Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. - PrivateKeyContent BasicSecretBase `json:"privateKeyContent,omitempty"` - // PassPhrase - The password to decrypt the SSH private key if the SSH private key is encrypted. - PassPhrase BasicSecretBase `json:"passPhrase,omitempty"` - // SkipHostKeyValidation - If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). - SkipHostKeyValidation interface{} `json:"skipHostKeyValidation,omitempty"` - // HostKeyFingerprint - The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). - HostKeyFingerprint interface{} `json:"hostKeyFingerprint,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for SftpServerLinkedServiceTypeProperties struct. -func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SapHanaLinkedServiceProperties struct. +func (shlsp *SapHanaLinkedServiceProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -68915,32 +72717,23 @@ func (sslstp *SftpServerLinkedServiceTypeProperties) 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 - } - sslstp.Host = host - } - case "port": + case "server": if v != nil { - var port interface{} - err = json.Unmarshal(*v, &port) + var server interface{} + err = json.Unmarshal(*v, &server) if err != nil { return err } - sslstp.Port = port + shlsp.Server = server } case "authenticationType": if v != nil { - var authenticationType SftpAuthenticationType + var authenticationType SapHanaAuthenticationType err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - sslstp.AuthenticationType = authenticationType + shlsp.AuthenticationType = authenticationType } case "userName": if v != nil { @@ -68949,7 +72742,7 @@ func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) if err != nil { return err } - sslstp.UserName = userName + shlsp.UserName = userName } case "password": if v != nil { @@ -68957,7 +72750,7 @@ func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) if err != nil { return err } - sslstp.Password = password + shlsp.Password = password } case "encryptedCredential": if v != nil { @@ -68966,50 +72759,151 @@ func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) if err != nil { return err } - sslstp.EncryptedCredential = encryptedCredential + shlsp.EncryptedCredential = encryptedCredential } - case "privateKeyPath": + } + } + + return nil +} + +// ScheduleTrigger trigger that creates pipeline runs periodically, on schedule. +type ScheduleTrigger struct { + // ScheduleTriggerTypeProperties - Schedule Trigger properties. + *ScheduleTriggerTypeProperties `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 - 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"` + // Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ScheduleTrigger. +func (st ScheduleTrigger) MarshalJSON() ([]byte, error) { + st.Type = TypeScheduleTrigger + objectMap := make(map[string]interface{}) + if st.ScheduleTriggerTypeProperties != nil { + objectMap["typeProperties"] = st.ScheduleTriggerTypeProperties + } + if st.Pipelines != nil { + objectMap["pipelines"] = st.Pipelines + } + if st.Description != nil { + objectMap["description"] = st.Description + } + objectMap["runtimeState"] = st.RuntimeState + objectMap["type"] = st.Type + for k, v := range st.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsTumblingWindowTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { + return nil, false +} + +// AsBlobTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsBlobTrigger() (*BlobTrigger, bool) { + return nil, false +} + +// AsScheduleTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { + return &st, true +} + +// AsMultiplePipelineTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { + return nil, false +} + +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return &st, true +} + +// AsTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsTrigger() (*Trigger, bool) { + return nil, false +} + +// AsBasicTrigger is the BasicTrigger implementation for ScheduleTrigger. +func (st ScheduleTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &st, true +} + +// UnmarshalJSON is the custom unmarshaler for ScheduleTrigger struct. +func (st *ScheduleTrigger) UnmarshalJSON(body []byte) error { + 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 privateKeyPath interface{} - err = json.Unmarshal(*v, &privateKeyPath) + var scheduleTriggerTypeProperties ScheduleTriggerTypeProperties + err = json.Unmarshal(*v, &scheduleTriggerTypeProperties) if err != nil { return err } - sslstp.PrivateKeyPath = privateKeyPath + st.ScheduleTriggerTypeProperties = &scheduleTriggerTypeProperties } - case "privateKeyContent": + case "pipelines": if v != nil { - privateKeyContent, err := unmarshalBasicSecretBase(*v) + var pipelines []TriggerPipelineReference + err = json.Unmarshal(*v, &pipelines) if err != nil { return err } - sslstp.PrivateKeyContent = privateKeyContent + st.Pipelines = &pipelines } - case "passPhrase": + default: if v != nil { - passPhrase, err := unmarshalBasicSecretBase(*v) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - sslstp.PassPhrase = passPhrase + if st.AdditionalProperties == nil { + st.AdditionalProperties = make(map[string]interface{}) + } + st.AdditionalProperties[k] = additionalProperties } - case "skipHostKeyValidation": + case "description": if v != nil { - var skipHostKeyValidation interface{} - err = json.Unmarshal(*v, &skipHostKeyValidation) + var description string + err = json.Unmarshal(*v, &description) if err != nil { return err } - sslstp.SkipHostKeyValidation = skipHostKeyValidation + st.Description = &description } - case "hostKeyFingerprint": + case "runtimeState": if v != nil { - var hostKeyFingerprint interface{} - err = json.Unmarshal(*v, &hostKeyFingerprint) + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) if err != nil { return err } - sslstp.HostKeyFingerprint = hostKeyFingerprint + st.RuntimeState = runtimeState + } + case "type": + if v != nil { + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + st.Type = typeVar } } } @@ -69017,413 +72911,995 @@ func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) return nil } -// ShopifyLinkedService shopify Serivce linked service. -type ShopifyLinkedService struct { - // ShopifyLinkedServiceTypeProperties - Shopify Serivce linked service properties. - *ShopifyLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// ScheduleTriggerRecurrence the workflow trigger recurrence. +type ScheduleTriggerRecurrence 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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // Frequency - The frequency. Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' + Frequency RecurrenceFrequency `json:"frequency,omitempty"` + // Interval - The interval. + Interval *int32 `json:"interval,omitempty"` + // StartTime - The start time. + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - The end time. + EndTime *date.Time `json:"endTime,omitempty"` + // TimeZone - The time zone. + TimeZone *string `json:"timeZone,omitempty"` + // Schedule - The recurrence schedule. + Schedule *RecurrenceSchedule `json:"schedule,omitempty"` } -// MarshalJSON is the custom marshaler for ShopifyLinkedService. -func (sls ShopifyLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeShopify +// MarshalJSON is the custom marshaler for ScheduleTriggerRecurrence. +func (str ScheduleTriggerRecurrence) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if sls.ShopifyLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.ShopifyLinkedServiceTypeProperties + objectMap["frequency"] = str.Frequency + if str.Interval != nil { + objectMap["interval"] = str.Interval } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if str.StartTime != nil { + objectMap["startTime"] = str.StartTime } - if sls.Description != nil { - objectMap["description"] = sls.Description + if str.EndTime != nil { + objectMap["endTime"] = str.EndTime } - objectMap["type"] = sls.Type - for k, v := range sls.AdditionalProperties { + if str.TimeZone != nil { + objectMap["timeZone"] = str.TimeZone + } + if str.Schedule != nil { + objectMap["schedule"] = str.Schedule + } + for k, v := range str.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false +// ScheduleTriggerTypeProperties schedule Trigger properties. +type ScheduleTriggerTypeProperties struct { + // Recurrence - Recurrence schedule configuration. + Recurrence *ScheduleTriggerRecurrence `json:"recurrence,omitempty"` } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false +// BasicSecretBase the base definition of a secret type. +type BasicSecretBase interface { + AsSecureString() (*SecureString, bool) + AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) + AsSecretBase() (*SecretBase, bool) } -// AsZohoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false +// SecretBase the base definition of a secret type. +type SecretBase struct { + // Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret' + Type Type `json:"type,omitempty"` } -// AsXeroLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} +func unmarshalBasicSecretBase(body []byte) (BasicSecretBase, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } -// AsSquareLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false + switch m["type"] { + case string(TypeSecureString): + var ss SecureString + err := json.Unmarshal(body, &ss) + return ss, err + case string(TypeAzureKeyVaultSecret): + var akvsr AzureKeyVaultSecretReference + err := json.Unmarshal(body, &akvsr) + return akvsr, err + default: + var sb SecretBase + err := json.Unmarshal(body, &sb) + return sb, err + } } +func unmarshalBasicSecretBaseArray(body []byte) ([]BasicSecretBase, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } -// AsSparkLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} + sbArray := make([]BasicSecretBase, len(rawMessages)) -// AsShopifyLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return &sls, true + for index, rawMessage := range rawMessages { + sb, err := unmarshalBasicSecretBase(*rawMessage) + if err != nil { + return nil, err + } + sbArray[index] = sb + } + return sbArray, nil } -// AsServiceNowLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SecretBase. +func (sb SecretBase) MarshalJSON() ([]byte, error) { + sb.Type = TypeSecretBase + objectMap := make(map[string]interface{}) + objectMap["type"] = sb.Type + return json.Marshal(objectMap) } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSecureString is the BasicSecretBase implementation for SecretBase. +func (sb SecretBase) AsSecureString() (*SecureString, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for SecretBase. +func (sb SecretBase) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false +// AsSecretBase is the BasicSecretBase implementation for SecretBase. +func (sb SecretBase) AsSecretBase() (*SecretBase, bool) { + return &sb, true } -// AsPaypalLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false +// AsBasicSecretBase is the BasicSecretBase implementation for SecretBase. +func (sb SecretBase) AsBasicSecretBase() (BasicSecretBase, bool) { + return &sb, true } -// AsMarketoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false +// SecureString azure Data Factory secure string definition. The string value will be masked with asterisks '*' +// during Get or List API calls. +type SecureString struct { + // Value - Value of secure string. + Value *string `json:"value,omitempty"` + // Type - Possible values include: 'TypeSecretBase', 'TypeSecureString', 'TypeAzureKeyVaultSecret' + Type Type `json:"type,omitempty"` } -// AsMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SecureString. +func (ss SecureString) MarshalJSON() ([]byte, error) { + ss.Type = TypeSecureString + objectMap := make(map[string]interface{}) + if ss.Value != nil { + objectMap["value"] = ss.Value + } + objectMap["type"] = ss.Type + return json.Marshal(objectMap) } -// AsMagentoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false +// AsSecureString is the BasicSecretBase implementation for SecureString. +func (ss SecureString) AsSecureString() (*SecureString, bool) { + return &ss, true } -// AsJiraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsAzureKeyVaultSecretReference is the BasicSecretBase implementation for SecureString. +func (ss SecureString) AsAzureKeyVaultSecretReference() (*AzureKeyVaultSecretReference, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsSecretBase is the BasicSecretBase implementation for SecureString. +func (ss SecureString) AsSecretBase() (*SecretBase, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false +// AsBasicSecretBase is the BasicSecretBase implementation for SecureString. +func (ss SecureString) AsBasicSecretBase() (BasicSecretBase, bool) { + return &ss, true } -// AsHiveLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false +// SelfHostedIntegrationRuntime self-hosted integration runtime. +type SelfHostedIntegrationRuntime struct { + // LinkedIntegrationRuntimeTypeProperties - When this property is not null, means this is a linked integration runtime. The property is used to access original integration runtime. + *LinkedIntegrationRuntimeTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Integration runtime description. + Description *string `json:"description,omitempty"` + // Type - Possible values include: 'TypeIntegrationRuntime', 'TypeSelfHosted', 'TypeManaged' + Type TypeBasicIntegrationRuntime `json:"type,omitempty"` } -// AsHBaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false +// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntime. +func (shir SelfHostedIntegrationRuntime) MarshalJSON() ([]byte, error) { + shir.Type = TypeSelfHosted + objectMap := make(map[string]interface{}) + if shir.LinkedIntegrationRuntimeTypeProperties != nil { + objectMap["typeProperties"] = shir.LinkedIntegrationRuntimeTypeProperties + } + if shir.Description != nil { + objectMap["description"] = shir.Description + } + objectMap["type"] = shir.Type + for k, v := range shir.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsGreenplumLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false +// AsSelfHostedIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. +func (shir SelfHostedIntegrationRuntime) AsSelfHostedIntegrationRuntime() (*SelfHostedIntegrationRuntime, bool) { + return &shir, true } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsManagedIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. +func (shir SelfHostedIntegrationRuntime) AsManagedIntegrationRuntime() (*ManagedIntegrationRuntime, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. +func (shir SelfHostedIntegrationRuntime) AsIntegrationRuntime() (*IntegrationRuntime, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false +// AsBasicIntegrationRuntime is the BasicIntegrationRuntime implementation for SelfHostedIntegrationRuntime. +func (shir SelfHostedIntegrationRuntime) AsBasicIntegrationRuntime() (BasicIntegrationRuntime, bool) { + return &shir, true } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false +// UnmarshalJSON is the custom unmarshaler for SelfHostedIntegrationRuntime struct. +func (shir *SelfHostedIntegrationRuntime) UnmarshalJSON(body []byte) error { + 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 linkedIntegrationRuntimeTypeProperties LinkedIntegrationRuntimeTypeProperties + err = json.Unmarshal(*v, &linkedIntegrationRuntimeTypeProperties) + if err != nil { + return err + } + shir.LinkedIntegrationRuntimeTypeProperties = &linkedIntegrationRuntimeTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if shir.AdditionalProperties == nil { + shir.AdditionalProperties = make(map[string]interface{}) + } + shir.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + shir.Description = &description + } + case "type": + if v != nil { + var typeVar TypeBasicIntegrationRuntime + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + shir.Type = typeVar + } + } + } + + return nil } -// AsConcurLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// SelfHostedIntegrationRuntimeNode properties of Self-hosted integration runtime node. +type SelfHostedIntegrationRuntimeNode struct { + autorest.Response `json:"-"` + // NodeName - Name of the integration runtime node. + NodeName *string `json:"nodeName,omitempty"` + // MachineName - Machine name of the integration runtime node. + MachineName *string `json:"machineName,omitempty"` + // HostServiceURI - URI for the host machine of the integration runtime. + HostServiceURI *string `json:"hostServiceUri,omitempty"` + // Status - Status of the integration runtime node. Possible values include: 'SelfHostedIntegrationRuntimeNodeStatusNeedRegistration', 'SelfHostedIntegrationRuntimeNodeStatusOnline', 'SelfHostedIntegrationRuntimeNodeStatusLimited', 'SelfHostedIntegrationRuntimeNodeStatusOffline', 'SelfHostedIntegrationRuntimeNodeStatusUpgrading', 'SelfHostedIntegrationRuntimeNodeStatusInitializing', 'SelfHostedIntegrationRuntimeNodeStatusInitializeFailed' + Status SelfHostedIntegrationRuntimeNodeStatus `json:"status,omitempty"` + // Capabilities - The integration runtime capabilities dictionary + Capabilities map[string]*string `json:"capabilities"` + // VersionStatus - Status of the integration runtime node version. + VersionStatus *string `json:"versionStatus,omitempty"` + // Version - Version of the integration runtime node. + Version *string `json:"version,omitempty"` + // RegisterTime - The time at which the integration runtime node was registered in ISO8601 format. + RegisterTime *date.Time `json:"registerTime,omitempty"` + // LastConnectTime - The most recent time at which the integration runtime was connected in ISO8601 format. + LastConnectTime *date.Time `json:"lastConnectTime,omitempty"` + // ExpiryTime - The time at which the integration runtime will expire in ISO8601 format. + ExpiryTime *date.Time `json:"expiryTime,omitempty"` + // LastStartTime - The time the node last started up. + LastStartTime *date.Time `json:"lastStartTime,omitempty"` + // LastStopTime - The integration runtime node last stop time. + LastStopTime *date.Time `json:"lastStopTime,omitempty"` + // LastUpdateResult - The result of the last integration runtime node update. Possible values include: 'Succeed', 'Fail' + LastUpdateResult IntegrationRuntimeUpdateResult `json:"lastUpdateResult,omitempty"` + // LastStartUpdateTime - The last time for the integration runtime node update start. + LastStartUpdateTime *date.Time `json:"lastStartUpdateTime,omitempty"` + // LastEndUpdateTime - The last time for the integration runtime node update end. + LastEndUpdateTime *date.Time `json:"lastEndUpdateTime,omitempty"` + // IsActiveDispatcher - Indicates whether this node is the active dispatcher for integration runtime requests. + IsActiveDispatcher *bool `json:"isActiveDispatcher,omitempty"` + // ConcurrentJobsLimit - Maximum concurrent jobs on the integration runtime node. + ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"` + // MaxConcurrentJobs - The maximum concurrent jobs in this integration runtime. + MaxConcurrentJobs *int32 `json:"maxConcurrentJobs,omitempty"` +} + +// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeNode. +func (shirn SelfHostedIntegrationRuntimeNode) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if shirn.NodeName != nil { + objectMap["nodeName"] = shirn.NodeName + } + if shirn.MachineName != nil { + objectMap["machineName"] = shirn.MachineName + } + if shirn.HostServiceURI != nil { + objectMap["hostServiceUri"] = shirn.HostServiceURI + } + objectMap["status"] = shirn.Status + if shirn.Capabilities != nil { + objectMap["capabilities"] = shirn.Capabilities + } + if shirn.VersionStatus != nil { + objectMap["versionStatus"] = shirn.VersionStatus + } + if shirn.Version != nil { + objectMap["version"] = shirn.Version + } + if shirn.RegisterTime != nil { + objectMap["registerTime"] = shirn.RegisterTime + } + if shirn.LastConnectTime != nil { + objectMap["lastConnectTime"] = shirn.LastConnectTime + } + if shirn.ExpiryTime != nil { + objectMap["expiryTime"] = shirn.ExpiryTime + } + if shirn.LastStartTime != nil { + objectMap["lastStartTime"] = shirn.LastStartTime + } + if shirn.LastStopTime != nil { + objectMap["lastStopTime"] = shirn.LastStopTime + } + objectMap["lastUpdateResult"] = shirn.LastUpdateResult + if shirn.LastStartUpdateTime != nil { + objectMap["lastStartUpdateTime"] = shirn.LastStartUpdateTime + } + if shirn.LastEndUpdateTime != nil { + objectMap["lastEndUpdateTime"] = shirn.LastEndUpdateTime + } + if shirn.IsActiveDispatcher != nil { + objectMap["isActiveDispatcher"] = shirn.IsActiveDispatcher + } + if shirn.ConcurrentJobsLimit != nil { + objectMap["concurrentJobsLimit"] = shirn.ConcurrentJobsLimit + } + if shirn.MaxConcurrentJobs != nil { + objectMap["maxConcurrentJobs"] = shirn.MaxConcurrentJobs + } + return json.Marshal(objectMap) +} + +// SelfHostedIntegrationRuntimeStatus self-hosted integration runtime status. +type SelfHostedIntegrationRuntimeStatus struct { + // SelfHostedIntegrationRuntimeStatusTypeProperties - Self-hosted integration runtime status type properties. + *SelfHostedIntegrationRuntimeStatusTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // DataFactoryName - The data factory name which the integration runtime belong to. + DataFactoryName *string `json:"dataFactoryName,omitempty"` + // State - The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline' + State IntegrationRuntimeState `json:"state,omitempty"` + // Type - Possible values include: 'TypeBasicIntegrationRuntimeStatusTypeIntegrationRuntimeStatus', 'TypeBasicIntegrationRuntimeStatusTypeSelfHosted', 'TypeBasicIntegrationRuntimeStatusTypeManaged' + Type TypeBasicIntegrationRuntimeStatus `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeStatus. +func (shirs SelfHostedIntegrationRuntimeStatus) MarshalJSON() ([]byte, error) { + shirs.Type = TypeBasicIntegrationRuntimeStatusTypeSelfHosted + objectMap := make(map[string]interface{}) + if shirs.SelfHostedIntegrationRuntimeStatusTypeProperties != nil { + objectMap["typeProperties"] = shirs.SelfHostedIntegrationRuntimeStatusTypeProperties + } + if shirs.DataFactoryName != nil { + objectMap["dataFactoryName"] = shirs.DataFactoryName + } + objectMap["state"] = shirs.State + objectMap["type"] = shirs.Type + for k, v := range shirs.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSelfHostedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. +func (shirs SelfHostedIntegrationRuntimeStatus) AsSelfHostedIntegrationRuntimeStatus() (*SelfHostedIntegrationRuntimeStatus, bool) { + return &shirs, true +} + +// AsManagedIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. +func (shirs SelfHostedIntegrationRuntimeStatus) AsManagedIntegrationRuntimeStatus() (*ManagedIntegrationRuntimeStatus, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. +func (shirs SelfHostedIntegrationRuntimeStatus) AsIntegrationRuntimeStatus() (*IntegrationRuntimeStatus, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsBasicIntegrationRuntimeStatus is the BasicIntegrationRuntimeStatus implementation for SelfHostedIntegrationRuntimeStatus. +func (shirs SelfHostedIntegrationRuntimeStatus) AsBasicIntegrationRuntimeStatus() (BasicIntegrationRuntimeStatus, bool) { + return &shirs, true +} + +// UnmarshalJSON is the custom unmarshaler for SelfHostedIntegrationRuntimeStatus struct. +func (shirs *SelfHostedIntegrationRuntimeStatus) UnmarshalJSON(body []byte) error { + 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 selfHostedIntegrationRuntimeStatusTypeProperties SelfHostedIntegrationRuntimeStatusTypeProperties + err = json.Unmarshal(*v, &selfHostedIntegrationRuntimeStatusTypeProperties) + if err != nil { + return err + } + shirs.SelfHostedIntegrationRuntimeStatusTypeProperties = &selfHostedIntegrationRuntimeStatusTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if shirs.AdditionalProperties == nil { + shirs.AdditionalProperties = make(map[string]interface{}) + } + shirs.AdditionalProperties[k] = additionalProperties + } + case "dataFactoryName": + if v != nil { + var dataFactoryName string + err = json.Unmarshal(*v, &dataFactoryName) + if err != nil { + return err + } + shirs.DataFactoryName = &dataFactoryName + } + case "state": + if v != nil { + var state IntegrationRuntimeState + err = json.Unmarshal(*v, &state) + if err != nil { + return err + } + shirs.State = state + } + case "type": + if v != nil { + var typeVar TypeBasicIntegrationRuntimeStatus + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + shirs.Type = typeVar + } + } + } + + return nil +} + +// SelfHostedIntegrationRuntimeStatusTypeProperties self-hosted integration runtime status type properties. +type SelfHostedIntegrationRuntimeStatusTypeProperties struct { + // CreateTime - The time at which the integration runtime was created, in ISO8601 format. + CreateTime *date.Time `json:"createTime,omitempty"` + // TaskQueueID - The task queue id of the integration runtime. + TaskQueueID *string `json:"taskQueueId,omitempty"` + // InternalChannelEncryption - It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist). Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' + InternalChannelEncryption IntegrationRuntimeInternalChannelEncryptionMode `json:"internalChannelEncryption,omitempty"` + // Version - Version of the integration runtime. + Version *string `json:"version,omitempty"` + // Nodes - The list of nodes for this integration runtime. + Nodes *[]SelfHostedIntegrationRuntimeNode `json:"nodes,omitempty"` + // ScheduledUpdateDate - The date at which the integration runtime will be scheduled to update, in ISO8601 format. + ScheduledUpdateDate *date.Time `json:"scheduledUpdateDate,omitempty"` + // UpdateDelayOffset - The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours + UpdateDelayOffset *string `json:"updateDelayOffset,omitempty"` + // LocalTimeZoneOffset - The local time zone offset in hours. + LocalTimeZoneOffset *string `json:"localTimeZoneOffset,omitempty"` + // Capabilities - Object with additional information about integration runtime capabilities. + Capabilities map[string]*string `json:"capabilities"` + // ServiceUrls - The URLs for the services used in integration runtime backend service. + ServiceUrls *[]string `json:"serviceUrls,omitempty"` + // AutoUpdate - Whether Self-hosted integration runtime auto update has been turned on. Possible values include: 'On', 'Off' + AutoUpdate IntegrationRuntimeAutoUpdate `json:"autoUpdate,omitempty"` + // VersionStatus - Status of the integration runtime version. + VersionStatus *string `json:"versionStatus,omitempty"` + // Links - The list of linked integration runtimes that are created to share with this integration runtime. + Links *[]LinkedIntegrationRuntime `json:"links,omitempty"` +} + +// MarshalJSON is the custom marshaler for SelfHostedIntegrationRuntimeStatusTypeProperties. +func (shirstp SelfHostedIntegrationRuntimeStatusTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if shirstp.CreateTime != nil { + objectMap["createTime"] = shirstp.CreateTime + } + if shirstp.TaskQueueID != nil { + objectMap["taskQueueId"] = shirstp.TaskQueueID + } + objectMap["internalChannelEncryption"] = shirstp.InternalChannelEncryption + if shirstp.Version != nil { + objectMap["version"] = shirstp.Version + } + if shirstp.Nodes != nil { + objectMap["nodes"] = shirstp.Nodes + } + if shirstp.ScheduledUpdateDate != nil { + objectMap["scheduledUpdateDate"] = shirstp.ScheduledUpdateDate + } + if shirstp.UpdateDelayOffset != nil { + objectMap["updateDelayOffset"] = shirstp.UpdateDelayOffset + } + if shirstp.LocalTimeZoneOffset != nil { + objectMap["localTimeZoneOffset"] = shirstp.LocalTimeZoneOffset + } + if shirstp.Capabilities != nil { + objectMap["capabilities"] = shirstp.Capabilities + } + if shirstp.ServiceUrls != nil { + objectMap["serviceUrls"] = shirstp.ServiceUrls + } + objectMap["autoUpdate"] = shirstp.AutoUpdate + if shirstp.VersionStatus != nil { + objectMap["versionStatus"] = shirstp.VersionStatus + } + if shirstp.Links != nil { + objectMap["links"] = shirstp.Links + } + return json.Marshal(objectMap) +} + +// ServiceNowLinkedService serviceNow server linked service. +type ServiceNowLinkedService struct { + // ServiceNowLinkedServiceTypeProperties - ServiceNow server linked service properties. + *ServiceNowLinkedServiceTypeProperties `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) MarshalJSON() ([]byte, error) { + snls.Type = TypeServiceNow + objectMap := make(map[string]interface{}) + if snls.ServiceNowLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = snls.ServiceNowLinkedServiceTypeProperties + } + if snls.ConnectVia != nil { + objectMap["connectVia"] = snls.ConnectVia + } + if snls.Description != nil { + objectMap["description"] = snls.Description + } + if snls.Parameters != nil { + objectMap["parameters"] = snls.Parameters + } + if snls.Annotations != nil { + objectMap["annotations"] = snls.Annotations + } + objectMap["type"] = snls.Type + for k, v := range snls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return &snls, true +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. -func (sls ShopifyLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsSapEccLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedService struct. -func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { - 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 shopifyLinkedServiceTypeProperties ShopifyLinkedServiceTypeProperties - err = json.Unmarshal(*v, &shopifyLinkedServiceTypeProperties) - if err != nil { - return err - } - sls.ShopifyLinkedServiceTypeProperties = &shopifyLinkedServiceTypeProperties - } - 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 +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for ServiceNowLinkedService. +func (snls ServiceNowLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &snls, true +} + +// UnmarshalJSON is the custom unmarshaler for ServiceNowLinkedService struct. +func (snls *ServiceNowLinkedService) UnmarshalJSON(body []byte) error { + 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 serviceNowLinkedServiceTypeProperties ServiceNowLinkedServiceTypeProperties + err = json.Unmarshal(*v, &serviceNowLinkedServiceTypeProperties) + if err != nil { + return err } - sls.ConnectVia = &connectVia + snls.ServiceNowLinkedServiceTypeProperties = &serviceNowLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if snls.AdditionalProperties == nil { + snls.AdditionalProperties = make(map[string]interface{}) + } + snls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + snls.ConnectVia = &connectVia } case "description": if v != nil { @@ -69432,7 +73908,25 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Description = &description + snls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + snls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + snls.Annotations = &annotations } case "type": if v != nil { @@ -69441,7 +73935,7 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Type = typeVar + snls.Type = typeVar } } } @@ -69449,12 +73943,20 @@ func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { return nil } -// ShopifyLinkedServiceTypeProperties shopify Serivce linked service properties. -type ShopifyLinkedServiceTypeProperties struct { - // Host - The endpoint of the Shopify server. (i.e. mystore.myshopify.com) - Host interface{} `json:"host,omitempty"` - // AccessToken - The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. - AccessToken BasicSecretBase `json:"accessToken,omitempty"` +// ServiceNowLinkedServiceTypeProperties serviceNow server linked service properties. +type ServiceNowLinkedServiceTypeProperties struct { + // Endpoint - The endpoint of the ServiceNow server. (i.e. ServiceNowData.com) + Endpoint interface{} `json:"endpoint,omitempty"` + // AuthenticationType - The authentication type to use. Possible values include: 'ServiceNowAuthenticationTypeBasic', 'ServiceNowAuthenticationTypeOAuth2' + AuthenticationType ServiceNowAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. + Username interface{} `json:"username,omitempty"` + // Password - The password corresponding to the user name for Basic and OAuth2 authentication. + Password BasicSecretBase `json:"password,omitempty"` + // ClientID - The client id for OAuth2 authentication. + ClientID interface{} `json:"clientId,omitempty"` + // ClientSecret - The client secret for OAuth2 authentication. + ClientSecret BasicSecretBase `json:"clientSecret,omitempty"` // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. @@ -69465,8 +73967,8 @@ type ShopifyLinkedServiceTypeProperties struct { EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedServiceTypeProperties struct. -func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for ServiceNowLinkedServiceTypeProperties struct. +func (snlstp *ServiceNowLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -69474,22 +73976,57 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro } for k, v := range m { switch k { - case "host": + case "endpoint": if v != nil { - var host interface{} - err = json.Unmarshal(*v, &host) + var endpoint interface{} + err = json.Unmarshal(*v, &endpoint) if err != nil { return err } - slstp.Host = host + snlstp.Endpoint = endpoint } - case "accessToken": + case "authenticationType": if v != nil { - accessToken, err := unmarshalBasicSecretBase(*v) + var authenticationType ServiceNowAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - slstp.AccessToken = accessToken + snlstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + snlstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + snlstp.Password = password + } + case "clientId": + if v != nil { + var clientID interface{} + err = json.Unmarshal(*v, &clientID) + if err != nil { + return err + } + snlstp.ClientID = clientID + } + case "clientSecret": + if v != nil { + clientSecret, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + snlstp.ClientSecret = clientSecret } case "useEncryptedEndpoints": if v != nil { @@ -69498,7 +74035,7 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - slstp.UseEncryptedEndpoints = useEncryptedEndpoints + snlstp.UseEncryptedEndpoints = useEncryptedEndpoints } case "useHostVerification": if v != nil { @@ -69507,7 +74044,7 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - slstp.UseHostVerification = useHostVerification + snlstp.UseHostVerification = useHostVerification } case "usePeerVerification": if v != nil { @@ -69516,7 +74053,7 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - slstp.UsePeerVerification = usePeerVerification + snlstp.UsePeerVerification = usePeerVerification } case "encryptedCredential": if v != nil { @@ -69525,7 +74062,7 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro if err != nil { return err } - slstp.EncryptedCredential = encryptedCredential + snlstp.EncryptedCredential = encryptedCredential } } } @@ -69533,8 +74070,8 @@ func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) erro return nil } -// ShopifyObjectDataset shopify Serivce dataset. -type ShopifyObjectDataset struct { +// ServiceNowObjectDataset serviceNow server dataset. +type ServiceNowObjectDataset struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -69545,288 +74082,303 @@ type ShopifyObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeShopifyObject +// MarshalJSON is the custom marshaler for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) MarshalJSON() ([]byte, error) { + snod.Type = TypeServiceNowObject objectMap := make(map[string]interface{}) - if sod.Description != nil { - objectMap["description"] = sod.Description + if snod.Description != nil { + objectMap["description"] = snod.Description } - objectMap["structure"] = sod.Structure - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName + objectMap["structure"] = snod.Structure + if snod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = snod.LinkedServiceName } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters + if snod.Parameters != nil { + objectMap["parameters"] = snod.Parameters } - objectMap["type"] = sod.Type - for k, v := range sod.AdditionalProperties { + if snod.Annotations != nil { + objectMap["annotations"] = snod.Annotations + } + objectMap["type"] = snod.Type + for k, v := range snod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { - return &sod, true +// AsSquareObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { + return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { - return nil, false +// AsServiceNowObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return &snod, true } -// AsPhoenixObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for ShopifyObjectDataset. -func (sod ShopifyObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true +// AsAmazonS3Dataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// ShopifySource a copy activity Shopify Serivce source. -type ShopifySource struct { +// AsDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ServiceNowObjectDataset. +func (snod ServiceNowObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &snod, true +} + +// ServiceNowSource a copy activity ServiceNow server source. +type ServiceNowSource 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 @@ -69835,635 +74387,670 @@ type ShopifySource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for ShopifySource. -func (ss ShopifySource) MarshalJSON() ([]byte, error) { - ss.Type = TypeShopifySource +// MarshalJSON is the custom marshaler for ServiceNowSource. +func (sns ServiceNowSource) MarshalJSON() ([]byte, error) { + sns.Type = TypeServiceNowSource objectMap := make(map[string]interface{}) - objectMap["query"] = ss.Query - objectMap["sourceRetryCount"] = ss.SourceRetryCount - objectMap["sourceRetryWait"] = ss.SourceRetryWait - objectMap["type"] = ss.Type - for k, v := range ss.AdditionalProperties { + objectMap["query"] = sns.Query + objectMap["sourceRetryCount"] = sns.SourceRetryCount + objectMap["sourceRetryWait"] = sns.SourceRetryWait + objectMap["type"] = sns.Type + for k, v := range sns.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsShopifySource() (*ShopifySource, bool) { - return &ss, true +// AsSquareSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsPrestoSource() (*PrestoSource, bool) { +// AsServiceNowSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return &sns, true +} + +// AsQuickBooksSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsPaypalSource() (*PaypalSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCassandraSource() (*CassandraSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsWebSource() (*WebSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) { +// AsWebSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOracleSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapEccSource() (*SapEccSource, bool) { +// AsSQLSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBlobSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsCopySource() (*CopySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for ShopifySource. -func (ss ShopifySource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsCopySource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsCopySource() (*CopySource, bool) { + return nil, false } -// SparkLinkedService spark Server linked service. -type SparkLinkedService struct { - // SparkLinkedServiceTypeProperties - Spark Server linked service properties. - *SparkLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AsBasicCopySource is the BasicCopySource implementation for ServiceNowSource. +func (sns ServiceNowSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sns, true +} + +// SftpServerLinkedService a linked service for an SSH File Transfer Protocol (SFTP) server. +type SftpServerLinkedService struct { + // SftpServerLinkedServiceTypeProperties - Properties specific to this linked service type. + *SftpServerLinkedServiceTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SparkLinkedService. -func (sls SparkLinkedService) MarshalJSON() ([]byte, error) { - sls.Type = TypeSpark +// MarshalJSON is the custom marshaler for SftpServerLinkedService. +func (ssls SftpServerLinkedService) MarshalJSON() ([]byte, error) { + ssls.Type = TypeSftp objectMap := make(map[string]interface{}) - if sls.SparkLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SparkLinkedServiceTypeProperties + if ssls.SftpServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ssls.SftpServerLinkedServiceTypeProperties } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if ssls.ConnectVia != nil { + objectMap["connectVia"] = ssls.ConnectVia } - if sls.Description != nil { - objectMap["description"] = sls.Description + if ssls.Description != nil { + objectMap["description"] = ssls.Description } - objectMap["type"] = sls.Type - for k, v := range sls.AdditionalProperties { + if ssls.Parameters != nil { + objectMap["parameters"] = ssls.Parameters + } + if ssls.Annotations != nil { + objectMap["annotations"] = ssls.Annotations + } + objectMap["type"] = ssls.Type + for k, v := range ssls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return &sls, true +// AsZohoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false +// AsSftpServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return &ssls, true } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SparkLinkedService. -func (sls SparkLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SparkLinkedService struct. -func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SftpServerLinkedService. +func (ssls SftpServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ssls, true +} + +// UnmarshalJSON is the custom unmarshaler for SftpServerLinkedService struct. +func (ssls *SftpServerLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -70473,12 +75060,12 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var sparkLinkedServiceTypeProperties SparkLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sparkLinkedServiceTypeProperties) + var sftpServerLinkedServiceTypeProperties SftpServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sftpServerLinkedServiceTypeProperties) if err != nil { return err } - sls.SparkLinkedServiceTypeProperties = &sparkLinkedServiceTypeProperties + ssls.SftpServerLinkedServiceTypeProperties = &sftpServerLinkedServiceTypeProperties } default: if v != nil { @@ -70487,10 +75074,10 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if sls.AdditionalProperties == nil { - sls.AdditionalProperties = make(map[string]interface{}) + if ssls.AdditionalProperties == nil { + ssls.AdditionalProperties = make(map[string]interface{}) } - sls.AdditionalProperties[k] = additionalProperties + ssls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -70499,7 +75086,7 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.ConnectVia = &connectVia + ssls.ConnectVia = &connectVia } case "description": if v != nil { @@ -70508,7 +75095,25 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Description = &description + ssls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ssls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ssls.Annotations = &annotations } case "type": if v != nil { @@ -70517,7 +75122,7 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Type = typeVar + ssls.Type = typeVar } } } @@ -70525,40 +75130,34 @@ func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SparkLinkedServiceTypeProperties spark Server linked service properties. -type SparkLinkedServiceTypeProperties struct { - // Host - IP address or host name of the Spark server +// SftpServerLinkedServiceTypeProperties properties specific to this linked service type. +type SftpServerLinkedServiceTypeProperties struct { + // Host - The SFTP server host name. Type: string (or Expression with resultType string). Host interface{} `json:"host,omitempty"` - // Port - The TCP port that the Spark server uses to listen for client connections. + // Port - The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0. Port interface{} `json:"port,omitempty"` - // ServerType - The type of Spark server. Possible values include: 'SharkServer', 'SharkServer2', 'SparkThriftServer' - ServerType SparkServerType `json:"serverType,omitempty"` - // ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'SparkThriftTransportProtocolBinary', 'SparkThriftTransportProtocolSASL', 'SparkThriftTransportProtocolHTTP' - ThriftTransportProtocol SparkThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"` - // AuthenticationType - The authentication method used to access the Spark server. Possible values include: 'SparkAuthenticationTypeAnonymous', 'SparkAuthenticationTypeUsername', 'SparkAuthenticationTypeUsernameAndPassword', 'SparkAuthenticationTypeWindowsAzureHDInsightService' - AuthenticationType SparkAuthenticationType `json:"authenticationType,omitempty"` - // Username - The user name that you use to access Spark Server. - Username interface{} `json:"username,omitempty"` - // Password - The password corresponding to the user name that you provided in the Username field + // AuthenticationType - The authentication type to be used to connect to the FTP server. Possible values include: 'SftpAuthenticationTypeBasic', 'SftpAuthenticationTypeSSHPublicKey' + AuthenticationType SftpAuthenticationType `json:"authenticationType,omitempty"` + // UserName - The username used to log on to the SFTP server. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - Password to logon the SFTP server for Basic authentication. Password BasicSecretBase `json:"password,omitempty"` - // HTTPPath - The partial URL corresponding to the Spark 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"` + // PrivateKeyPath - The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). + PrivateKeyPath interface{} `json:"privateKeyPath,omitempty"` + // PrivateKeyContent - Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. + PrivateKeyContent BasicSecretBase `json:"privateKeyContent,omitempty"` + // PassPhrase - The password to decrypt the SSH private key if the SSH private key is encrypted. + PassPhrase BasicSecretBase `json:"passPhrase,omitempty"` + // SkipHostKeyValidation - If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). + SkipHostKeyValidation interface{} `json:"skipHostKeyValidation,omitempty"` + // HostKeyFingerprint - The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). + HostKeyFingerprint interface{} `json:"hostKeyFingerprint,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for SparkLinkedServiceTypeProperties struct. -func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SftpServerLinkedServiceTypeProperties struct. +func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -70573,7 +75172,7 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - slstp.Host = host + sslstp.Host = host } case "port": if v != nil { @@ -70582,43 +75181,25 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - slstp.Port = port - } - case "serverType": - if v != nil { - var serverType SparkServerType - err = json.Unmarshal(*v, &serverType) - if err != nil { - return err - } - slstp.ServerType = serverType - } - case "thriftTransportProtocol": - if v != nil { - var thriftTransportProtocol SparkThriftTransportProtocol - err = json.Unmarshal(*v, &thriftTransportProtocol) - if err != nil { - return err - } - slstp.ThriftTransportProtocol = thriftTransportProtocol + sslstp.Port = port } case "authenticationType": if v != nil { - var authenticationType SparkAuthenticationType + var authenticationType SftpAuthenticationType err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - slstp.AuthenticationType = authenticationType + sslstp.AuthenticationType = authenticationType } - 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 } - slstp.Username = username + sslstp.UserName = userName } case "password": if v != nil { @@ -70626,70 +75207,59 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error if err != nil { return err } - slstp.Password = password - } - case "httpPath": - if v != nil { - var HTTPPath interface{} - err = json.Unmarshal(*v, &HTTPPath) - if err != nil { - return err - } - slstp.HTTPPath = HTTPPath + sslstp.Password = password } - case "enableSsl": + case "encryptedCredential": if v != nil { - var enableSsl interface{} - err = json.Unmarshal(*v, &enableSsl) + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) if err != nil { return err } - slstp.EnableSsl = enableSsl + sslstp.EncryptedCredential = encryptedCredential } - case "trustedCertPath": + case "privateKeyPath": if v != nil { - var trustedCertPath interface{} - err = json.Unmarshal(*v, &trustedCertPath) + var privateKeyPath interface{} + err = json.Unmarshal(*v, &privateKeyPath) if err != nil { return err } - slstp.TrustedCertPath = trustedCertPath + sslstp.PrivateKeyPath = privateKeyPath } - case "useSystemTrustStore": + case "privateKeyContent": if v != nil { - var useSystemTrustStore interface{} - err = json.Unmarshal(*v, &useSystemTrustStore) + privateKeyContent, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - slstp.UseSystemTrustStore = useSystemTrustStore + sslstp.PrivateKeyContent = privateKeyContent } - case "allowHostNameCNMismatch": + case "passPhrase": if v != nil { - var allowHostNameCNMismatch interface{} - err = json.Unmarshal(*v, &allowHostNameCNMismatch) + passPhrase, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - slstp.AllowHostNameCNMismatch = allowHostNameCNMismatch + sslstp.PassPhrase = passPhrase } - case "allowSelfSignedServerCert": + case "skipHostKeyValidation": if v != nil { - var allowSelfSignedServerCert interface{} - err = json.Unmarshal(*v, &allowSelfSignedServerCert) + var skipHostKeyValidation interface{} + err = json.Unmarshal(*v, &skipHostKeyValidation) if err != nil { return err } - slstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + sslstp.SkipHostKeyValidation = skipHostKeyValidation } - case "encryptedCredential": + case "hostKeyFingerprint": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var hostKeyFingerprint interface{} + err = json.Unmarshal(*v, &hostKeyFingerprint) if err != nil { return err } - slstp.EncryptedCredential = encryptedCredential + sslstp.HostKeyFingerprint = hostKeyFingerprint } } } @@ -70697,1333 +75267,1546 @@ func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// SparkObjectDataset spark Server dataset. -type SparkObjectDataset struct { +// ShopifyLinkedService shopify Serivce linked service. +type ShopifyLinkedService struct { + // ShopifyLinkedServiceTypeProperties - Shopify Serivce linked service properties. + *ShopifyLinkedServiceTypeProperties `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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. + // Parameters - Parameters for linked service. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SparkObjectDataset. -func (sod SparkObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeSparkObject +// MarshalJSON is the custom marshaler for ShopifyLinkedService. +func (sls ShopifyLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeShopify objectMap := make(map[string]interface{}) - if sod.Description != nil { - objectMap["description"] = sod.Description + if sls.ShopifyLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.ShopifyLinkedServiceTypeProperties } - objectMap["structure"] = sod.Structure - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters + if sls.Description != nil { + objectMap["description"] = sls.Description } - objectMap["type"] = sod.Type - for k, v := range sod.AdditionalProperties { + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + objectMap["type"] = sls.Type + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { - return &sod, true +// AsNetezzaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { - return nil, false +// AsShopifyLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return &sls, true } -// AsMarketoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsDataset() (*Dataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SparkObjectDataset. -func (sod SparkObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true +// AsAzureMLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false } -// SparkSource a copy activity Spark Server source. -type SparkSource 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsTeradataLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SparkSource. -func (ss SparkSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSparkSource - objectMap := make(map[string]interface{}) - objectMap["query"] = ss.Query - objectMap["sourceRetryCount"] = ss.SourceRetryCount - objectMap["sourceRetryWait"] = ss.SourceRetryWait - objectMap["type"] = ss.Type - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsDb2LinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsZohoSource() (*ZohoSource, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsXeroSource() (*XeroSource, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSquareSource() (*SquareSource, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSparkSource() (*SparkSource, bool) { - return &ss, true +// AsOracleLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false } -// AsShopifySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsShopifySource() (*ShopifySource, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsPrestoSource() (*PrestoSource, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsPaypalSource() (*PaypalSource, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsSQLServerLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMagentoSource() (*MagentoSource, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsJiraSource() (*JiraSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHubspotSource() (*HubspotSource, bool) { +// AsBasicLinkedService is the BasicLinkedService implementation for ShopifyLinkedService. +func (sls ShopifyLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedService struct. +func (sls *ShopifyLinkedService) UnmarshalJSON(body []byte) error { + 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 shopifyLinkedServiceTypeProperties ShopifyLinkedServiceTypeProperties + err = json.Unmarshal(*v, &shopifyLinkedServiceTypeProperties) + if err != nil { + return err + } + sls.ShopifyLinkedServiceTypeProperties = &shopifyLinkedServiceTypeProperties + } + 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 +} + +// ShopifyLinkedServiceTypeProperties shopify Serivce linked service properties. +type ShopifyLinkedServiceTypeProperties struct { + // Host - The endpoint of the Shopify server. (i.e. mystore.myshopify.com) + Host interface{} `json:"host,omitempty"` + // AccessToken - The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. + AccessToken BasicSecretBase `json:"accessToken,omitempty"` + // UseEncryptedEndpoints - Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. + UseEncryptedEndpoints interface{} `json:"useEncryptedEndpoints,omitempty"` + // UseHostVerification - Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. + UseHostVerification interface{} `json:"useHostVerification,omitempty"` + // UsePeerVerification - Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. + UsePeerVerification interface{} `json:"usePeerVerification,omitempty"` + // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for ShopifyLinkedServiceTypeProperties struct. +func (slstp *ShopifyLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + 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 "accessToken": + if v != nil { + accessToken, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + slstp.AccessToken = accessToken + } + 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 +} + +// ShopifyObjectDataset shopify Serivce dataset. +type ShopifyObjectDataset 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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeShopifyObject + objectMap := make(map[string]interface{}) + if sod.Description != nil { + objectMap["description"] = sod.Description + } + objectMap["structure"] = sod.Structure + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName + } + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters + } + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations + } + objectMap["type"] = sod.Type + for k, v := range sod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsVerticaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHiveSource() (*HiveSource, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHBaseSource() (*HBaseSource, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsEloquaSource() (*EloquaSource, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDrillSource() (*DrillSource, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return &sod, true +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsConcurSource() (*ConcurSource, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCassandraSource() (*CassandraSource, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsWebSource() (*WebSource, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsOracleSource() (*OracleSource, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSQLSource() (*SQLSource, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapEccSource() (*SapEccSource, bool) { +// AsDrillTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsHTTPDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureSearchIndexDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsWebTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsCopySource() (*CopySource, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SparkSource. -func (ss SparkSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsSapEccResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false } -// SQLDWSink a copy activity SQL Data Warehouse sink. -type SQLDWSink struct { - // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). - PreCopyScript interface{} `json:"preCopyScript,omitempty"` - // AllowPolyBase - Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean). - AllowPolyBase interface{} `json:"allowPolyBase,omitempty"` - // PolyBaseSettings - Specifies PolyBase-related settings when allowPolyBase is true. - PolyBaseSettings *PolybaseSettings `json:"polyBaseSettings,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"` - // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' - Type TypeBasicCopySink `json:"type,omitempty"` +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SQLDWSink. -func (sds SQLDWSink) MarshalJSON() ([]byte, error) { - sds.Type = TypeSQLDWSink - objectMap := make(map[string]interface{}) - objectMap["preCopyScript"] = sds.PreCopyScript - objectMap["allowPolyBase"] = sds.AllowPolyBase - if sds.PolyBaseSettings != nil { - objectMap["polyBaseSettings"] = sds.PolyBaseSettings - } - objectMap["writeBatchSize"] = sds.WriteBatchSize - objectMap["writeBatchTimeout"] = sds.WriteBatchTimeout - objectMap["sinkRetryCount"] = sds.SinkRetryCount - objectMap["sinkRetryWait"] = sds.SinkRetryWait - objectMap["type"] = sds.Type - for k, v := range sds.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsSalesforceObjectDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false } -// AsSalesforceSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsDynamicsSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) { +// AsOracleTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsODataResourceDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsOracleSink() (*OracleSink, bool) { +// AsFileShareDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) { - return &sds, true +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false } -// AsSQLSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSQLSink() (*SQLSink, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsCustomDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsAzureTableDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsCopySink() (*CopySink, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLDWSink. -func (sds SQLDWSink) AsBasicCopySink() (BasicCopySink, bool) { - return &sds, true +// AsAmazonS3Dataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// SQLDWSource a copy activity SQL Data Warehouse source. -type SQLDWSource struct { - // SQLReaderQuery - SQL Data Warehouse reader query. Type: string (or Expression with resultType string). - SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` - // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Data Warehouse 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"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. - StoredProcedureParameters interface{} `json:"storedProcedureParameters,omitempty"` +// AsDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for ShopifyObjectDataset. +func (sod ShopifyObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true +} + +// ShopifySource a copy activity Shopify Serivce source. +type ShopifySource 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLDWSource. -func (sds SQLDWSource) MarshalJSON() ([]byte, error) { - sds.Type = TypeSQLDWSource +// MarshalJSON is the custom marshaler for ShopifySource. +func (ss ShopifySource) MarshalJSON() ([]byte, error) { + ss.Type = TypeShopifySource objectMap := make(map[string]interface{}) - objectMap["sqlReaderQuery"] = sds.SQLReaderQuery - objectMap["sqlReaderStoredProcedureName"] = sds.SQLReaderStoredProcedureName - objectMap["storedProcedureParameters"] = sds.StoredProcedureParameters - objectMap["sourceRetryCount"] = sds.SourceRetryCount - objectMap["sourceRetryWait"] = sds.SourceRetryWait - objectMap["type"] = sds.Type - for k, v := range sds.AdditionalProperties { + objectMap["query"] = ss.Query + objectMap["sourceRetryCount"] = ss.SourceRetryCount + objectMap["sourceRetryWait"] = ss.SourceRetryWait + objectMap["type"] = ss.Type + for k, v := range ss.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsZohoSource() (*ZohoSource, bool) { +// AsVerticaSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsXeroSource() (*XeroSource, bool) { +// AsNetezzaSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSquareSource() (*SquareSource, bool) { +// AsZohoSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSparkSource() (*SparkSource, bool) { +// AsXeroSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsShopifySource() (*ShopifySource, bool) { +// AsSquareSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsSparkSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsShopifySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsShopifySource() (*ShopifySource, bool) { + return &ss, true +} + +// AsServiceNowSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPrestoSource() (*PrestoSource, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsPrestoSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsPaypalSource() (*PaypalSource, bool) { +// AsPhoenixSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMarketoSource() (*MarketoSource, bool) { +// AsPaypalSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsMarketoSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMagentoSource() (*MagentoSource, bool) { +// AsMariaDBSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsJiraSource() (*JiraSource, bool) { +// AsMagentoSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsJiraSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHubspotSource() (*HubspotSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHiveSource() (*HiveSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHBaseSource() (*HBaseSource, bool) { +// AsHiveSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsEloquaSource() (*EloquaSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDrillSource() (*DrillSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsDrillSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsConcurSource() (*ConcurSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsConcurSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCassandraSource() (*CassandraSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsWebSource() (*WebSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) { +// AsWebSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsOracleSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsHdfsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) { - return &sds, true +// AsFileSystemSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSQLSource() (*SQLSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapEccSource() (*SapEccSource, bool) { +// AsSQLSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsBlobSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsCopySource() (*CopySource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLDWSource. -func (sds SQLDWSource) AsBasicCopySource() (BasicCopySource, bool) { - return &sds, true +// AsCopySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsCopySource() (*CopySource, bool) { + return nil, false } -// SQLServerLinkedService SQL Server linked service. -type SQLServerLinkedService struct { - // SQLServerLinkedServiceTypeProperties - SQL Server linked service properties. - *SQLServerLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// AsBasicCopySource is the BasicCopySource implementation for ShopifySource. +func (ss ShopifySource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// SparkLinkedService spark Server linked service. +type SparkLinkedService struct { + // SparkLinkedServiceTypeProperties - Spark Server linked service properties. + *SparkLinkedServiceTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for SQLServerLinkedService. -func (ssls SQLServerLinkedService) MarshalJSON() ([]byte, error) { - ssls.Type = TypeSQLServer +// MarshalJSON is the custom marshaler for SparkLinkedService. +func (sls SparkLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSpark objectMap := make(map[string]interface{}) - if ssls.SQLServerLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = ssls.SQLServerLinkedServiceTypeProperties + if sls.SparkLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SparkLinkedServiceTypeProperties } - if ssls.ConnectVia != nil { - objectMap["connectVia"] = ssls.ConnectVia + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia } - if ssls.Description != nil { - objectMap["description"] = ssls.Description + if sls.Description != nil { + objectMap["description"] = sls.Description } - objectMap["type"] = ssls.Type - for k, v := range ssls.AdditionalProperties { + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + objectMap["type"] = sls.Type + for k, v := range sls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false +// AsSparkLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return &sls, true } -// AsPrestoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { - return &ssls, true -} - -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. -func (ssls SQLServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &ssls, true +// AsSQLServerLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for SQLServerLinkedService struct. -func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for SparkLinkedService. +func (sls SparkLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &sls, true +} + +// UnmarshalJSON is the custom unmarshaler for SparkLinkedService struct. +func (sls *SparkLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -72033,12 +76816,12 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var SQLServerLinkedServiceTypeProperties SQLServerLinkedServiceTypeProperties - err = json.Unmarshal(*v, &SQLServerLinkedServiceTypeProperties) + var sparkLinkedServiceTypeProperties SparkLinkedServiceTypeProperties + err = json.Unmarshal(*v, &sparkLinkedServiceTypeProperties) if err != nil { return err } - ssls.SQLServerLinkedServiceTypeProperties = &SQLServerLinkedServiceTypeProperties + sls.SparkLinkedServiceTypeProperties = &sparkLinkedServiceTypeProperties } default: if v != nil { @@ -72047,10 +76830,10 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if ssls.AdditionalProperties == nil { - ssls.AdditionalProperties = make(map[string]interface{}) + if sls.AdditionalProperties == nil { + sls.AdditionalProperties = make(map[string]interface{}) } - ssls.AdditionalProperties[k] = additionalProperties + sls.AdditionalProperties[k] = additionalProperties } case "connectVia": if v != nil { @@ -72059,7 +76842,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.ConnectVia = &connectVia + sls.ConnectVia = &connectVia } case "description": if v != nil { @@ -72068,7 +76851,25 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Description = &description + 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 { @@ -72077,7 +76878,7 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - ssls.Type = typeVar + sls.Type = typeVar } } } @@ -72085,20 +76886,40 @@ func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { return nil } -// SQLServerLinkedServiceTypeProperties SQL Server linked service properties. -type SQLServerLinkedServiceTypeProperties struct { - // ConnectionString - The connection string. - ConnectionString BasicSecretBase `json:"connectionString,omitempty"` - // UserName - The on-premises Windows authentication user name. Type: string (or Expression with resultType string). - UserName interface{} `json:"userName,omitempty"` - // Password - The on-premises Windows authentication password. +// SparkLinkedServiceTypeProperties spark Server linked service properties. +type SparkLinkedServiceTypeProperties struct { + // Host - IP address or host name of the Spark server + Host interface{} `json:"host,omitempty"` + // Port - The TCP port that the Spark server uses to listen for client connections. + Port interface{} `json:"port,omitempty"` + // ServerType - The type of Spark server. Possible values include: 'SharkServer', 'SharkServer2', 'SparkThriftServer' + ServerType SparkServerType `json:"serverType,omitempty"` + // ThriftTransportProtocol - The transport protocol to use in the Thrift layer. Possible values include: 'SparkThriftTransportProtocolBinary', 'SparkThriftTransportProtocolSASL', 'SparkThriftTransportProtocolHTTP' + ThriftTransportProtocol SparkThriftTransportProtocol `json:"thriftTransportProtocol,omitempty"` + // AuthenticationType - The authentication method used to access the Spark server. Possible values include: 'SparkAuthenticationTypeAnonymous', 'SparkAuthenticationTypeUsername', 'SparkAuthenticationTypeUsernameAndPassword', 'SparkAuthenticationTypeWindowsAzureHDInsightService' + AuthenticationType SparkAuthenticationType `json:"authenticationType,omitempty"` + // Username - The user name that you use to access Spark 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 Spark 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 SQLServerLinkedServiceTypeProperties struct. -func (sslstp *SQLServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for SparkLinkedServiceTypeProperties struct. +func (slstp *SparkLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -72106,308 +76927,130 @@ func (sslstp *SQLServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e } for k, v := range m { switch k { - case "connectionString": + case "host": if v != nil { - connectionString, err := unmarshalBasicSecretBase(*v) + var host interface{} + err = json.Unmarshal(*v, &host) if err != nil { return err } - sslstp.ConnectionString = connectionString + slstp.Host = host } - case "userName": + case "port": if v != nil { - var userName interface{} - err = json.Unmarshal(*v, &userName) + var port interface{} + err = json.Unmarshal(*v, &port) if err != nil { return err } - sslstp.UserName = userName + slstp.Port = port } - case "password": + case "serverType": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var serverType SparkServerType + err = json.Unmarshal(*v, &serverType) if err != nil { return err } - sslstp.Password = password + slstp.ServerType = serverType } - case "encryptedCredential": + case "thriftTransportProtocol": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var thriftTransportProtocol SparkThriftTransportProtocol + err = json.Unmarshal(*v, &thriftTransportProtocol) if err != nil { return err } - sslstp.EncryptedCredential = encryptedCredential + slstp.ThriftTransportProtocol = thriftTransportProtocol } - } - } - - 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"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', '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 - } - objectMap["type"] = ssspa.Type - for k, v := range ssspa.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { - return nil, false -} - -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { - return nil, false -} - -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { - return nil, false -} - -// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { - return nil, false -} - -// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) { - return nil, false -} - -// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, 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) { - return nil, false -} - -// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { - return nil, false -} - -// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { - return nil, false -} - -// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { - return nil, false -} - -// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { - return nil, false -} - -// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { - return nil, false -} - -// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { - return nil, false -} - -// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) { - return nil, false -} - -// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) { - return nil, false -} - -// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { - return &ssspa, true -} - -// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) { - return nil, false -} - -// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) { - return nil, false -} - -// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) { - return nil, false -} - -// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { - return nil, false -} - -// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. -func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { - return nil, false -} - -// 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 { - return err - } - for k, v := range m { - switch k { - case "typeProperties": + case "authenticationType": if v != nil { - var SQLServerStoredProcedureActivityTypeProperties SQLServerStoredProcedureActivityTypeProperties - err = json.Unmarshal(*v, &SQLServerStoredProcedureActivityTypeProperties) + var authenticationType SparkAuthenticationType + err = json.Unmarshal(*v, &authenticationType) if err != nil { return err } - ssspa.SQLServerStoredProcedureActivityTypeProperties = &SQLServerStoredProcedureActivityTypeProperties + slstp.AuthenticationType = authenticationType } - case "linkedServiceName": + case "username": if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) + var username interface{} + err = json.Unmarshal(*v, &username) if err != nil { return err } - ssspa.LinkedServiceName = &linkedServiceName + slstp.Username = username } - case "policy": + case "password": if v != nil { - var policy ActivityPolicy - err = json.Unmarshal(*v, &policy) + password, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - ssspa.Policy = &policy + slstp.Password = password } - default: + case "httpPath": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var HTTPPath interface{} + err = json.Unmarshal(*v, &HTTPPath) if err != nil { return err } - if ssspa.AdditionalProperties == nil { - ssspa.AdditionalProperties = make(map[string]interface{}) + slstp.HTTPPath = HTTPPath + } + case "enableSsl": + if v != nil { + var enableSsl interface{} + err = json.Unmarshal(*v, &enableSsl) + if err != nil { + return err } - ssspa.AdditionalProperties[k] = additionalProperties + slstp.EnableSsl = enableSsl } - case "name": + case "trustedCertPath": if v != nil { - var name string - err = json.Unmarshal(*v, &name) + var trustedCertPath interface{} + err = json.Unmarshal(*v, &trustedCertPath) if err != nil { return err } - ssspa.Name = &name + slstp.TrustedCertPath = trustedCertPath } - case "description": + case "useSystemTrustStore": if v != nil { - var description string - err = json.Unmarshal(*v, &description) + var useSystemTrustStore interface{} + err = json.Unmarshal(*v, &useSystemTrustStore) if err != nil { return err } - ssspa.Description = &description + slstp.UseSystemTrustStore = useSystemTrustStore } - case "dependsOn": + case "allowHostNameCNMismatch": if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) + var allowHostNameCNMismatch interface{} + err = json.Unmarshal(*v, &allowHostNameCNMismatch) if err != nil { return err } - ssspa.DependsOn = &dependsOn + slstp.AllowHostNameCNMismatch = allowHostNameCNMismatch } - case "type": + case "allowSelfSignedServerCert": if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) + var allowSelfSignedServerCert interface{} + err = json.Unmarshal(*v, &allowSelfSignedServerCert) if err != nil { return err } - ssspa.Type = typeVar + slstp.AllowSelfSignedServerCert = allowSelfSignedServerCert + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + slstp.EncryptedCredential = encryptedCredential } } } @@ -72415,28 +77058,8 @@ 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"` - // 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{}) - 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"` +// SparkObjectDataset spark Server dataset. +type SparkObjectDataset struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Description - Dataset description. @@ -72447,414 +77070,322 @@ type SQLServerTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `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 SparkObjectDataset. +func (sod SparkObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSparkObject objectMap := make(map[string]interface{}) - if sstd.SQLServerTableDatasetTypeProperties != nil { - objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties + if sod.Description != nil { + objectMap["description"] = sod.Description } - if sstd.Description != nil { - objectMap["description"] = sstd.Description + objectMap["structure"] = sod.Structure + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName } - objectMap["structure"] = sstd.Structure - if sstd.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sstd.LinkedServiceName + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters } - if sstd.Parameters != nil { - objectMap["parameters"] = sstd.Parameters + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations } - objectMap["type"] = sstd.Type - for k, v := range sstd.AdditionalProperties { + objectMap["type"] = sod.Type + for k, v := range sod.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { - return nil, false +// AsSparkObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { + return &sod, true } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsDrillTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsHTTPDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { - return &sstd, true +// AsAzureSearchIndexDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsWebTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsFileShareDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCustomDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SQLServerTableDataset. -func (sstd SQLServerTableDataset) AsBasicDataset() (BasicDataset, bool) { - return &sstd, true +// AsAmazonS3Dataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false } -// 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 { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var SQLServerTableDatasetTypeProperties SQLServerTableDatasetTypeProperties - err = json.Unmarshal(*v, &SQLServerTableDatasetTypeProperties) - if err != nil { - return err - } - sstd.SQLServerTableDatasetTypeProperties = &SQLServerTableDatasetTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if sstd.AdditionalProperties == nil { - sstd.AdditionalProperties = make(map[string]interface{}) - } - sstd.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - sstd.Description = &description - } - case "structure": - if v != nil { - var structure interface{} - err = json.Unmarshal(*v, &structure) - if err != nil { - return err - } - sstd.Structure = structure - } - case "linkedServiceName": - if v != nil { - var linkedServiceName LinkedServiceReference - err = json.Unmarshal(*v, &linkedServiceName) - if err != nil { - return err - } - sstd.LinkedServiceName = &linkedServiceName - } - case "parameters": - if v != nil { - var parameters map[string]*ParameterSpecification - err = json.Unmarshal(*v, ¶meters) - if err != nil { - return err - } - sstd.Parameters = parameters - } - case "type": - if v != nil { - var typeVar TypeBasicDataset - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sstd.Type = typeVar - } - } - } - - return nil +// AsDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsDataset() (*Dataset, bool) { + return nil, false } -// 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"` +// AsBasicDataset is the BasicDataset implementation for SparkObjectDataset. +func (sod SparkObjectDataset) AsBasicDataset() (BasicDataset, bool) { + return &sod, true } -// 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"` +// SparkSource a copy activity Spark Server source. +type SparkSource 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:""` - // 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"` - // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' - Type TypeBasicCopySink `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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `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 SparkSource. +func (ss SparkSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSparkSource objectMap := make(map[string]interface{}) - objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName - objectMap["sqlWriterTableType"] = ss.SQLWriterTableType - objectMap["preCopyScript"] = ss.PreCopyScript - if ss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters - } - objectMap["writeBatchSize"] = ss.WriteBatchSize - objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout - objectMap["sinkRetryCount"] = ss.SinkRetryCount - objectMap["sinkRetryWait"] = ss.SinkRetryWait + objectMap["query"] = ss.Query + objectMap["sourceRetryCount"] = ss.SourceRetryCount + objectMap["sourceRetryWait"] = ss.SourceRetryWait objectMap["type"] = ss.Type for k, v := range ss.AdditionalProperties { objectMap[k] = v @@ -72862,1883 +77393,5428 @@ func (ss SQLSink) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// AsSalesforceSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { - return nil, false -} - -// AsDynamicsSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsOdbcSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { +// AsVerticaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { +// AsZohoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsOracleSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsOracleSink() (*OracleSink, bool) { +// AsXeroSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsXeroSource() (*XeroSource, bool) { return nil, false } -// AsSQLDWSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { +// AsSquareSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsSQLSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSQLSink() (*SQLSink, bool) { +// AsSparkSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSparkSource() (*SparkSource, bool) { return &ss, true } -// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { +// AsShopifySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsFileSystemSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsFileSystemSink() (*FileSystemSink, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsBlobSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBlobSink() (*BlobSink, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsAzureTableSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureTableSink() (*AzureTableSink, bool) { +// AsPrestoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsAzureQueueSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { +// AsPaypalSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsCopySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsCopySink() (*CopySink, bool) { +// AsMarketoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsBasicCopySink is the BasicCopySink implementation for SQLSink. -func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) { - return &ss, true -} - -// 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"` - // 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` +// AsMariaDBSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for SQLSource. -func (ss SQLSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSQLSource - objectMap := make(map[string]interface{}) - objectMap["sqlReaderQuery"] = ss.SQLReaderQuery - objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName - if ss.StoredProcedureParameters != nil { - objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters - } - objectMap["sourceRetryCount"] = ss.SourceRetryCount - objectMap["sourceRetryWait"] = ss.SourceRetryWait - objectMap["type"] = ss.Type - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsMagentoSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false } -// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsJiraSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) { +// AsImpalaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsXeroSource() (*XeroSource, bool) { +// AsHubspotSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsSquareSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSquareSource() (*SquareSource, bool) { +// AsHiveSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsSparkSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSparkSource() (*SparkSource, bool) { +// AsHBaseSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsShopifySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsServiceNowSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsQuickBooksSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { +// AsEloquaSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsPrestoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) { +// AsDrillSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsPhoenixSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsPaypalSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) { +// AsConcurSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsMarketoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsMariaDBSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsMagentoSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) { +// AsHTTPSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsJiraSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsJiraSource() (*JiraSource, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsImpalaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsHubspotSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) { +// AsCassandraSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsHiveSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHiveSource() (*HiveSource, bool) { +// AsWebSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsHBaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) { +// AsOracleSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsGreenplumSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsHdfsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDrillSource() (*DrillSource, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLDWSource() (*SQLDWSource, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsSQLSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) { +// AsSapEccSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsHTTPSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) { +// AsRelationalSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) { +// AsBlobSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsWebSource() (*WebSource, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { +// AsCopySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsBasicCopySource is the BasicCopySource implementation for SparkSource. +func (ss SparkSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// SQLDWSink a copy activity SQL Data Warehouse sink. +type SQLDWSink struct { + // PreCopyScript - SQL pre-copy script. Type: string (or Expression with resultType string). + PreCopyScript interface{} `json:"preCopyScript,omitempty"` + // AllowPolyBase - Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean). + AllowPolyBase interface{} `json:"allowPolyBase,omitempty"` + // PolyBaseSettings - Specifies PolyBase-related settings when allowPolyBase is true. + PolyBaseSettings *PolybaseSettings `json:"polyBaseSettings,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"` + // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLDWSink. +func (sds SQLDWSink) MarshalJSON() ([]byte, error) { + sds.Type = TypeSQLDWSink + objectMap := make(map[string]interface{}) + objectMap["preCopyScript"] = sds.PreCopyScript + objectMap["allowPolyBase"] = sds.AllowPolyBase + if sds.PolyBaseSettings != nil { + objectMap["polyBaseSettings"] = sds.PolyBaseSettings + } + objectMap["writeBatchSize"] = sds.WriteBatchSize + objectMap["writeBatchTimeout"] = sds.WriteBatchTimeout + objectMap["sinkRetryCount"] = sds.SinkRetryCount + objectMap["sinkRetryWait"] = sds.SinkRetryWait + objectMap["type"] = sds.Type + for k, v := range sds.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSalesforceSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsOdbcSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsSQLSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSQLSource() (*SQLSource, bool) { - return &ss, true +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { + return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLDWSink() (*SQLDWSink, bool) { + return &sds, true +} + +// AsSQLSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSQLSink() (*SQLSink, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { +// AsFileSystemSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsFileSystemSink() (*FileSystemSink, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsBlobSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsBlobSink() (*BlobSink, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsAzureTableSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureTableSink() (*AzureTableSink, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBlobSource() (*BlobSource, bool) { +// AsAzureQueueSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsAzureQueueSink() (*AzureQueueSink, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsCopySource() (*CopySource, bool) { +// AsCopySink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsCopySink() (*CopySink, bool) { return nil, false } -// AsBasicCopySource is the BasicCopySource implementation for SQLSource. -func (ss SQLSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, true +// AsBasicCopySink is the BasicCopySink implementation for SQLDWSink. +func (sds SQLDWSink) AsBasicCopySink() (BasicCopySink, bool) { + return &sds, true } -// SquareLinkedService square Serivce linked service. -type SquareLinkedService struct { - // SquareLinkedServiceTypeProperties - Square Serivce linked service properties. - *SquareLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// SQLDWSource a copy activity SQL Data Warehouse source. +type SQLDWSource struct { + // SQLReaderQuery - SQL Data Warehouse reader query. Type: string (or Expression with resultType string). + SQLReaderQuery interface{} `json:"sqlReaderQuery,omitempty"` + // SQLReaderStoredProcedureName - Name of the stored procedure for a SQL Data Warehouse 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"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. + StoredProcedureParameters interface{} `json:"storedProcedureParameters,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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', '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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + 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 SQLDWSource. +func (sds SQLDWSource) MarshalJSON() ([]byte, error) { + sds.Type = TypeSQLDWSource objectMap := make(map[string]interface{}) - if sls.SquareLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties - } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia - } - if sls.Description != nil { - objectMap["description"] = sls.Description - } - objectMap["type"] = sls.Type - for k, v := range sls.AdditionalProperties { + objectMap["sqlReaderQuery"] = sds.SQLReaderQuery + objectMap["sqlReaderStoredProcedureName"] = sds.SQLReaderStoredProcedureName + objectMap["storedProcedureParameters"] = sds.StoredProcedureParameters + objectMap["sourceRetryCount"] = sds.SourceRetryCount + objectMap["sourceRetryWait"] = sds.SourceRetryWait + objectMap["type"] = sds.Type + for k, v := range sds.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsVerticaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsVerticaSource() (*VerticaSource, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsNetezzaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsNetezzaSource() (*NetezzaSource, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsZohoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsZohoSource() (*ZohoSource, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return &sls, true +// AsXeroSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsXeroSource() (*XeroSource, bool) { + return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSquareSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSquareSource() (*SquareSource, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsSparkSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSparkSource() (*SparkSource, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsShopifySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsShopifySource() (*ShopifySource, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsServiceNowSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsServiceNowSource() (*ServiceNowSource, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsQuickBooksSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsQuickBooksSource() (*QuickBooksSource, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPrestoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPrestoSource() (*PrestoSource, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPhoenixSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPhoenixSource() (*PhoenixSource, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsPaypalSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsPaypalSource() (*PaypalSource, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMarketoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMarketoSource() (*MarketoSource, bool) { return nil, false } -// AsMagentoLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { +// AsMariaDBSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMariaDBSource() (*MariaDBSource, bool) { return nil, false } -// AsJiraLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { +// AsMagentoSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMagentoSource() (*MagentoSource, bool) { return nil, false } -// AsImpalaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { +// AsJiraSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsJiraSource() (*JiraSource, bool) { return nil, false } -// AsHubspotLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { +// AsImpalaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsImpalaSource() (*ImpalaSource, bool) { return nil, false } -// AsHiveLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { +// AsHubspotSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHubspotSource() (*HubspotSource, bool) { return nil, false } -// AsHBaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { +// AsHiveSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHiveSource() (*HiveSource, bool) { return nil, false } -// AsGreenplumLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { +// AsHBaseSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { +// AsGreenplumSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsGreenplumSource() (*GreenplumSource, bool) { return nil, false } -// AsEloquaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { return nil, false } -// AsDrillLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { +// AsEloquaSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsEloquaSource() (*EloquaSource, bool) { return nil, false } -// AsCouchbaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { +// AsDrillSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDrillSource() (*DrillSource, bool) { return nil, false } -// AsConcurLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { +// AsCouchbaseSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCouchbaseSource() (*CouchbaseSource, bool) { return nil, false } -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { +// AsConcurSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsConcurSource() (*ConcurSource, bool) { return nil, false } -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { return nil, false } -// AsSapHanaLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { +// AsAmazonMWSSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { return nil, false } -// AsSapBWLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { +// AsHTTPSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHTTPSource() (*HTTPSource, bool) { return nil, false } -// AsSftpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsMongoDbSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsMongoDbSource() (*MongoDbSource, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsCassandraSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCassandraSource() (*CassandraSource, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsWebSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsWebSource() (*WebSource, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsOracleSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsOracleSource() (*OracleSource, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMySQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsHdfsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsHdfsSource() (*HdfsSource, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsFileSystemSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsFileSystemSource() (*FileSystemSource, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsSQLDWSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLDWSource() (*SQLDWSource, bool) { + return &sds, true +} + +// AsSQLSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSQLSource() (*SQLSource, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsSapEccSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapEccSource() (*SapEccSource, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsSalesforceSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsSalesforceSource() (*SalesforceSource, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsRelationalSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsRelationalSource() (*RelationalSource, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsDynamicsSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDynamicsSource() (*DynamicsSource, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsBlobSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBlobSource() (*BlobSource, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureTableSource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsAzureTableSource() (*AzureTableSource, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsCopySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsCopySource() (*CopySource, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsBasicCopySource is the BasicCopySource implementation for SQLDWSource. +func (sds SQLDWSource) AsBasicCopySource() (BasicCopySource, bool) { + return &sds, true +} + +// SQLServerLinkedService SQL Server linked service. +type SQLServerLinkedService struct { + // SQLServerLinkedServiceTypeProperties - SQL Server linked service properties. + *SQLServerLinkedServiceTypeProperties `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLServerLinkedService. +func (ssls SQLServerLinkedService) MarshalJSON() ([]byte, error) { + ssls.Type = TypeSQLServer + objectMap := make(map[string]interface{}) + if ssls.SQLServerLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = ssls.SQLServerLinkedServiceTypeProperties + } + if ssls.ConnectVia != nil { + objectMap["connectVia"] = ssls.ConnectVia + } + if ssls.Description != nil { + objectMap["description"] = ssls.Description + } + if ssls.Parameters != nil { + objectMap["parameters"] = ssls.Parameters + } + if ssls.Annotations != nil { + objectMap["annotations"] = ssls.Annotations + } + objectMap["type"] = ssls.Type + for k, v := range ssls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsVerticaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsXeroLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsSquareLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsSparkLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsShopifyLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsServiceNowLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsPrestoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsPhoenixLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SquareLinkedService. -func (sls SquareLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsJiraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false } -// 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 { - return err - } - for k, v := range m { - switch k { - case "typeProperties": - if v != nil { - var squareLinkedServiceTypeProperties SquareLinkedServiceTypeProperties - err = json.Unmarshal(*v, &squareLinkedServiceTypeProperties) - if err != nil { - return err - } - sls.SquareLinkedServiceTypeProperties = &squareLinkedServiceTypeProperties - } - 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 "type": - if v != nil { - var typeVar TypeBasicLinkedService - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - sls.Type = typeVar - } - } - } - - return nil -} - -// SquareLinkedServiceTypeProperties square Serivce 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 -} - -// SquareObjectDataset square Serivce dataset. -type SquareObjectDataset 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"` - // LinkedServiceName - Linked service reference. - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - // Parameters - Parameters for dataset. - Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' - Type TypeBasicDataset `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SquareObjectDataset. -func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) { - sod.Type = TypeSquareObject - objectMap := make(map[string]interface{}) - if sod.Description != nil { - objectMap["description"] = sod.Description - } - objectMap["structure"] = sod.Structure - if sod.LinkedServiceName != nil { - objectMap["linkedServiceName"] = sod.LinkedServiceName - } - if sod.Parameters != nil { - objectMap["parameters"] = sod.Parameters - } - objectMap["type"] = sod.Type - for k, v := range sod.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { - return nil, false -} - -// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { +// AsImpalaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { return nil, false } -// 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) { +// AsHubspotLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { return nil, false } -// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { +// AsHiveLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { return nil, false } -// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { +// AsHBaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { return nil, false } -// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { +// AsGreenplumLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { return nil, false } -// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { return nil, false } -// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { +// AsEloquaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { return nil, false } -// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { +// AsDrillLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { return nil, false } -// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { return nil, false } -// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { +// AsConcurLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { return nil, false } -// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { return nil, false } -// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { return nil, false } -// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { +// AsSapHanaLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { return nil, false } -// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { +// AsSapBWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { return nil, false } -// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { +// AsSftpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { return nil, false } -// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { +// AsFtpServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { return nil, false } -// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { +// AsHTTPLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { return nil, false } -// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { return nil, false } -// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { return nil, false } -// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { return nil, false } -// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { return nil, false } -// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { +// AsSapEccLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { return nil, false } -// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { return nil, false } -// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { +// AsSalesforceLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { return nil, false } -// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { return nil, false } -// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { +// AsMongoDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { return nil, false } -// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { +// AsCassandraLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { return nil, false } -// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { +// AsWebLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { return nil, false } -// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { +// AsODataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { return nil, false } -// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { +// AsHdfsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { return nil, false } -// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { +// AsOdbcLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { return nil, false } -// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { +// AsAzureMLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { return nil, false } -// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { +// AsTeradataLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { return nil, false } -// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { +// AsDb2LinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { return nil, false } -// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { +// AsSybaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { return nil, false } -// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { return nil, false } -// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { +// AsMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { return nil, false } -// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { return nil, false } -// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { +// AsOracleLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { return nil, false } -// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { +// AsFileServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { return nil, false } -// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) { +// AsHDInsightLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { return nil, false } -// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { +// AsDynamicsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { return nil, false } -// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { return nil, false } -// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { return nil, false } -// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { return nil, false } -// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { return nil, false } -// AsAmazonS3Dataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { - return nil, false +// AsSQLServerLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return &ssls, true } -// AsDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsDataset() (*Dataset, bool) { +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { return nil, false } -// AsBasicDataset is the BasicDataset implementation for SquareObjectDataset. -func (sod SquareObjectDataset) AsBasicDataset() (BasicDataset, bool) { - return &sod, true -} - -// SquareSource a copy activity Square Serivce source. -type SquareSource 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' - Type TypeBasicCopySource `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for SquareSource. -func (ss SquareSource) MarshalJSON() ([]byte, error) { - ss.Type = TypeSquareSource - objectMap := make(map[string]interface{}) - objectMap["query"] = ss.Query - objectMap["sourceRetryCount"] = ss.SourceRetryCount - objectMap["sourceRetryWait"] = ss.SourceRetryWait - objectMap["type"] = ss.Type - for k, v := range ss.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { +// AsAzureStorageLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { return nil, false } -// AsZohoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) { +// AsLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsLinkedService() (*LinkedService, bool) { return nil, false } -// AsXeroSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsXeroSource() (*XeroSource, bool) { - return nil, false +// AsBasicLinkedService is the BasicLinkedService implementation for SQLServerLinkedService. +func (ssls SQLServerLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &ssls, true } -// AsSquareSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSquareSource() (*SquareSource, bool) { - return &ss, true -} +// UnmarshalJSON is the custom unmarshaler for SQLServerLinkedService struct. +func (ssls *SQLServerLinkedService) UnmarshalJSON(body []byte) error { + 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 SQLServerLinkedServiceTypeProperties SQLServerLinkedServiceTypeProperties + err = json.Unmarshal(*v, &SQLServerLinkedServiceTypeProperties) + if err != nil { + return err + } + ssls.SQLServerLinkedServiceTypeProperties = &SQLServerLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ssls.AdditionalProperties == nil { + ssls.AdditionalProperties = make(map[string]interface{}) + } + ssls.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + ssls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ssls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + ssls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + ssls.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ssls.Type = typeVar + } + } + } -// AsSparkSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSparkSource() (*SparkSource, bool) { - return nil, false + return nil } -// AsShopifySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) { - return nil, false +// SQLServerLinkedServiceTypeProperties SQL Server linked service properties. +type SQLServerLinkedServiceTypeProperties struct { + // ConnectionString - The connection string. + ConnectionString BasicSecretBase `json:"connectionString,omitempty"` + // UserName - The on-premises Windows authentication user name. Type: string (or Expression with resultType string). + UserName interface{} `json:"userName,omitempty"` + // Password - The on-premises Windows authentication password. + 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"` } -// AsServiceNowSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) { - return nil, false -} - -// AsQuickBooksSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) { - return nil, false -} - -// AsPrestoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) { - return nil, false -} - -// AsPhoenixSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) { - return nil, false -} - -// AsPaypalSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) { - return nil, false -} - -// AsMarketoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) { - return nil, false -} - -// AsMariaDBSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) { - return nil, false -} - -// AsMagentoSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) { - return nil, false -} - -// AsJiraSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsJiraSource() (*JiraSource, bool) { - return nil, false -} - -// AsImpalaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) { - return nil, false -} +// UnmarshalJSON is the custom unmarshaler for SQLServerLinkedServiceTypeProperties struct. +func (sslstp *SQLServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "connectionString": + if v != nil { + connectionString, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + sslstp.ConnectionString = connectionString + } + case "userName": + if v != nil { + var userName interface{} + err = json.Unmarshal(*v, &userName) + if err != nil { + return err + } + sslstp.UserName = userName + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + sslstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + sslstp.EncryptedCredential = encryptedCredential + } + } + } -// AsHubspotSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) { - return nil, false + return nil } -// AsHiveSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHiveSource() (*HiveSource, bool) { - return nil, false +// 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"` + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// AsHBaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) { - return nil, false +// 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 + } + objectMap["type"] = ssspa.Type + for k, v := range ssspa.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsGreenplumSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsEloquaSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsDrillSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDrillSource() (*DrillSource, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsCouchbaseSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsConcurSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) { +// AsWebActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { +// AsLookupActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { - return nil, false +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { + return &ssspa, true } -// AsHTTPSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) { +// AsCustomActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { +// AsExecuteSSISPackageActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { return nil, false } -// AsMongoDbSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsCassandraSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsWebSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsWebSource() (*WebSource, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsOracleSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsHdfsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) { +// AsCopyActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsFileSystemSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) { +// AsExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsSQLDWSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { - return nil, false +// AsBasicExecutionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { + return &ssspa, true } -// AsSQLSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSQLSource() (*SQLSource, bool) { +// AsFilterActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsSapEccSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) { +// AsUntilActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false } -// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { +// AsWaitActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsSalesforceSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { +// AsForEachActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsRelationalSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { +// AsIfConditionActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsDynamicsSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { +// AsControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsBlobSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBlobSource() (*BlobSource, bool) { +// AsBasicControlActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicControlActivity() (BasicControlActivity, bool) { return nil, false } -// AsAzureTableSource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { +// AsActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsCopySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsCopySource() (*CopySource, bool) { - return nil, false +// AsBasicActivity is the BasicActivity implementation for SQLServerStoredProcedureActivity. +func (ssspa SQLServerStoredProcedureActivity) AsBasicActivity() (BasicActivity, bool) { + return &ssspa, true } -// AsBasicCopySource is the BasicCopySource implementation for SquareSource. -func (ss SquareSource) AsBasicCopySource() (BasicCopySource, bool) { - return &ss, 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var SQLServerStoredProcedureActivityTypeProperties SQLServerStoredProcedureActivityTypeProperties + err = json.Unmarshal(*v, &SQLServerStoredProcedureActivityTypeProperties) + if err != nil { + return err + } + ssspa.SQLServerStoredProcedureActivityTypeProperties = &SQLServerStoredProcedureActivityTypeProperties + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + ssspa.LinkedServiceName = &linkedServiceName + } + case "policy": + if v != nil { + var policy ActivityPolicy + err = json.Unmarshal(*v, &policy) + if err != nil { + return err + } + ssspa.Policy = &policy + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if ssspa.AdditionalProperties == nil { + ssspa.AdditionalProperties = make(map[string]interface{}) + } + ssspa.AdditionalProperties[k] = additionalProperties + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + ssspa.Name = &name + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + ssspa.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + ssspa.DependsOn = &dependsOn + } + case "type": + if v != nil { + var typeVar TypeBasicActivity + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + ssspa.Type = typeVar + } + } + } -// SSISPackageLocation SSIS package location. -type SSISPackageLocation struct { - // PackagePath - The SSIS package path. - PackagePath *string `json:"packagePath,omitempty"` + return nil } -// 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"` +// 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"` } -// MarshalJSON is the custom marshaler for StagingSettings. -func (ss StagingSettings) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for SQLServerStoredProcedureActivityTypeProperties. +func (ssspatp SQLServerStoredProcedureActivityTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if ss.LinkedServiceName != nil { - objectMap["linkedServiceName"] = ss.LinkedServiceName - } - objectMap["path"] = ss.Path - objectMap["enableCompression"] = ss.EnableCompression - for k, v := range ss.AdditionalProperties { - objectMap[k] = v + objectMap["storedProcedureName"] = ssspatp.StoredProcedureName + if ssspatp.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ssspatp.StoredProcedureParameters } return json.Marshal(objectMap) } -// 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: 'StoredProcedureParameterTypeString', 'StoredProcedureParameterTypeInt', 'StoredProcedureParameterTypeDecimal', 'StoredProcedureParameterTypeGUID', 'StoredProcedureParameterTypeBoolean', 'StoredProcedureParameterTypeDate' - Type StoredProcedureParameterType `json:"type,omitempty"` -} - -// SubResource azure Data Factory nested resource, which belongs to a factory. -type SubResource struct { - // ID - The resource identifier. - ID *string `json:"id,omitempty"` - // Name - The resource name. - Name *string `json:"name,omitempty"` - // Type - The resource type. - Type *string `json:"type,omitempty"` - // Etag - 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"` +// 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:""` - // ConnectVia - The integration runtime reference. - ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` - // Description - Linked service description. + // Description - Dataset description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', '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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) MarshalJSON() ([]byte, error) { + sstd.Type = TypeSQLServerTable objectMap := make(map[string]interface{}) - if sls.SybaseLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = sls.SybaseLinkedServiceTypeProperties + if sstd.SQLServerTableDatasetTypeProperties != nil { + objectMap["typeProperties"] = sstd.SQLServerTableDatasetTypeProperties } - if sls.ConnectVia != nil { - objectMap["connectVia"] = sls.ConnectVia + if sstd.Description != nil { + objectMap["description"] = sstd.Description } - if sls.Description != nil { - objectMap["description"] = sls.Description + objectMap["structure"] = sstd.Structure + if sstd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sstd.LinkedServiceName } - objectMap["type"] = sls.Type - for k, v := range sls.AdditionalProperties { + if sstd.Parameters != nil { + objectMap["parameters"] = sstd.Parameters + } + if sstd.Annotations != nil { + objectMap["annotations"] = sstd.Annotations + } + objectMap["type"] = sstd.Type + for k, v := range sstd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { +// AsVerticaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { return nil, false } -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsShopifyLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { +// AsShopifyObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { return nil, false } -// AsServiceNowLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { +// AsServiceNowObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { return nil, false } -// AsQuickBooksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { +// AsQuickBooksObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { return nil, false } -// AsPrestoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { +// AsPrestoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { return nil, false } -// AsPhoenixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { +// AsPhoenixObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { return nil, false } -// AsPaypalLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { +// AsPaypalObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { return nil, false } -// AsMarketoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) 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 SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsFtpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return &sstd, true +} + +// AsSapEccResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsHTTPLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsAzureSearchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { +// AsRelationalTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { return nil, false } -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsAmazonS3LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { +// AsOracleTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { return nil, false } -// AsSapEccLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { +// AsODataResourceDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { return nil, false } -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsMongoDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { +// AsFileShareDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { return nil, false } -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsDynamicsEntityDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsCustomDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCustomDataset() (*CustomDataset, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsCassandraTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsAzureSQLTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsAzureTableDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { +// AsAzureBlobDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsAmazonS3Dataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { - return &sls, true +// AsDataset is the BasicDataset implementation for SQLServerTableDataset. +func (sstd SQLServerTableDataset) AsDataset() (*Dataset, bool) { + return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var SQLServerTableDatasetTypeProperties SQLServerTableDatasetTypeProperties + err = json.Unmarshal(*v, &SQLServerTableDatasetTypeProperties) + if err != nil { + return err + } + sstd.SQLServerTableDatasetTypeProperties = &SQLServerTableDatasetTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if sstd.AdditionalProperties == nil { + sstd.AdditionalProperties = make(map[string]interface{}) + } + sstd.AdditionalProperties[k] = additionalProperties + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + sstd.Description = &description + } + case "structure": + if v != nil { + var structure interface{} + err = json.Unmarshal(*v, &structure) + if err != nil { + return err + } + sstd.Structure = structure + } + case "linkedServiceName": + if v != nil { + var linkedServiceName LinkedServiceReference + err = json.Unmarshal(*v, &linkedServiceName) + if err != nil { + return err + } + sstd.LinkedServiceName = &linkedServiceName + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + sstd.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + sstd.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicDataset + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + sstd.Type = typeVar + } + } + } + + 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"` + // 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"` + // Type - Possible values include: 'TypeCopySink', 'TypeSalesforceSink', 'TypeDynamicsSink', 'TypeOdbcSink', 'TypeAzureSearchIndexSink', 'TypeAzureDataLakeStoreSink', 'TypeOracleSink', 'TypeSQLDWSink', 'TypeSQLSink', 'TypeDocumentDbCollectionSink', 'TypeFileSystemSink', 'TypeBlobSink', 'TypeAzureTableSink', 'TypeAzureQueueSink', 'TypeSapCloudForCustomerSink' + Type TypeBasicCopySink `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLSink. +func (ss SQLSink) MarshalJSON() ([]byte, error) { + ss.Type = TypeSQLSink + objectMap := make(map[string]interface{}) + objectMap["sqlWriterStoredProcedureName"] = ss.SQLWriterStoredProcedureName + objectMap["sqlWriterTableType"] = ss.SQLWriterTableType + objectMap["preCopyScript"] = ss.PreCopyScript + if ss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters + } + objectMap["writeBatchSize"] = ss.WriteBatchSize + objectMap["writeBatchTimeout"] = ss.WriteBatchTimeout + objectMap["sinkRetryCount"] = ss.SinkRetryCount + objectMap["sinkRetryWait"] = ss.SinkRetryWait + objectMap["type"] = ss.Type + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsSalesforceSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSalesforceSink() (*SalesforceSink, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsDynamicsSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDynamicsSink() (*DynamicsSink, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsOdbcSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOdbcSink() (*OdbcSink, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsAzureSearchIndexSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureSearchIndexSink() (*AzureSearchIndexSink, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsAzureDataLakeStoreSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureDataLakeStoreSink() (*AzureDataLakeStoreSink, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsOracleSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsOracleSink() (*OracleSink, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsSQLDWSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLDWSink() (*SQLDWSink, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { +// AsSQLSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSQLSink() (*SQLSink, bool) { + return &ss, true +} + +// AsDocumentDbCollectionSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsDocumentDbCollectionSink() (*DocumentDbCollectionSink, bool) { + return nil, false +} + +// AsFileSystemSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsFileSystemSink() (*FileSystemSink, bool) { + return nil, false +} + +// AsBlobSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBlobSink() (*BlobSink, bool) { + return nil, false +} + +// AsAzureTableSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureTableSink() (*AzureTableSink, bool) { + return nil, false +} + +// AsAzureQueueSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsAzureQueueSink() (*AzureQueueSink, bool) { + return nil, false +} + +// AsSapCloudForCustomerSink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsSapCloudForCustomerSink() (*SapCloudForCustomerSink, bool) { + return nil, false +} + +// AsCopySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsCopySink() (*CopySink, bool) { + return nil, false +} + +// AsBasicCopySink is the BasicCopySink implementation for SQLSink. +func (ss SQLSink) AsBasicCopySink() (BasicCopySink, bool) { + return &ss, true +} + +// 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"` + // 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SQLSource. +func (ss SQLSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSQLSource + objectMap := make(map[string]interface{}) + objectMap["sqlReaderQuery"] = ss.SQLReaderQuery + objectMap["sqlReaderStoredProcedureName"] = ss.SQLReaderStoredProcedureName + if ss.StoredProcedureParameters != nil { + objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters + } + objectMap["sourceRetryCount"] = ss.SourceRetryCount + objectMap["sourceRetryWait"] = ss.SourceRetryWait + objectMap["type"] = ss.Type + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSquareSource() (*SquareSource, bool) { + return nil, false +} + +// AsSparkSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHBaseSource() (*HBaseSource, bool) { return nil, false } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { - return nil, false +// AsGreenplumSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSQLSource() (*SQLSource, bool) { + return &ss, true +} + +// AsSapEccSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SQLSource. +func (ss SQLSource) AsAzureTableSource() (*AzureTableSource, 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 +} + +// SquareLinkedService square Serivce linked service. +type SquareLinkedService struct { + // SquareLinkedServiceTypeProperties - Square Serivce linked service properties. + *SquareLinkedServiceTypeProperties `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SquareLinkedService. +func (sls SquareLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSquare + objectMap := make(map[string]interface{}) + if sls.SquareLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SquareLinkedServiceTypeProperties + } + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia + } + if sls.Description != nil { + objectMap["description"] = sls.Description + } + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + objectMap["type"] = sls.Type + for k, v := range sls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// 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 +} + +// 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 +} + +// 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 +} + +// 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 +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SquareLinkedService. +func (sls SquareLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + var squareLinkedServiceTypeProperties SquareLinkedServiceTypeProperties + err = json.Unmarshal(*v, &squareLinkedServiceTypeProperties) + if err != nil { + return err + } + sls.SquareLinkedServiceTypeProperties = &squareLinkedServiceTypeProperties + } + 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 +} + +// SquareLinkedServiceTypeProperties square Serivce 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 +} + +// SquareObjectDataset square Serivce dataset. +type SquareObjectDataset 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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SquareObjectDataset. +func (sod SquareObjectDataset) MarshalJSON() ([]byte, error) { + sod.Type = TypeSquareObject + objectMap := make(map[string]interface{}) + if sod.Description != nil { + objectMap["description"] = sod.Description + } + objectMap["structure"] = sod.Structure + if sod.LinkedServiceName != nil { + objectMap["linkedServiceName"] = sod.LinkedServiceName + } + if sod.Parameters != nil { + objectMap["parameters"] = sod.Parameters + } + if sod.Annotations != nil { + objectMap["annotations"] = sod.Annotations + } + objectMap["type"] = sod.Type + for k, v := range sod.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsVerticaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + +// AsZohoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { + return nil, false +} + +// AsXeroObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { + return nil, false +} + +// 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 +} + +// AsShopifyObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false +} + +// AsServiceNowObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} + +// AsQuickBooksObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false +} + +// AsPrestoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false +} + +// AsPhoenixObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false +} + +// AsPaypalObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false +} + +// AsMarketoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { + return nil, false +} + +// AsMariaDBTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { + return nil, false +} + +// AsMagentoObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { + return nil, false +} + +// AsJiraObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { + return nil, false +} + +// AsImpalaObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { + return nil, false +} + +// AsHubspotObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { + return nil, false +} + +// AsHiveObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { + return nil, false +} + +// AsHBaseObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { + return nil, false +} + +// AsGreenplumTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { + return nil, false +} + +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { + return nil, false +} + +// AsEloquaObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { + return nil, false +} + +// AsDrillTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { + return nil, false +} + +// AsCouchbaseTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { + return nil, false +} + +// AsConcurObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { + return nil, false +} + +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { + return nil, false +} + +// AsAmazonMWSObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { + return nil, false +} + +// AsHTTPDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsHTTPDataset() (*HTTPDataset, bool) { + return nil, false +} + +// AsAzureSearchIndexDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false +} + +// AsWebTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsWebTableDataset() (*WebTableDataset, bool) { + return nil, false +} + +// AsSQLServerTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { + return nil, false +} + +// AsSapEccResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { + return nil, false +} + +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { + return nil, false +} + +// AsSalesforceObjectDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { + return nil, false +} + +// AsRelationalTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false +} + +// AsAzureMySQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { + return nil, false +} + +// AsOracleTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false +} + +// AsODataResourceDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} + +// AsMongoDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false +} + +// AsFileShareDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false +} + +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} + +// AsDynamicsEntityDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false +} + +// AsDocumentDbCollectionDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false +} + +// AsCustomDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for SquareObjectDataset. +func (sod SquareObjectDataset) AsAzureBlobDataset() (*AzureBlobDataset, 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 +} + +// SquareSource a copy activity Square Serivce source. +type SquareSource 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SquareSource. +func (ss SquareSource) MarshalJSON() ([]byte, error) { + ss.Type = TypeSquareSource + objectMap := make(map[string]interface{}) + objectMap["query"] = ss.Query + objectMap["sourceRetryCount"] = ss.SourceRetryCount + objectMap["sourceRetryWait"] = ss.SourceRetryWait + objectMap["type"] = ss.Type + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAmazonRedshiftSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false +} + +// AsVerticaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + +// AsZohoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false +} + +// AsXeroSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsXeroSource() (*XeroSource, bool) { + return nil, false +} + +// AsSquareSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSquareSource() (*SquareSource, bool) { + return &ss, true +} + +// AsSparkSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSparkSource() (*SparkSource, bool) { + return nil, false +} + +// AsShopifySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false +} + +// AsServiceNowSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsServiceNowSource() (*ServiceNowSource, bool) { + return nil, false +} + +// AsQuickBooksSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false +} + +// AsPrestoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false +} + +// AsPhoenixSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false +} + +// AsPaypalSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false +} + +// AsMarketoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMarketoSource() (*MarketoSource, bool) { + return nil, false +} + +// AsMariaDBSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false +} + +// AsMagentoSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMagentoSource() (*MagentoSource, bool) { + return nil, false +} + +// AsJiraSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsJiraSource() (*JiraSource, bool) { + return nil, false +} + +// AsImpalaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAmazonMWSSource() (*AmazonMWSSource, bool) { + return nil, false +} + +// AsHTTPSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHTTPSource() (*HTTPSource, bool) { + return nil, false +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, bool) { + return nil, false +} + +// AsMongoDbSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsMongoDbSource() (*MongoDbSource, bool) { + return nil, false +} + +// AsCassandraSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCassandraSource() (*CassandraSource, bool) { + return nil, false +} + +// AsWebSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsWebSource() (*WebSource, bool) { + return nil, false +} + +// AsOracleSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsOracleSource() (*OracleSource, bool) { + return nil, false +} + +// AsAzureMySQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureMySQLSource() (*AzureMySQLSource, bool) { + return nil, false +} + +// AsHdfsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsHdfsSource() (*HdfsSource, bool) { + return nil, false +} + +// AsFileSystemSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsFileSystemSource() (*FileSystemSource, bool) { + return nil, false +} + +// AsSQLDWSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLDWSource() (*SQLDWSource, bool) { + return nil, false +} + +// AsSQLSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsRelationalSource() (*RelationalSource, bool) { + return nil, false +} + +// AsDynamicsSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDynamicsSource() (*DynamicsSource, bool) { + return nil, false +} + +// AsDocumentDbCollectionSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsDocumentDbCollectionSource() (*DocumentDbCollectionSource, bool) { + return nil, false +} + +// AsBlobSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBlobSource() (*BlobSource, bool) { + return nil, false +} + +// AsAzureTableSource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for SquareSource. +func (ss SquareSource) AsBasicCopySource() (BasicCopySource, bool) { + return &ss, true +} + +// SSISPackageLocation SSIS package location. +type SSISPackageLocation struct { + // PackagePath - The SSIS package path. + PackagePath *string `json:"packagePath,omitempty"` +} + +// 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"` +} + +// 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 + } + objectMap["path"] = ss.Path + objectMap["enableCompression"] = ss.EnableCompression + for k, v := range ss.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// 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', 'Decimal', 'GUID', 'Boolean', 'Date' + Type StoredProcedureParameterType `json:"type,omitempty"` +} + +// SubResource azure Data Factory nested resource, which belongs to a factory. +type SubResource struct { + // ID - The resource identifier. + ID *string `json:"id,omitempty"` + // Name - The resource name. + Name *string `json:"name,omitempty"` + // Type - The resource type. + Type *string `json:"type,omitempty"` + // Etag - 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:""` + // 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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for SybaseLinkedService. +func (sls SybaseLinkedService) MarshalJSON() ([]byte, error) { + sls.Type = TypeSybase + objectMap := make(map[string]interface{}) + if sls.SybaseLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = sls.SybaseLinkedServiceTypeProperties + } + if sls.ConnectVia != nil { + objectMap["connectVia"] = sls.ConnectVia + } + if sls.Description != nil { + objectMap["description"] = sls.Description + } + if sls.Parameters != nil { + objectMap["parameters"] = sls.Parameters + } + if sls.Annotations != nil { + objectMap["annotations"] = sls.Annotations + } + objectMap["type"] = sls.Type + for k, v := range sls.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDb2LinkedService() (*Db2LinkedService, 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) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. +func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, 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 +} + +// 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 { + return err + } + for k, v := range m { + switch k { + case "typeProperties": + if v != nil { + 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 + } + slstp.Database = databaseVar + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + slstp.Schema = schema + } + case "authenticationType": + if v != nil { + var authenticationType SybaseAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + slstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + slstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + slstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + slstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// TabularTranslator a copy activity tabular translator. +type TabularTranslator struct { + // ColumnMappings - Column mappings. Type: string (or Expression with resultType string). + ColumnMappings interface{} `json:"columnMappings,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Type - Possible values include: 'TypeCopyTranslator', 'TypeTabularTranslator' + Type TypeBasicCopyTranslator `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TabularTranslator. +func (tt TabularTranslator) MarshalJSON() ([]byte, error) { + tt.Type = TypeTabularTranslator + objectMap := make(map[string]interface{}) + objectMap["columnMappings"] = tt.ColumnMappings + objectMap["type"] = tt.Type + for k, v := range tt.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsTabularTranslator is the BasicCopyTranslator implementation for TabularTranslator. +func (tt TabularTranslator) AsTabularTranslator() (*TabularTranslator, bool) { + return &tt, true +} + +// AsCopyTranslator is the BasicCopyTranslator implementation for TabularTranslator. +func (tt TabularTranslator) AsCopyTranslator() (*CopyTranslator, bool) { + return nil, false +} + +// AsBasicCopyTranslator is the BasicCopyTranslator implementation for TabularTranslator. +func (tt TabularTranslator) AsBasicCopyTranslator() (BasicCopyTranslator, bool) { + return &tt, true +} + +// TeradataLinkedService linked service for Teradata data source. +type TeradataLinkedService struct { + // TeradataLinkedServiceTypeProperties - Teradata linked service properties. + *TeradataLinkedServiceTypeProperties `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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TeradataLinkedService. +func (TLSVar TeradataLinkedService) MarshalJSON() ([]byte, error) { + TLSVar.Type = TypeTeradata + objectMap := make(map[string]interface{}) + if TLSVar.TeradataLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = TLSVar.TeradataLinkedServiceTypeProperties + } + if TLSVar.ConnectVia != nil { + objectMap["connectVia"] = TLSVar.ConnectVia + } + if TLSVar.Description != nil { + objectMap["description"] = TLSVar.Description + } + if TLSVar.Parameters != nil { + objectMap["parameters"] = TLSVar.Parameters + } + if TLSVar.Annotations != nil { + objectMap["annotations"] = TLSVar.Annotations + } + objectMap["type"] = TLSVar.Type + for k, v := range TLSVar.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { + return nil, false +} + +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { + return nil, false +} + +// AsNetezzaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + +// AsZohoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { + return nil, false +} + +// AsXeroLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false +} + +// AsSquareLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false +} + +// AsSparkLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false +} + +// AsShopifyLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} + +// AsServiceNowLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false +} + +// AsQuickBooksLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} + +// AsPrestoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false +} + +// AsPhoenixLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false +} + +// AsPaypalLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { + return nil, false +} + +// AsMarketoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { + return nil, false +} + +// AsMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { + return nil, false +} + +// AsMagentoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { + return nil, false +} + +// AsJiraLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { + return nil, false +} + +// AsImpalaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false +} + +// AsHubspotLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false +} + +// AsHiveLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false +} + +// AsHBaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { + return nil, false +} + +// AsGreenplumLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return &TLSVar, true +} + +// AsDb2LinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false +} + +// AsOracleLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false +} + +// AsFileServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { + return nil, false +} + +// AsHDInsightLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false +} + +// AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false +} + +// AsCosmosDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false +} + +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { + return nil, false +} + +// AsAzureBatchLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false +} + +// AsSQLServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false +} + +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false +} + +// AsAzureStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false +} + +// AsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false +} + +// AsBasicLinkedService is the BasicLinkedService implementation for TeradataLinkedService. +func (TLSVar TeradataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &TLSVar, true +} + +// UnmarshalJSON is the custom unmarshaler for TeradataLinkedService struct. +func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { + 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 teradataLinkedServiceTypeProperties TeradataLinkedServiceTypeProperties + err = json.Unmarshal(*v, &teradataLinkedServiceTypeProperties) + if err != nil { + return err + } + TLSVar.TeradataLinkedServiceTypeProperties = &teradataLinkedServiceTypeProperties + } + default: + if v != nil { + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) + if err != nil { + return err + } + if TLSVar.AdditionalProperties == nil { + TLSVar.AdditionalProperties = make(map[string]interface{}) + } + TLSVar.AdditionalProperties[k] = additionalProperties + } + case "connectVia": + if v != nil { + var connectVia IntegrationRuntimeReference + err = json.Unmarshal(*v, &connectVia) + if err != nil { + return err + } + TLSVar.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + TLSVar.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + TLSVar.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + TLSVar.Annotations = &annotations + } + case "type": + if v != nil { + var typeVar TypeBasicLinkedService + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + TLSVar.Type = typeVar + } + } + } + + return nil +} + +// TeradataLinkedServiceTypeProperties teradata linked service properties. +type TeradataLinkedServiceTypeProperties struct { + // Server - Server name for connection. Type: string (or Expression with resultType string). + Server interface{} `json:"server,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: 'TeradataAuthenticationTypeBasic', 'TeradataAuthenticationTypeWindows' + AuthenticationType TeradataAuthenticationType `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 TeradataLinkedServiceTypeProperties struct. +func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + 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 + } + tlstp.Server = server + } + case "schema": + if v != nil { + var schema interface{} + err = json.Unmarshal(*v, &schema) + if err != nil { + return err + } + tlstp.Schema = schema + } + case "authenticationType": + if v != nil { + var authenticationType TeradataAuthenticationType + err = json.Unmarshal(*v, &authenticationType) + if err != nil { + return err + } + tlstp.AuthenticationType = authenticationType + } + case "username": + if v != nil { + var username interface{} + err = json.Unmarshal(*v, &username) + if err != nil { + return err + } + tlstp.Username = username + } + case "password": + if v != nil { + password, err := unmarshalBasicSecretBase(*v) + if err != nil { + return err + } + tlstp.Password = password + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + tlstp.EncryptedCredential = encryptedCredential + } + } + } + + return nil +} + +// TextFormat the data stored in text format. +type TextFormat struct { + // 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"` + // EscapeChar - The escape character. Type: string (or Expression with resultType string). + EscapeChar interface{} `json:"escapeChar,omitempty"` + // QuoteChar - The quote character. Type: string (or Expression with resultType string). + QuoteChar interface{} `json:"quoteChar,omitempty"` + // NullValue - The null value string. Type: string (or Expression with resultType string). + NullValue interface{} `json:"nullValue,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"` + // TreatEmptyAsNull - Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). + TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"` + // SkipLineCount - The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). + SkipLineCount interface{} `json:"skipLineCount,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"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Serializer - Serializer. Type: string (or Expression with resultType string). + Serializer interface{} `json:"serializer,omitempty"` + // Deserializer - Deserializer. Type: string (or Expression with resultType string). + Deserializer interface{} `json:"deserializer,omitempty"` + // Type - Possible values include: 'TypeDatasetStorageFormat', 'TypeParquetFormat', 'TypeOrcFormat', 'TypeAvroFormat', 'TypeJSONFormat', 'TypeTextFormat' + Type TypeBasicDatasetStorageFormat `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TextFormat. +func (tf TextFormat) MarshalJSON() ([]byte, error) { + tf.Type = TypeTextFormat + objectMap := make(map[string]interface{}) + objectMap["columnDelimiter"] = tf.ColumnDelimiter + objectMap["rowDelimiter"] = tf.RowDelimiter + objectMap["escapeChar"] = tf.EscapeChar + objectMap["quoteChar"] = tf.QuoteChar + objectMap["nullValue"] = tf.NullValue + objectMap["encodingName"] = tf.EncodingName + objectMap["treatEmptyAsNull"] = tf.TreatEmptyAsNull + objectMap["skipLineCount"] = tf.SkipLineCount + objectMap["firstRowAsHeader"] = tf.FirstRowAsHeader + objectMap["serializer"] = tf.Serializer + objectMap["deserializer"] = tf.Deserializer + objectMap["type"] = tf.Type + for k, v := range tf.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsParquetFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsParquetFormat() (*ParquetFormat, bool) { + return nil, false +} + +// AsOrcFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsOrcFormat() (*OrcFormat, bool) { + return nil, false +} + +// AsAvroFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsAvroFormat() (*AvroFormat, bool) { + return nil, false +} + +// AsJSONFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsJSONFormat() (*JSONFormat, bool) { + return nil, false +} + +// AsTextFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsTextFormat() (*TextFormat, bool) { + return &tf, true +} + +// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { + return nil, false +} + +// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat. +func (tf TextFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { + return &tf, true +} + +// BasicTrigger azure data factory nested object which contains information about creating pipeline run +type BasicTrigger interface { + AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) + AsBlobTrigger() (*BlobTrigger, bool) + AsScheduleTrigger() (*ScheduleTrigger, bool) + AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) + AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) + AsTrigger() (*Trigger, bool) +} + +// Trigger azure data factory nested object which contains information about creating pipeline run +type Trigger struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Trigger description. + Description *string `json:"description,omitempty"` + // RuntimeState - 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"` + // Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` +} + +func unmarshalBasicTrigger(body []byte) (BasicTrigger, error) { + var m map[string]interface{} + err := json.Unmarshal(body, &m) + if err != nil { + return nil, err + } + + switch m["type"] { + case string(TypeTumblingWindowTrigger): + var twt TumblingWindowTrigger + err := json.Unmarshal(body, &twt) + return twt, err + case string(TypeBlobTrigger): + var bt BlobTrigger + err := json.Unmarshal(body, &bt) + return bt, err + case string(TypeScheduleTrigger): + var st ScheduleTrigger + err := json.Unmarshal(body, &st) + return st, err + case string(TypeMultiplePipelineTrigger): + var mpt MultiplePipelineTrigger + err := json.Unmarshal(body, &mpt) + return mpt, err + default: + var t Trigger + err := json.Unmarshal(body, &t) + return t, err + } +} +func unmarshalBasicTriggerArray(body []byte) ([]BasicTrigger, error) { + var rawMessages []*json.RawMessage + err := json.Unmarshal(body, &rawMessages) + if err != nil { + return nil, err + } + + tArray := make([]BasicTrigger, len(rawMessages)) + + for index, rawMessage := range rawMessages { + t, err := unmarshalBasicTrigger(*rawMessage) + if err != nil { + return nil, err + } + tArray[index] = t + } + return tArray, nil +} + +// MarshalJSON is the custom marshaler for Trigger. +func (t Trigger) MarshalJSON() ([]byte, error) { + t.Type = TypeTrigger + objectMap := make(map[string]interface{}) + if t.Description != nil { + objectMap["description"] = t.Description + } + objectMap["runtimeState"] = t.RuntimeState + objectMap["type"] = t.Type + for k, v := range t.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// AsTumblingWindowTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { + return nil, false +} + +// AsBlobTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsBlobTrigger() (*BlobTrigger, bool) { + return nil, false +} + +// AsScheduleTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { + return nil, false +} + +// AsMultiplePipelineTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { + return nil, false +} + +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { + return nil, false +} + +// AsTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsTrigger() (*Trigger, bool) { + return &t, true +} + +// AsBasicTrigger is the BasicTrigger implementation for Trigger. +func (t Trigger) AsBasicTrigger() (BasicTrigger, bool) { + return &t, true +} + +// TriggerListResponse a list of trigger resources. +type TriggerListResponse struct { + autorest.Response `json:"-"` + // Value - List of triggers. + Value *[]TriggerResource `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// TriggerListResponseIterator provides access to a complete listing of TriggerResource values. +type TriggerListResponseIterator struct { + i int + page TriggerListResponsePage +} + +// Next 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 *TriggerListResponseIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter TriggerListResponseIterator) 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 TriggerListResponseIterator) Response() TriggerListResponse { + 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 TriggerListResponseIterator) Value() TriggerResource { + if !iter.page.NotDone() { + return TriggerResource{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (tlr TriggerListResponse) IsEmpty() bool { + return tlr.Value == nil || len(*tlr.Value) == 0 +} + +// triggerListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (tlr TriggerListResponse) triggerListResponsePreparer() (*http.Request, error) { + if tlr.NextLink == nil || len(to.String(tlr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(tlr.NextLink))) +} + +// TriggerListResponsePage contains a page of TriggerResource values. +type TriggerListResponsePage struct { + fn func(TriggerListResponse) (TriggerListResponse, error) + tlr TriggerListResponse +} + +// 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. +func (page *TriggerListResponsePage) Next() error { + next, err := page.fn(page.tlr) + if err != nil { + return err + } + page.tlr = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page TriggerListResponsePage) NotDone() bool { + return !page.tlr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page TriggerListResponsePage) Response() TriggerListResponse { + return page.tlr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page TriggerListResponsePage) Values() []TriggerResource { + if page.tlr.IsEmpty() { + return nil + } + return *page.tlr.Value +} + +// TriggerPipelineReference pipeline that needs to be triggered with the given parameters. +type TriggerPipelineReference struct { + // PipelineReference - Pipeline reference. + PipelineReference *PipelineReference `json:"pipelineReference,omitempty"` + // Parameters - Pipeline parameters. + Parameters map[string]interface{} `json:"parameters"` +} + +// MarshalJSON is the custom marshaler for TriggerPipelineReference. +func (tpr TriggerPipelineReference) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if tpr.PipelineReference != nil { + objectMap["pipelineReference"] = tpr.PipelineReference + } + if tpr.Parameters != nil { + objectMap["parameters"] = tpr.Parameters + } + return json.Marshal(objectMap) +} + +// TriggerResource trigger resource type. +type TriggerResource struct { + autorest.Response `json:"-"` + // Properties - Properties of the trigger. + Properties BasicTrigger `json:"properties,omitempty"` + // ID - The resource identifier. + ID *string `json:"id,omitempty"` + // Name - The resource name. + Name *string `json:"name,omitempty"` + // Type - The resource type. + Type *string `json:"type,omitempty"` + // Etag - Etag identifies change in the resource. + Etag *string `json:"etag,omitempty"` +} + +// UnmarshalJSON is the custom unmarshaler for TriggerResource struct. +func (tr *TriggerResource) UnmarshalJSON(body []byte) error { + 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 := unmarshalBasicTrigger(*v) + if err != nil { + return err + } + tr.Properties = properties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + tr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + tr.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + tr.Type = &typeVar + } + case "etag": + if v != nil { + var etag string + err = json.Unmarshal(*v, &etag) + if err != nil { + return err + } + tr.Etag = &etag + } + } + } + + return nil +} + +// TriggerRun trigger runs. +type TriggerRun struct { + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // TriggerRunID - Trigger run id. + TriggerRunID *string `json:"triggerRunId,omitempty"` + // TriggerName - Trigger name. + TriggerName *string `json:"triggerName,omitempty"` + // TriggerType - Trigger type. + TriggerType *string `json:"triggerType,omitempty"` + // TriggerRunTimestamp - Trigger run start time. + TriggerRunTimestamp *date.Time `json:"triggerRunTimestamp,omitempty"` + // Status - Trigger run status. Possible values include: 'TriggerRunStatusSucceeded', 'TriggerRunStatusFailed', 'TriggerRunStatusInprogress' + Status TriggerRunStatus `json:"status,omitempty"` + // Message - Trigger error message. + Message *string `json:"message,omitempty"` + // Properties - List of property name and value related to trigger run. Name, value pair depends on type of trigger. + Properties map[string]*string `json:"properties"` + // TriggeredPipelines - List of pipeline name and run Id triggered by the trigger run. + TriggeredPipelines map[string]*string `json:"triggeredPipelines"` +} + +// MarshalJSON is the custom marshaler for TriggerRun. +func (tr TriggerRun) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if tr.TriggerRunID != nil { + objectMap["triggerRunId"] = tr.TriggerRunID + } + if tr.TriggerName != nil { + objectMap["triggerName"] = tr.TriggerName + } + if tr.TriggerType != nil { + objectMap["triggerType"] = tr.TriggerType + } + if tr.TriggerRunTimestamp != nil { + objectMap["triggerRunTimestamp"] = tr.TriggerRunTimestamp + } + objectMap["status"] = tr.Status + if tr.Message != nil { + objectMap["message"] = tr.Message + } + if tr.Properties != nil { + objectMap["properties"] = tr.Properties + } + if tr.TriggeredPipelines != nil { + objectMap["triggeredPipelines"] = tr.TriggeredPipelines + } + for k, v := range tr.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) +} + +// TriggerRunListResponse a list of trigger runs. +type TriggerRunListResponse struct { + autorest.Response `json:"-"` + // Value - List of trigger runs. + Value *[]TriggerRun `json:"value,omitempty"` + // NextLink - The link to the next page of results, if any remaining results exist. + NextLink *string `json:"nextLink,omitempty"` +} + +// TriggerRunListResponseIterator provides access to a complete listing of TriggerRun values. +type TriggerRunListResponseIterator struct { + i int + page TriggerRunListResponsePage +} + +// Next 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 *TriggerRunListResponseIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter TriggerRunListResponseIterator) 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 TriggerRunListResponseIterator) Response() TriggerRunListResponse { + 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 TriggerRunListResponseIterator) Value() TriggerRun { + if !iter.page.NotDone() { + return TriggerRun{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (trlr TriggerRunListResponse) IsEmpty() bool { + return trlr.Value == nil || len(*trlr.Value) == 0 +} + +// triggerRunListResponsePreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (trlr TriggerRunListResponse) triggerRunListResponsePreparer() (*http.Request, error) { + if trlr.NextLink == nil || len(to.String(trlr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(trlr.NextLink))) +} + +// TriggerRunListResponsePage contains a page of TriggerRun values. +type TriggerRunListResponsePage struct { + fn func(TriggerRunListResponse) (TriggerRunListResponse, error) + trlr TriggerRunListResponse +} + +// 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. +func (page *TriggerRunListResponsePage) Next() error { + next, err := page.fn(page.trlr) + if err != nil { + return err + } + page.trlr = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page TriggerRunListResponsePage) NotDone() bool { + return !page.trlr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page TriggerRunListResponsePage) Response() TriggerRunListResponse { + return page.trlr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page TriggerRunListResponsePage) Values() []TriggerRun { + if page.trlr.IsEmpty() { + return nil + } + return *page.trlr.Value +} + +// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running operation. +type TriggersStartFuture struct { + azure.Future + req *http.Request +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future TriggersStartFuture) Result(client TriggersClient) (ar autorest.Response, err error) { + var done bool + done, err = future.Done(client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + return ar, azure.NewAsyncOpIncompleteError("datafactory.TriggersStartFuture") + } + if future.PollingMethod() == azure.PollingLocation { + ar, err = client.StartResponder(future.Response()) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Failure responding to request") + } + return + } + var req *http.Request + var resp *http.Response + if future.PollingURL() != "" { + req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) + if err != nil { + return + } + } else { + req = autorest.ChangeToGet(future.req) + } + resp, err = autorest.SendWithSender(client, req, + autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", resp, "Failure sending request") + return + } + ar, err = client.StartResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", resp, "Failure responding to request") + } + return +} + +// TriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation. +type TriggersStopFuture struct { + azure.Future + req *http.Request +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future TriggersStopFuture) Result(client TriggersClient) (ar autorest.Response, err error) { + var done bool + done, err = future.Done(client) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + return ar, azure.NewAsyncOpIncompleteError("datafactory.TriggersStopFuture") + } + if future.PollingMethod() == azure.PollingLocation { + ar, err = client.StopResponder(future.Response()) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Failure responding to request") + } + return + } + var req *http.Request + var resp *http.Response + if future.PollingURL() != "" { + req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) + if err != nil { + return + } + } else { + req = autorest.ChangeToGet(future.req) + } + resp, err = autorest.SendWithSender(client, req, + autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", resp, "Failure sending request") + return + } + ar, err = client.StopResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", resp, "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 { + // Pipeline - Pipeline for which runs are created when an event is fired for trigger window that is ready. + Pipeline *TriggerPipelineReference `json:"pipeline,omitempty"` + // TumblingWindowTriggerTypeProperties - Tumbling Window Trigger properties. + *TumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"` + // AdditionalProperties - Unmatched properties from the message are deserialized this collection + AdditionalProperties map[string]interface{} `json:""` + // Description - Trigger description. + Description *string `json:"description,omitempty"` + // RuntimeState - 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"` + // Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' + Type TypeBasicTrigger `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) MarshalJSON() ([]byte, error) { + twt.Type = TypeTumblingWindowTrigger + objectMap := make(map[string]interface{}) + if twt.Pipeline != nil { + objectMap["pipeline"] = twt.Pipeline + } + if twt.TumblingWindowTriggerTypeProperties != nil { + objectMap["typeProperties"] = twt.TumblingWindowTriggerTypeProperties + } + if twt.Description != nil { + objectMap["description"] = twt.Description + } + objectMap["runtimeState"] = twt.RuntimeState + objectMap["type"] = twt.Type + for k, v := range twt.AdditionalProperties { + objectMap[k] = v + } + return json.Marshal(objectMap) } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { - return nil, false +// AsTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { + return &twt, true } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsBlobTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsScheduleTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { +// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { return nil, false } -// AsLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsTrigger() (*Trigger, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for SybaseLinkedService. -func (sls SybaseLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &sls, true +// AsBasicTrigger is the BasicTrigger implementation for TumblingWindowTrigger. +func (twt TumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) { + return &twt, true } -// UnmarshalJSON is the custom unmarshaler for SybaseLinkedService struct. -func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for TumblingWindowTrigger struct. +func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -74746,35 +82822,35 @@ func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "typeProperties": + case "pipeline": if v != nil { - var sybaseLinkedServiceTypeProperties SybaseLinkedServiceTypeProperties - err = json.Unmarshal(*v, &sybaseLinkedServiceTypeProperties) + var pipeline TriggerPipelineReference + err = json.Unmarshal(*v, &pipeline) if err != nil { return err } - sls.SybaseLinkedServiceTypeProperties = &sybaseLinkedServiceTypeProperties + twt.Pipeline = &pipeline } - default: + case "typeProperties": if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) + var tumblingWindowTriggerTypeProperties TumblingWindowTriggerTypeProperties + err = json.Unmarshal(*v, &tumblingWindowTriggerTypeProperties) if err != nil { return err } - if sls.AdditionalProperties == nil { - sls.AdditionalProperties = make(map[string]interface{}) - } - sls.AdditionalProperties[k] = additionalProperties + twt.TumblingWindowTriggerTypeProperties = &tumblingWindowTriggerTypeProperties } - 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 twt.AdditionalProperties == nil { + twt.AdditionalProperties = make(map[string]interface{}) + } + twt.AdditionalProperties[k] = additionalProperties } case "description": if v != nil { @@ -74783,111 +82859,25 @@ func (sls *SybaseLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - sls.Description = &description - } - 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 - } - slstp.Database = databaseVar - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - slstp.Schema = schema - } - case "authenticationType": - if v != nil { - var authenticationType SybaseAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - slstp.AuthenticationType = authenticationType - } - case "username": - if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) - if err != nil { - return err - } - slstp.Username = username + twt.Description = &description } - case "password": + case "runtimeState": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var runtimeState TriggerRuntimeState + err = json.Unmarshal(*v, &runtimeState) if err != nil { return err } - slstp.Password = password + twt.RuntimeState = runtimeState } - case "encryptedCredential": + case "type": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + var typeVar TypeBasicTrigger + err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - slstp.EncryptedCredential = encryptedCredential + twt.Type = typeVar } } } @@ -74895,414 +82885,206 @@ func (slstp *SybaseLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error return nil } -// TabularTranslator a copy activity tabular translator. -type TabularTranslator struct { - // ColumnMappings - Column mappings. Type: string (or Expression with resultType string). - ColumnMappings interface{} `json:"columnMappings,omitempty"` - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Type - Possible values include: 'TypeCopyTranslator', 'TypeTabularTranslator' - Type TypeBasicCopyTranslator `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for TabularTranslator. -func (tt TabularTranslator) MarshalJSON() ([]byte, error) { - tt.Type = TypeTabularTranslator - objectMap := make(map[string]interface{}) - objectMap["columnMappings"] = tt.ColumnMappings - objectMap["type"] = tt.Type - for k, v := range tt.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) -} - -// AsTabularTranslator is the BasicCopyTranslator implementation for TabularTranslator. -func (tt TabularTranslator) AsTabularTranslator() (*TabularTranslator, bool) { - return &tt, true -} - -// AsCopyTranslator is the BasicCopyTranslator implementation for TabularTranslator. -func (tt TabularTranslator) AsCopyTranslator() (*CopyTranslator, bool) { - return nil, false -} - -// AsBasicCopyTranslator is the BasicCopyTranslator implementation for TabularTranslator. -func (tt TabularTranslator) AsBasicCopyTranslator() (BasicCopyTranslator, bool) { - return &tt, true +// TumblingWindowTriggerTypeProperties tumbling Window Trigger properties. +type TumblingWindowTriggerTypeProperties struct { + // Frequency - The frequency of the time windows. Possible values include: 'TumblingWindowFrequencyMinute', 'TumblingWindowFrequencyHour' + Frequency TumblingWindowFrequency `json:"frequency,omitempty"` + // Interval - The interval of the time windows. The minimum interval allowed is 15 Minutes. + Interval *int32 `json:"interval,omitempty"` + // StartTime - The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. + StartTime *date.Time `json:"startTime,omitempty"` + // EndTime - The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. + EndTime *date.Time `json:"endTime,omitempty"` + // Delay - Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + Delay interface{} `json:"delay,omitempty"` + // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a new run is triggered. + MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` + // RetryPolicy - Retry policy that will be applied for failed pipeline runs. + RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"` } -// TeradataLinkedService linked service for Teradata data source. -type TeradataLinkedService struct { - // TeradataLinkedServiceTypeProperties - Teradata linked service properties. - *TeradataLinkedServiceTypeProperties `json:"typeProperties,omitempty"` +// UntilActivity this activity executes inner activities until the specified boolean expression results to true or +// timeout is reached, whichever is earlier. +type UntilActivity struct { + // UntilActivityTypeProperties - Until activity properties. + *UntilActivityTypeProperties `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"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' - Type TypeBasicLinkedService `json:"type,omitempty"` + // DependsOn - Activity depends on condition. + DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + Type TypeBasicActivity `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TeradataLinkedService. -func (TLSVar TeradataLinkedService) MarshalJSON() ([]byte, error) { - TLSVar.Type = TypeTeradata +// MarshalJSON is the custom marshaler for UntilActivity. +func (ua UntilActivity) MarshalJSON() ([]byte, error) { + ua.Type = TypeUntil objectMap := make(map[string]interface{}) - if TLSVar.TeradataLinkedServiceTypeProperties != nil { - objectMap["typeProperties"] = TLSVar.TeradataLinkedServiceTypeProperties + if ua.UntilActivityTypeProperties != nil { + objectMap["typeProperties"] = ua.UntilActivityTypeProperties } - if TLSVar.ConnectVia != nil { - objectMap["connectVia"] = TLSVar.ConnectVia + if ua.Name != nil { + objectMap["name"] = ua.Name } - if TLSVar.Description != nil { - objectMap["description"] = TLSVar.Description + if ua.Description != nil { + objectMap["description"] = ua.Description } - objectMap["type"] = TLSVar.Type - for k, v := range TLSVar.AdditionalProperties { + if ua.DependsOn != nil { + objectMap["dependsOn"] = ua.DependsOn + } + objectMap["type"] = ua.Type + for k, v := range ua.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { - return nil, false -} - -// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { - return nil, false -} - -// AsZohoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { - return nil, false -} - -// AsXeroLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { - return nil, false -} - -// AsSquareLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { - return nil, false -} - -// AsSparkLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { - return nil, false -} - -// AsShopifyLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { - return nil, false -} - -// AsServiceNowLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { - return nil, false -} - -// AsQuickBooksLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { - return nil, false -} - -// AsPrestoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { - return nil, false -} - -// AsPhoenixLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { - return nil, false -} - -// AsPaypalLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { - return nil, false -} - -// AsMarketoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { - return nil, false -} - -// AsMariaDBLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { - return nil, false -} - -// AsMagentoLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { - return nil, false -} - -// AsJiraLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { - return nil, false -} - -// AsImpalaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { - return nil, false -} - -// AsHubspotLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { - return nil, false -} - -// AsHiveLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { - return nil, false -} - -// AsHBaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, bool) { - return nil, false -} - -// AsGreenplumLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { - return nil, false -} - -// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { - return nil, false -} - -// AsEloquaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { - return nil, false -} - -// AsDrillLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { - return nil, false -} - -// AsCouchbaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { - return nil, false -} - -// AsConcurLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { - return nil, false -} - -// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { - return nil, false -} - -// AsAmazonMWSLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { - return nil, false -} - -// AsSapHanaLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { - return nil, false -} - -// AsSapBWLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { - return nil, false -} - -// AsSftpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { - return nil, false -} - -// AsFtpServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { - return nil, false -} - -// AsHTTPLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { - return nil, false -} - -// AsAzureSearchLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { - return nil, false -} - -// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { - return nil, false -} - -// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { - return nil, false -} - -// AsAmazonS3LinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { - return nil, false -} - -// AsSapEccLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { - return nil, false -} - -// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { +// AsDatabricksNotebookActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { return nil, false } -// AsSalesforceLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { - return nil, false -} - -// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { +// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false } -// AsMongoDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { +// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { return nil, false } -// AsCassandraLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { +// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { return nil, false } -// AsWebLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { +// AsGetMetadataActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { return nil, false } -// AsODataLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { +// AsWebActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsWebActivity() (*WebActivity, bool) { return nil, false } -// AsHdfsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { +// AsLookupActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { return nil, false } -// AsOdbcLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { +// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { return nil, false } -// AsAzureMLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { +// AsCustomActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsCustomActivity() (*CustomActivity, bool) { return nil, false } -// AsTeradataLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { - return &TLSVar, true +// AsExecuteSSISPackageActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { + return nil, false } -// AsDb2LinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { +// AsHDInsightSparkActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { return nil, false } -// AsSybaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { +// AsHDInsightStreamingActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { return nil, false } -// AsPostgreSQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { +// AsHDInsightMapReduceActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { return nil, false } -// AsMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { +// AsHDInsightPigActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { return nil, false } -// AsAzureMySQLLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { +// AsHDInsightHiveActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { return nil, false } -// AsOracleLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { +// AsCopyActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsCopyActivity() (*CopyActivity, bool) { return nil, false } -// AsFileServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, bool) { +// AsExecutionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecutionActivity() (*ExecutionActivity, bool) { return nil, false } -// AsHDInsightLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { +// AsBasicExecutionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { return nil, false } -// AsDynamicsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { +// AsFilterActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsFilterActivity() (*FilterActivity, bool) { return nil, false } -// AsCosmosDbLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { - return nil, false +// AsUntilActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsUntilActivity() (*UntilActivity, bool) { + return &ua, true } -// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, bool) { +// AsWaitActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsWaitActivity() (*WaitActivity, bool) { return nil, false } -// AsAzureBatchLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { +// AsForEachActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsForEachActivity() (*ForEachActivity, bool) { return nil, false } -// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { +// AsIfConditionActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { return nil, false } -// AsSQLServerLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { +// AsExecutePipelineActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { return nil, false } -// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { +// AsControlActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsControlActivity() (*ControlActivity, bool) { return nil, false } -// AsAzureStorageLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { - return nil, false +// AsBasicControlActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsBasicControlActivity() (BasicControlActivity, bool) { + return &ua, true } -// AsLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsLinkedService() (*LinkedService, bool) { +// AsActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsActivity() (*Activity, bool) { return nil, false } -// AsBasicLinkedService is the BasicLinkedService implementation for TeradataLinkedService. -func (TLSVar TeradataLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { - return &TLSVar, true +// AsBasicActivity is the BasicActivity implementation for UntilActivity. +func (ua UntilActivity) AsBasicActivity() (BasicActivity, bool) { + return &ua, true } -// UnmarshalJSON is the custom unmarshaler for TeradataLinkedService struct. -func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for UntilActivity struct. +func (ua *UntilActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -75312,12 +83094,12 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { switch k { case "typeProperties": if v != nil { - var teradataLinkedServiceTypeProperties TeradataLinkedServiceTypeProperties - err = json.Unmarshal(*v, &teradataLinkedServiceTypeProperties) + var untilActivityTypeProperties UntilActivityTypeProperties + err = json.Unmarshal(*v, &untilActivityTypeProperties) if err != nil { return err } - TLSVar.TeradataLinkedServiceTypeProperties = &teradataLinkedServiceTypeProperties + ua.UntilActivityTypeProperties = &untilActivityTypeProperties } default: if v != nil { @@ -75326,19 +83108,19 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - if TLSVar.AdditionalProperties == nil { - TLSVar.AdditionalProperties = make(map[string]interface{}) + if ua.AdditionalProperties == nil { + ua.AdditionalProperties = make(map[string]interface{}) } - TLSVar.AdditionalProperties[k] = additionalProperties + ua.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 } - TLSVar.ConnectVia = &connectVia + ua.Name = &name } case "description": if v != nil { @@ -75347,16 +83129,25 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { if err != nil { return err } - TLSVar.Description = &description + ua.Description = &description + } + case "dependsOn": + if v != nil { + var dependsOn []ActivityDependency + err = json.Unmarshal(*v, &dependsOn) + if err != nil { + return err + } + ua.DependsOn = &dependsOn } case "type": if v != nil { - var typeVar TypeBasicLinkedService + var typeVar TypeBasicActivity err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - TLSVar.Type = typeVar + ua.Type = typeVar } } } @@ -75364,24 +83155,18 @@ func (TLSVar *TeradataLinkedService) UnmarshalJSON(body []byte) error { return nil } -// TeradataLinkedServiceTypeProperties teradata linked service properties. -type TeradataLinkedServiceTypeProperties struct { - // Server - Server name for connection. Type: string (or Expression with resultType string). - Server interface{} `json:"server,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: 'TeradataAuthenticationTypeBasic', 'TeradataAuthenticationTypeWindows' - AuthenticationType TeradataAuthenticationType `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"` +// UntilActivityTypeProperties until activity properties. +type UntilActivityTypeProperties struct { + // Expression - An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true + Expression *Expression `json:"expression,omitempty"` + // Timeout - Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + Timeout interface{} `json:"timeout,omitempty"` + // Activities - List of activities to execute. + Activities *[]BasicActivity `json:"activities,omitempty"` } -// UnmarshalJSON is the custom unmarshaler for TeradataLinkedServiceTypeProperties struct. -func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for UntilActivityTypeProperties struct. +func (uatp *UntilActivityTypeProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -75389,58 +83174,31 @@ func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) 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 - } - tlstp.Server = server - } - case "schema": - if v != nil { - var schema interface{} - err = json.Unmarshal(*v, &schema) - if err != nil { - return err - } - tlstp.Schema = schema - } - case "authenticationType": - if v != nil { - var authenticationType TeradataAuthenticationType - err = json.Unmarshal(*v, &authenticationType) - if err != nil { - return err - } - tlstp.AuthenticationType = authenticationType - } - case "username": + case "expression": if v != nil { - var username interface{} - err = json.Unmarshal(*v, &username) + var expression Expression + err = json.Unmarshal(*v, &expression) if err != nil { return err } - tlstp.Username = username + uatp.Expression = &expression } - case "password": + case "timeout": if v != nil { - password, err := unmarshalBasicSecretBase(*v) + var timeout interface{} + err = json.Unmarshal(*v, &timeout) if err != nil { return err } - tlstp.Password = password + uatp.Timeout = timeout } - case "encryptedCredential": + case "activities": if v != nil { - var encryptedCredential interface{} - err = json.Unmarshal(*v, &encryptedCredential) + activities, err := unmarshalBasicActivityArray(*v) if err != nil { return err } - tlstp.EncryptedCredential = encryptedCredential + uatp.Activities = &activities } } } @@ -75448,353 +83206,416 @@ func (tlstp *TeradataLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err return nil } -// TextFormat the data stored in text format. -type TextFormat struct { - // 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"` - // EscapeChar - The escape character. Type: string (or Expression with resultType string). - EscapeChar interface{} `json:"escapeChar,omitempty"` - // QuoteChar - The quote character. Type: string (or Expression with resultType string). - QuoteChar interface{} `json:"quoteChar,omitempty"` - // NullValue - The null value string. Type: string (or Expression with resultType string). - NullValue interface{} `json:"nullValue,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"` - // TreatEmptyAsNull - Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). - TreatEmptyAsNull interface{} `json:"treatEmptyAsNull,omitempty"` - // SkipLineCount - The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). - SkipLineCount interface{} `json:"skipLineCount,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"` +// UpdateIntegrationRuntimeNodeRequest update integration runtime node request. +type UpdateIntegrationRuntimeNodeRequest struct { + // ConcurrentJobsLimit - The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed. + ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"` +} + +// UpdateIntegrationRuntimeRequest update integration runtime request. +type UpdateIntegrationRuntimeRequest struct { + // AutoUpdate - Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: 'On', 'Off' + AutoUpdate IntegrationRuntimeAutoUpdate `json:"autoUpdate,omitempty"` + // UpdateDelayOffset - The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time. + UpdateDelayOffset *string `json:"updateDelayOffset,omitempty"` +} + +// VerticaLinkedService vertica linked service. +type VerticaLinkedService struct { + // VerticaLinkedServiceTypeProperties - Vertica linked service properties. + *VerticaLinkedServiceTypeProperties `json:"typeProperties,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"` + // 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 Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + Type TypeBasicLinkedService `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TextFormat. -func (tf TextFormat) MarshalJSON() ([]byte, error) { - tf.Type = TypeTextFormat +// MarshalJSON is the custom marshaler for VerticaLinkedService. +func (vls VerticaLinkedService) MarshalJSON() ([]byte, error) { + vls.Type = TypeVertica objectMap := make(map[string]interface{}) - objectMap["columnDelimiter"] = tf.ColumnDelimiter - objectMap["rowDelimiter"] = tf.RowDelimiter - objectMap["escapeChar"] = tf.EscapeChar - objectMap["quoteChar"] = tf.QuoteChar - objectMap["nullValue"] = tf.NullValue - objectMap["encodingName"] = tf.EncodingName - objectMap["treatEmptyAsNull"] = tf.TreatEmptyAsNull - objectMap["skipLineCount"] = tf.SkipLineCount - objectMap["firstRowAsHeader"] = tf.FirstRowAsHeader - objectMap["serializer"] = tf.Serializer - objectMap["deserializer"] = tf.Deserializer - objectMap["type"] = tf.Type - for k, v := range tf.AdditionalProperties { + if vls.VerticaLinkedServiceTypeProperties != nil { + objectMap["typeProperties"] = vls.VerticaLinkedServiceTypeProperties + } + if vls.ConnectVia != nil { + objectMap["connectVia"] = vls.ConnectVia + } + if vls.Description != nil { + objectMap["description"] = vls.Description + } + if vls.Parameters != nil { + objectMap["parameters"] = vls.Parameters + } + if vls.Annotations != nil { + objectMap["annotations"] = vls.Annotations + } + objectMap["type"] = vls.Type + for k, v := range vls.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsParquetFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsParquetFormat() (*ParquetFormat, bool) { +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { return nil, false } -// AsOrcFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsOrcFormat() (*OrcFormat, bool) { +// AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false } -// AsAvroFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsAvroFormat() (*AvroFormat, bool) { +// AsHDInsightOnDemandLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDemandLinkedService, bool) { return nil, false } -// AsJSONFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsJSONFormat() (*JSONFormat, bool) { +// AsNetezzaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { return nil, false } -// AsTextFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsTextFormat() (*TextFormat, bool) { - return &tf, true +// AsVerticaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return &vls, true } -// AsDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsDatasetStorageFormat() (*DatasetStorageFormat, bool) { +// AsZohoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false } -// AsBasicDatasetStorageFormat is the BasicDatasetStorageFormat implementation for TextFormat. -func (tf TextFormat) AsBasicDatasetStorageFormat() (BasicDatasetStorageFormat, bool) { - return &tf, true +// AsXeroLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsXeroLinkedService() (*XeroLinkedService, bool) { + return nil, false } -// BasicTrigger azure data factory nested object which contains information about creating pipeline run -type BasicTrigger interface { - AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) - AsBlobTrigger() (*BlobTrigger, bool) - AsScheduleTrigger() (*ScheduleTrigger, bool) - AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) - AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) - AsTrigger() (*Trigger, bool) +// AsSquareLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSquareLinkedService() (*SquareLinkedService, bool) { + return nil, false } -// Trigger azure data factory nested object which contains information about creating pipeline run -type Trigger struct { - // AdditionalProperties - Unmatched properties from the message are deserialized this collection - AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. - Description *string `json:"description,omitempty"` - // RuntimeState - 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"` - // Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `json:"type,omitempty"` +// AsSparkLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSparkLinkedService() (*SparkLinkedService, bool) { + return nil, false } -func unmarshalBasicTrigger(body []byte) (BasicTrigger, error) { - var m map[string]interface{} - err := json.Unmarshal(body, &m) - if err != nil { - return nil, err - } +// AsShopifyLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsShopifyLinkedService() (*ShopifyLinkedService, bool) { + return nil, false +} - switch m["type"] { - case string(TypeTumblingWindowTrigger): - var twt TumblingWindowTrigger - err := json.Unmarshal(body, &twt) - return twt, err - case string(TypeBlobTrigger): - var bt BlobTrigger - err := json.Unmarshal(body, &bt) - return bt, err - case string(TypeScheduleTrigger): - var st ScheduleTrigger - err := json.Unmarshal(body, &st) - return st, err - case string(TypeMultiplePipelineTrigger): - var mpt MultiplePipelineTrigger - err := json.Unmarshal(body, &mpt) - return mpt, err - default: - var t Trigger - err := json.Unmarshal(body, &t) - return t, err - } +// AsServiceNowLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsServiceNowLinkedService() (*ServiceNowLinkedService, bool) { + return nil, false } -func unmarshalBasicTriggerArray(body []byte) ([]BasicTrigger, error) { - var rawMessages []*json.RawMessage - err := json.Unmarshal(body, &rawMessages) - if err != nil { - return nil, err - } - tArray := make([]BasicTrigger, len(rawMessages)) +// AsQuickBooksLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsQuickBooksLinkedService() (*QuickBooksLinkedService, bool) { + return nil, false +} - for index, rawMessage := range rawMessages { - t, err := unmarshalBasicTrigger(*rawMessage) - if err != nil { - return nil, err - } - tArray[index] = t - } - return tArray, nil +// AsPrestoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPrestoLinkedService() (*PrestoLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for Trigger. -func (t Trigger) MarshalJSON() ([]byte, error) { - t.Type = TypeTrigger - objectMap := make(map[string]interface{}) - if t.Description != nil { - objectMap["description"] = t.Description - } - objectMap["runtimeState"] = t.RuntimeState - objectMap["type"] = t.Type - for k, v := range t.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsPhoenixLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPhoenixLinkedService() (*PhoenixLinkedService, bool) { + return nil, false } -// AsTumblingWindowTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { +// AsPaypalLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPaypalLinkedService() (*PaypalLinkedService, bool) { return nil, false } -// AsBlobTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsMarketoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMarketoLinkedService() (*MarketoLinkedService, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsMariaDBLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMariaDBLinkedService() (*MariaDBLinkedService, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsMagentoLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMagentoLinkedService() (*MagentoLinkedService, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { +// AsJiraLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsJiraLinkedService() (*JiraLinkedService, bool) { return nil, false } -// AsTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsTrigger() (*Trigger, bool) { - return &t, true +// AsImpalaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsImpalaLinkedService() (*ImpalaLinkedService, bool) { + return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for Trigger. -func (t Trigger) AsBasicTrigger() (BasicTrigger, bool) { - return &t, true +// AsHubspotLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHubspotLinkedService() (*HubspotLinkedService, bool) { + return nil, false } -// TriggerListResponse a list of trigger resources. -type TriggerListResponse struct { - autorest.Response `json:"-"` - // Value - List of triggers. - Value *[]TriggerResource `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsHiveLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHiveLinkedService() (*HiveLinkedService, bool) { + return nil, false } -// TriggerListResponseIterator provides access to a complete listing of TriggerResource values. -type TriggerListResponseIterator struct { - i int - page TriggerListResponsePage +// AsHBaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHBaseLinkedService() (*HBaseLinkedService, 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. -func (iter *TriggerListResponseIterator) Next() error { - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err := iter.page.Next() - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsGreenplumLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsGreenplumLinkedService() (*GreenplumLinkedService, bool) { + return nil, false +} + +// AsGoogleBigQueryLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsGoogleBigQueryLinkedService() (*GoogleBigQueryLinkedService, bool) { + return nil, false +} + +// AsEloquaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsEloquaLinkedService() (*EloquaLinkedService, bool) { + return nil, false +} + +// AsDrillLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDrillLinkedService() (*DrillLinkedService, bool) { + return nil, false +} + +// AsCouchbaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCouchbaseLinkedService() (*CouchbaseLinkedService, bool) { + return nil, false +} + +// AsConcurLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsConcurLinkedService() (*ConcurLinkedService, bool) { + return nil, false +} + +// AsAzurePostgreSQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzurePostgreSQLLinkedService() (*AzurePostgreSQLLinkedService, bool) { + return nil, false +} + +// AsAmazonMWSLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAmazonMWSLinkedService() (*AmazonMWSLinkedService, bool) { + return nil, false +} + +// AsSapHanaLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSapHanaLinkedService() (*SapHanaLinkedService, bool) { + return nil, false +} + +// AsSapBWLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSapBWLinkedService() (*SapBWLinkedService, bool) { + return nil, false +} + +// AsSftpServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSftpServerLinkedService() (*SftpServerLinkedService, bool) { + return nil, false +} + +// AsFtpServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsFtpServerLinkedService() (*FtpServerLinkedService, bool) { + return nil, false +} + +// AsHTTPLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHTTPLinkedService() (*HTTPLinkedService, bool) { + return nil, false +} + +// AsAzureSearchLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSearchLinkedService() (*AzureSearchLinkedService, bool) { + return nil, false +} + +// AsCustomDataSourceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCustomDataSourceLinkedService() (*CustomDataSourceLinkedService, bool) { + return nil, false +} + +// AsAmazonRedshiftLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAmazonRedshiftLinkedService() (*AmazonRedshiftLinkedService, bool) { + return nil, false +} + +// AsAmazonS3LinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAmazonS3LinkedService() (*AmazonS3LinkedService, bool) { + return nil, false +} + +// AsSapEccLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSapEccLinkedService() (*SapEccLinkedService, bool) { + return nil, false +} + +// AsSapCloudForCustomerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSapCloudForCustomerLinkedService() (*SapCloudForCustomerLinkedService, bool) { + return nil, false +} + +// AsSalesforceLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSalesforceLinkedService() (*SalesforceLinkedService, bool) { + return nil, false +} + +// AsAzureDataLakeStoreLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureDataLakeStoreLinkedService() (*AzureDataLakeStoreLinkedService, bool) { + return nil, false +} + +// AsMongoDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMongoDbLinkedService() (*MongoDbLinkedService, bool) { + return nil, false +} + +// AsCassandraLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCassandraLinkedService() (*CassandraLinkedService, bool) { + return nil, false +} + +// AsWebLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsWebLinkedService() (*WebLinkedService, bool) { + return nil, false +} + +// AsODataLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsODataLinkedService() (*ODataLinkedService, bool) { + return nil, false +} + +// AsHdfsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHdfsLinkedService() (*HdfsLinkedService, bool) { + return nil, false +} + +// AsOdbcLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsOdbcLinkedService() (*OdbcLinkedService, bool) { + return nil, false +} + +// AsAzureMLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureMLLinkedService() (*AzureMLLinkedService, bool) { + return nil, false +} + +// AsTeradataLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsTeradataLinkedService() (*TeradataLinkedService, bool) { + return nil, false +} + +// AsDb2LinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDb2LinkedService() (*Db2LinkedService, bool) { + return nil, false +} + +// AsSybaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSybaseLinkedService() (*SybaseLinkedService, bool) { + return nil, false +} + +// AsPostgreSQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsPostgreSQLLinkedService() (*PostgreSQLLinkedService, bool) { + return nil, false +} + +// AsMySQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsMySQLLinkedService() (*MySQLLinkedService, bool) { + return nil, false +} + +// AsAzureMySQLLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureMySQLLinkedService() (*AzureMySQLLinkedService, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter TriggerListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsOracleLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsOracleLinkedService() (*OracleLinkedService, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter TriggerListResponseIterator) Response() TriggerListResponse { - return iter.page.Response() +// AsFileServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsFileServerLinkedService() (*FileServerLinkedService, 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 TriggerListResponseIterator) Value() TriggerResource { - if !iter.page.NotDone() { - return TriggerResource{} - } - return iter.page.Values()[iter.i] +// AsHDInsightLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsHDInsightLinkedService() (*HDInsightLinkedService, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (tlr TriggerListResponse) IsEmpty() bool { - return tlr.Value == nil || len(*tlr.Value) == 0 +// AsDynamicsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsDynamicsLinkedService() (*DynamicsLinkedService, bool) { + return nil, false } -// triggerListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (tlr TriggerListResponse) triggerListResponsePreparer() (*http.Request, error) { - if tlr.NextLink == nil || len(to.String(tlr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare(&http.Request{}, - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(tlr.NextLink))) +// AsCosmosDbLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsCosmosDbLinkedService() (*CosmosDbLinkedService, bool) { + return nil, false } -// TriggerListResponsePage contains a page of TriggerResource values. -type TriggerListResponsePage struct { - fn func(TriggerListResponse) (TriggerListResponse, error) - tlr TriggerListResponse +// AsAzureKeyVaultLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureKeyVaultLinkedService() (*AzureKeyVaultLinkedService, 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. -func (page *TriggerListResponsePage) Next() error { - next, err := page.fn(page.tlr) - if err != nil { - return err - } - page.tlr = next - return nil +// AsAzureBatchLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureBatchLinkedService() (*AzureBatchLinkedService, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page TriggerListResponsePage) NotDone() bool { - return !page.tlr.IsEmpty() +// AsAzureSQLDatabaseLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSQLDatabaseLinkedService() (*AzureSQLDatabaseLinkedService, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page TriggerListResponsePage) Response() TriggerListResponse { - return page.tlr +// AsSQLServerLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsSQLServerLinkedService() (*SQLServerLinkedService, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page TriggerListResponsePage) Values() []TriggerResource { - if page.tlr.IsEmpty() { - return nil - } - return *page.tlr.Value +// AsAzureSQLDWLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureSQLDWLinkedService() (*AzureSQLDWLinkedService, bool) { + return nil, false } -// TriggerPipelineReference pipeline that needs to be triggered with the given parameters. -type TriggerPipelineReference struct { - // PipelineReference - Pipeline reference. - PipelineReference *PipelineReference `json:"pipelineReference,omitempty"` - // Parameters - Pipeline parameters. - Parameters map[string]interface{} `json:"parameters"` +// AsAzureStorageLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsAzureStorageLinkedService() (*AzureStorageLinkedService, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for TriggerPipelineReference. -func (tpr TriggerPipelineReference) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if tpr.PipelineReference != nil { - objectMap["pipelineReference"] = tpr.PipelineReference - } - if tpr.Parameters != nil { - objectMap["parameters"] = tpr.Parameters - } - return json.Marshal(objectMap) +// AsLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsLinkedService() (*LinkedService, bool) { + return nil, false } -// TriggerResource trigger resource type. -type TriggerResource struct { - autorest.Response `json:"-"` - // Properties - Properties of the trigger. - Properties BasicTrigger `json:"properties,omitempty"` - // ID - The resource identifier. - ID *string `json:"id,omitempty"` - // Name - The resource name. - Name *string `json:"name,omitempty"` - // Type - The resource type. - Type *string `json:"type,omitempty"` - // Etag - Etag identifies change in the resource. - Etag *string `json:"etag,omitempty"` +// AsBasicLinkedService is the BasicLinkedService implementation for VerticaLinkedService. +func (vls VerticaLinkedService) AsBasicLinkedService() (BasicLinkedService, bool) { + return &vls, true } -// UnmarshalJSON is the custom unmarshaler for TriggerResource struct. -func (tr *TriggerResource) UnmarshalJSON(body []byte) error { +// UnmarshalJSON is the custom unmarshaler for VerticaLinkedService struct. +func (vls *VerticaLinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage err := json.Unmarshal(body, &m) if err != nil { @@ -75802,49 +83623,111 @@ func (tr *TriggerResource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { - case "properties": + case "typeProperties": if v != nil { - properties, err := unmarshalBasicTrigger(*v) + var verticaLinkedServiceTypeProperties VerticaLinkedServiceTypeProperties + err = json.Unmarshal(*v, &verticaLinkedServiceTypeProperties) if err != nil { return err } - tr.Properties = properties + vls.VerticaLinkedServiceTypeProperties = &verticaLinkedServiceTypeProperties } - case "id": + default: if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) + var additionalProperties interface{} + err = json.Unmarshal(*v, &additionalProperties) if err != nil { return err } - tr.ID = &ID + if vls.AdditionalProperties == nil { + vls.AdditionalProperties = make(map[string]interface{}) + } + vls.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 } - tr.Name = &name + vls.ConnectVia = &connectVia + } + case "description": + if v != nil { + var description string + err = json.Unmarshal(*v, &description) + if err != nil { + return err + } + vls.Description = &description + } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + vls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + vls.Annotations = &annotations } case "type": if v != nil { - var typeVar string + var typeVar TypeBasicLinkedService err = json.Unmarshal(*v, &typeVar) if err != nil { return err } - tr.Type = &typeVar + vls.Type = typeVar } - case "etag": + } + } + + return nil +} + +// VerticaLinkedServiceTypeProperties vertica linked service properties. +type VerticaLinkedServiceTypeProperties struct { + // ConnectionString - An ODBC connection string. + ConnectionString BasicSecretBase `json:"connectionString,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 VerticaLinkedServiceTypeProperties struct. +func (vlstp *VerticaLinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { + 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 etag string - err = json.Unmarshal(*v, &etag) + connectionString, err := unmarshalBasicSecretBase(*v) if err != nil { return err } - tr.Etag = &etag + vlstp.ConnectionString = connectionString + } + case "encryptedCredential": + if v != nil { + var encryptedCredential interface{} + err = json.Unmarshal(*v, &encryptedCredential) + if err != nil { + return err + } + vlstp.EncryptedCredential = encryptedCredential } } } @@ -75852,725 +83735,589 @@ func (tr *TriggerResource) UnmarshalJSON(body []byte) error { return nil } -// TriggerRun trigger runs. -type TriggerRun struct { +// VerticaSource a copy activity Vertica source. +type VerticaSource 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:""` - // TriggerRunID - Trigger run id. - TriggerRunID *string `json:"triggerRunId,omitempty"` - // TriggerName - Trigger name. - TriggerName *string `json:"triggerName,omitempty"` - // TriggerType - Trigger type. - TriggerType *string `json:"triggerType,omitempty"` - // TriggerRunTimestamp - Trigger run start time. - TriggerRunTimestamp *date.Time `json:"triggerRunTimestamp,omitempty"` - // Status - Trigger run status. Possible values include: 'TriggerRunStatusSucceeded', 'TriggerRunStatusFailed', 'TriggerRunStatusInprogress' - Status TriggerRunStatus `json:"status,omitempty"` - // Message - Trigger error message. - Message *string `json:"message,omitempty"` - // Properties - List of property name and value related to trigger run. Name, value pair depends on type of trigger. - Properties map[string]*string `json:"properties"` - // TriggeredPipelines - List of pipeline name and run Id triggered by the trigger run. - TriggeredPipelines map[string]*string `json:"triggeredPipelines"` + // 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"` + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + Type TypeBasicCopySource `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TriggerRun. -func (tr TriggerRun) MarshalJSON() ([]byte, error) { +// MarshalJSON is the custom marshaler for VerticaSource. +func (vs VerticaSource) MarshalJSON() ([]byte, error) { + vs.Type = TypeVerticaSource objectMap := make(map[string]interface{}) - if tr.TriggerRunID != nil { - objectMap["triggerRunId"] = tr.TriggerRunID - } - if tr.TriggerName != nil { - objectMap["triggerName"] = tr.TriggerName - } - if tr.TriggerType != nil { - objectMap["triggerType"] = tr.TriggerType - } - if tr.TriggerRunTimestamp != nil { - objectMap["triggerRunTimestamp"] = tr.TriggerRunTimestamp - } - objectMap["status"] = tr.Status - if tr.Message != nil { - objectMap["message"] = tr.Message - } - if tr.Properties != nil { - objectMap["properties"] = tr.Properties - } - if tr.TriggeredPipelines != nil { - objectMap["triggeredPipelines"] = tr.TriggeredPipelines - } - for k, v := range tr.AdditionalProperties { + objectMap["query"] = vs.Query + objectMap["sourceRetryCount"] = vs.SourceRetryCount + objectMap["sourceRetryWait"] = vs.SourceRetryWait + objectMap["type"] = vs.Type + for k, v := range vs.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// TriggerRunListResponse a list of trigger runs. -type TriggerRunListResponse struct { - autorest.Response `json:"-"` - // Value - List of trigger runs. - Value *[]TriggerRun `json:"value,omitempty"` - // NextLink - The link to the next page of results, if any remaining results exist. - NextLink *string `json:"nextLink,omitempty"` +// AsAmazonRedshiftSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { + return nil, false } -// TriggerRunListResponseIterator provides access to a complete listing of TriggerRun values. -type TriggerRunListResponseIterator struct { - i int - page TriggerRunListResponsePage +// AsVerticaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsVerticaSource() (*VerticaSource, bool) { + return &vs, true } -// Next 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 *TriggerRunListResponseIterator) Next() error { - iter.i++ - if iter.i < len(iter.page.Values()) { - return nil - } - err := iter.page.Next() - if err != nil { - iter.i-- - return err - } - iter.i = 0 - return nil +// AsNetezzaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false } -// NotDone returns true if the enumeration should be started or is not yet complete. -func (iter TriggerRunListResponseIterator) NotDone() bool { - return iter.page.NotDone() && iter.i < len(iter.page.Values()) +// AsZohoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsZohoSource() (*ZohoSource, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (iter TriggerRunListResponseIterator) Response() TriggerRunListResponse { - return iter.page.Response() +// AsXeroSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsXeroSource() (*XeroSource, 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 TriggerRunListResponseIterator) Value() TriggerRun { - if !iter.page.NotDone() { - return TriggerRun{} - } - return iter.page.Values()[iter.i] +// AsSquareSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSquareSource() (*SquareSource, bool) { + return nil, false } -// IsEmpty returns true if the ListResult contains no values. -func (trlr TriggerRunListResponse) IsEmpty() bool { - return trlr.Value == nil || len(*trlr.Value) == 0 +// AsSparkSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSparkSource() (*SparkSource, bool) { + return nil, false } -// triggerRunListResponsePreparer prepares a request to retrieve the next set of results. -// It returns nil if no more results exist. -func (trlr TriggerRunListResponse) triggerRunListResponsePreparer() (*http.Request, error) { - if trlr.NextLink == nil || len(to.String(trlr.NextLink)) < 1 { - return nil, nil - } - return autorest.Prepare(&http.Request{}, - autorest.AsJSON(), - autorest.AsGet(), - autorest.WithBaseURL(to.String(trlr.NextLink))) +// AsShopifySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsShopifySource() (*ShopifySource, bool) { + return nil, false } -// TriggerRunListResponsePage contains a page of TriggerRun values. -type TriggerRunListResponsePage struct { - fn func(TriggerRunListResponse) (TriggerRunListResponse, error) - trlr TriggerRunListResponse +// AsServiceNowSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsServiceNowSource() (*ServiceNowSource, 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. -func (page *TriggerRunListResponsePage) Next() error { - next, err := page.fn(page.trlr) - if err != nil { - return err - } - page.trlr = next - return nil +// AsQuickBooksSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsQuickBooksSource() (*QuickBooksSource, bool) { + return nil, false } -// NotDone returns true if the page enumeration should be started or is not yet complete. -func (page TriggerRunListResponsePage) NotDone() bool { - return !page.trlr.IsEmpty() +// AsPrestoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPrestoSource() (*PrestoSource, bool) { + return nil, false } -// Response returns the raw server response from the last page request. -func (page TriggerRunListResponsePage) Response() TriggerRunListResponse { - return page.trlr +// AsPhoenixSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPhoenixSource() (*PhoenixSource, bool) { + return nil, false } -// Values returns the slice of values for the current page or nil if there are no values. -func (page TriggerRunListResponsePage) Values() []TriggerRun { - if page.trlr.IsEmpty() { - return nil - } - return *page.trlr.Value +// AsPaypalSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsPaypalSource() (*PaypalSource, bool) { + return nil, false } -// TriggersStartFuture an abstraction for monitoring and retrieving the results of a long-running operation. -type TriggersStartFuture struct { - azure.Future - req *http.Request +// AsMarketoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMarketoSource() (*MarketoSource, 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 TriggersStartFuture) Result(client TriggersClient) (ar autorest.Response, err error) { - var done bool - done, err = future.Done(client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - return ar, azure.NewAsyncOpIncompleteError("datafactory.TriggersStartFuture") - } - if future.PollingMethod() == azure.PollingLocation { - ar, err = client.StartResponder(future.Response()) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", future.Response(), "Failure responding to request") - } - return - } - var req *http.Request - var resp *http.Response - if future.PollingURL() != "" { - req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) - if err != nil { - return - } - } else { - req = autorest.ChangeToGet(future.req) - } - resp, err = autorest.SendWithSender(client, req, - autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", resp, "Failure sending request") - return - } - ar, err = client.StartResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStartFuture", "Result", resp, "Failure responding to request") - } - return +// AsMariaDBSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMariaDBSource() (*MariaDBSource, bool) { + return nil, false } -// TriggersStopFuture an abstraction for monitoring and retrieving the results of a long-running operation. -type TriggersStopFuture struct { - azure.Future - req *http.Request +// AsMagentoSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsMagentoSource() (*MagentoSource, 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 TriggersStopFuture) Result(client TriggersClient) (ar autorest.Response, err error) { - var done bool - done, err = future.Done(client) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Polling failure") - return - } - if !done { - return ar, azure.NewAsyncOpIncompleteError("datafactory.TriggersStopFuture") - } - if future.PollingMethod() == azure.PollingLocation { - ar, err = client.StopResponder(future.Response()) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", future.Response(), "Failure responding to request") - } - return - } - var req *http.Request - var resp *http.Response - if future.PollingURL() != "" { - req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) - if err != nil { - return - } - } else { - req = autorest.ChangeToGet(future.req) - } - resp, err = autorest.SendWithSender(client, req, - autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", resp, "Failure sending request") - return - } - ar, err = client.StopResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "datafactory.TriggersStopFuture", "Result", resp, "Failure responding to request") - } - return +// AsJiraSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsJiraSource() (*JiraSource, bool) { + return nil, false } -// 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 { - // Pipeline - Pipeline for which runs are created when an event is fired for trigger window that is ready. - Pipeline *TriggerPipelineReference `json:"pipeline,omitempty"` - // TumblingWindowTriggerTypeProperties - Tumbling Window Trigger properties. - *TumblingWindowTriggerTypeProperties `json:"typeProperties,omitempty"` +// AsImpalaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsImpalaSource() (*ImpalaSource, bool) { + return nil, false +} + +// AsHubspotSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHubspotSource() (*HubspotSource, bool) { + return nil, false +} + +// AsHiveSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHiveSource() (*HiveSource, bool) { + return nil, false +} + +// AsHBaseSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsHBaseSource() (*HBaseSource, bool) { + return nil, false +} + +// AsGreenplumSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsGreenplumSource() (*GreenplumSource, bool) { + return nil, false +} + +// AsGoogleBigQuerySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsGoogleBigQuerySource() (*GoogleBigQuerySource, bool) { + return nil, false +} + +// AsEloquaSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsEloquaSource() (*EloquaSource, bool) { + return nil, false +} + +// AsDrillSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsDrillSource() (*DrillSource, bool) { + return nil, false +} + +// AsCouchbaseSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCouchbaseSource() (*CouchbaseSource, bool) { + return nil, false +} + +// AsConcurSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsConcurSource() (*ConcurSource, bool) { + return nil, false +} + +// AsAzurePostgreSQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzurePostgreSQLSource() (*AzurePostgreSQLSource, bool) { + return nil, false +} + +// AsAmazonMWSSource is the BasicCopySource implementation for VerticaSource. +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 +} + +// AsAzureDataLakeStoreSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureDataLakeStoreSource() (*AzureDataLakeStoreSource, 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 +} + +// AsOracleSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsOracleSource() (*OracleSource, 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 +} + +// AsSQLSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSQLSource() (*SQLSource, bool) { + return nil, false +} + +// AsSapEccSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapEccSource() (*SapEccSource, bool) { + return nil, false +} + +// AsSapCloudForCustomerSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSapCloudForCustomerSource() (*SapCloudForCustomerSource, bool) { + return nil, false +} + +// AsSalesforceSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsSalesforceSource() (*SalesforceSource, bool) { + return nil, false +} + +// AsRelationalSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsRelationalSource() (*RelationalSource, 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 +} + +// AsAzureTableSource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsAzureTableSource() (*AzureTableSource, bool) { + return nil, false +} + +// AsCopySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsCopySource() (*CopySource, bool) { + return nil, false +} + +// AsBasicCopySource is the BasicCopySource implementation for VerticaSource. +func (vs VerticaSource) AsBasicCopySource() (BasicCopySource, bool) { + return &vs, true +} + +// VerticaTableDataset vertica dataset. +type VerticaTableDataset struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` - // Description - Trigger description. - Description *string `json:"description,omitempty"` - // RuntimeState - 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"` - // Type - Possible values include: 'TypeTrigger', 'TypeTumblingWindowTrigger', 'TypeBlobTrigger', 'TypeScheduleTrigger', 'TypeMultiplePipelineTrigger' - Type TypeBasicTrigger `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"` + // 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"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + Type TypeBasicDataset `json:"type,omitempty"` } -// MarshalJSON is the custom marshaler for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) MarshalJSON() ([]byte, error) { - twt.Type = TypeTumblingWindowTrigger +// MarshalJSON is the custom marshaler for VerticaTableDataset. +func (vtd VerticaTableDataset) MarshalJSON() ([]byte, error) { + vtd.Type = TypeVerticaTable objectMap := make(map[string]interface{}) - if twt.Pipeline != nil { - objectMap["pipeline"] = twt.Pipeline + if vtd.Description != nil { + objectMap["description"] = vtd.Description } - if twt.TumblingWindowTriggerTypeProperties != nil { - objectMap["typeProperties"] = twt.TumblingWindowTriggerTypeProperties + objectMap["structure"] = vtd.Structure + if vtd.LinkedServiceName != nil { + objectMap["linkedServiceName"] = vtd.LinkedServiceName } - if twt.Description != nil { - objectMap["description"] = twt.Description + if vtd.Parameters != nil { + objectMap["parameters"] = vtd.Parameters } - objectMap["runtimeState"] = twt.RuntimeState - objectMap["type"] = twt.Type - for k, v := range twt.AdditionalProperties { + if vtd.Annotations != nil { + objectMap["annotations"] = vtd.Annotations + } + objectMap["type"] = vtd.Type + for k, v := range vtd.AdditionalProperties { objectMap[k] = v } return json.Marshal(objectMap) } -// AsTumblingWindowTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsTumblingWindowTrigger() (*TumblingWindowTrigger, bool) { - return &twt, true +// AsVerticaTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return &vtd, true } -// AsBlobTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBlobTrigger() (*BlobTrigger, bool) { +// AsNetezzaTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { return nil, false } -// AsScheduleTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsScheduleTrigger() (*ScheduleTrigger, bool) { +// AsZohoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false } -// AsMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsMultiplePipelineTrigger() (*MultiplePipelineTrigger, bool) { +// AsXeroObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsXeroObjectDataset() (*XeroObjectDataset, bool) { return nil, false } -// AsBasicMultiplePipelineTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBasicMultiplePipelineTrigger() (BasicMultiplePipelineTrigger, bool) { +// AsSquareObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSquareObjectDataset() (*SquareObjectDataset, bool) { return nil, false } -// AsTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsTrigger() (*Trigger, bool) { +// AsSparkObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSparkObjectDataset() (*SparkObjectDataset, bool) { return nil, false } -// AsBasicTrigger is the BasicTrigger implementation for TumblingWindowTrigger. -func (twt TumblingWindowTrigger) AsBasicTrigger() (BasicTrigger, bool) { - return &twt, true +// AsShopifyObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsShopifyObjectDataset() (*ShopifyObjectDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for TumblingWindowTrigger struct. -func (twt *TumblingWindowTrigger) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "pipeline": - if v != nil { - var pipeline TriggerPipelineReference - err = json.Unmarshal(*v, &pipeline) - if err != nil { - return err - } - twt.Pipeline = &pipeline - } - case "typeProperties": - if v != nil { - var tumblingWindowTriggerTypeProperties TumblingWindowTriggerTypeProperties - err = json.Unmarshal(*v, &tumblingWindowTriggerTypeProperties) - if err != nil { - return err - } - twt.TumblingWindowTriggerTypeProperties = &tumblingWindowTriggerTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if twt.AdditionalProperties == nil { - twt.AdditionalProperties = make(map[string]interface{}) - } - twt.AdditionalProperties[k] = additionalProperties - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - twt.Description = &description - } - case "runtimeState": - if v != nil { - var runtimeState TriggerRuntimeState - err = json.Unmarshal(*v, &runtimeState) - if err != nil { - return err - } - twt.RuntimeState = runtimeState - } - case "type": - if v != nil { - var typeVar TypeBasicTrigger - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - twt.Type = typeVar - } - } - } +// AsServiceNowObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsServiceNowObjectDataset() (*ServiceNowObjectDataset, bool) { + return nil, false +} - return nil +// AsQuickBooksObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsQuickBooksObjectDataset() (*QuickBooksObjectDataset, bool) { + return nil, false } -// TumblingWindowTriggerTypeProperties tumbling Window Trigger properties. -type TumblingWindowTriggerTypeProperties struct { - // Frequency - The frequency of the time windows. Possible values include: 'TumblingWindowFrequencyMinute', 'TumblingWindowFrequencyHour' - Frequency TumblingWindowFrequency `json:"frequency,omitempty"` - // Interval - The interval of the time windows. The minimum interval allowed is 15 Minutes. - Interval *int32 `json:"interval,omitempty"` - // StartTime - The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. - StartTime *date.Time `json:"startTime,omitempty"` - // EndTime - The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. - EndTime *date.Time `json:"endTime,omitempty"` - // Delay - Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - Delay interface{} `json:"delay,omitempty"` - // MaxConcurrency - The max number of parallel time windows (ready for execution) for which a new run is triggered. - MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` - // RetryPolicy - Retry policy that will be applied for failed pipeline runs. - RetryPolicy *RetryPolicy `json:"retryPolicy,omitempty"` +// AsPrestoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPrestoObjectDataset() (*PrestoObjectDataset, bool) { + return nil, false } -// UntilActivity this activity executes inner activities until the specified boolean expression results to true or -// timeout is reached, whichever is earlier. -type UntilActivity struct { - // UntilActivityTypeProperties - Until activity properties. - *UntilActivityTypeProperties `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"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' - Type TypeBasicActivity `json:"type,omitempty"` +// AsPhoenixObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPhoenixObjectDataset() (*PhoenixObjectDataset, bool) { + return nil, false } -// MarshalJSON is the custom marshaler for UntilActivity. -func (ua UntilActivity) MarshalJSON() ([]byte, error) { - ua.Type = TypeUntil - objectMap := make(map[string]interface{}) - if ua.UntilActivityTypeProperties != nil { - objectMap["typeProperties"] = ua.UntilActivityTypeProperties - } - if ua.Name != nil { - objectMap["name"] = ua.Name - } - if ua.Description != nil { - objectMap["description"] = ua.Description - } - if ua.DependsOn != nil { - objectMap["dependsOn"] = ua.DependsOn - } - objectMap["type"] = ua.Type - for k, v := range ua.AdditionalProperties { - objectMap[k] = v - } - return json.Marshal(objectMap) +// AsPaypalObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsPaypalObjectDataset() (*PaypalObjectDataset, bool) { + return nil, false } -// AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { +// AsMarketoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMarketoObjectDataset() (*MarketoObjectDataset, bool) { return nil, false } -// AsAzureMLUpdateResourceActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureMLUpdateResourceActivity() (*AzureMLUpdateResourceActivity, bool) { +// AsMariaDBTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMariaDBTableDataset() (*MariaDBTableDataset, bool) { return nil, false } -// AsAzureMLBatchExecutionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsAzureMLBatchExecutionActivity() (*AzureMLBatchExecutionActivity, bool) { +// AsMagentoObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMagentoObjectDataset() (*MagentoObjectDataset, bool) { return nil, false } -// AsGetMetadataActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsGetMetadataActivity() (*GetMetadataActivity, bool) { +// AsJiraObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsJiraObjectDataset() (*JiraObjectDataset, bool) { return nil, false } -// AsWebActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsWebActivity() (*WebActivity, bool) { +// AsImpalaObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsImpalaObjectDataset() (*ImpalaObjectDataset, bool) { return nil, false } -// AsLookupActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsLookupActivity() (*LookupActivity, bool) { +// AsHubspotObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHubspotObjectDataset() (*HubspotObjectDataset, bool) { return nil, false } -// AsSQLServerStoredProcedureActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsSQLServerStoredProcedureActivity() (*SQLServerStoredProcedureActivity, bool) { +// AsHiveObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHiveObjectDataset() (*HiveObjectDataset, bool) { return nil, false } -// AsCustomActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsCustomActivity() (*CustomActivity, bool) { +// AsHBaseObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHBaseObjectDataset() (*HBaseObjectDataset, bool) { return nil, false } -// AsExecuteSSISPackageActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecuteSSISPackageActivity() (*ExecuteSSISPackageActivity, bool) { +// AsGreenplumTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsGreenplumTableDataset() (*GreenplumTableDataset, bool) { return nil, false } -// AsHDInsightSparkActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightSparkActivity() (*HDInsightSparkActivity, bool) { +// AsGoogleBigQueryObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsGoogleBigQueryObjectDataset() (*GoogleBigQueryObjectDataset, bool) { return nil, false } -// AsHDInsightStreamingActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightStreamingActivity() (*HDInsightStreamingActivity, bool) { +// AsEloquaObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsEloquaObjectDataset() (*EloquaObjectDataset, bool) { return nil, false } -// AsHDInsightMapReduceActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightMapReduceActivity() (*HDInsightMapReduceActivity, bool) { +// AsDrillTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDrillTableDataset() (*DrillTableDataset, bool) { return nil, false } -// AsHDInsightPigActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightPigActivity() (*HDInsightPigActivity, bool) { +// AsCouchbaseTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCouchbaseTableDataset() (*CouchbaseTableDataset, bool) { return nil, false } -// AsHDInsightHiveActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsHDInsightHiveActivity() (*HDInsightHiveActivity, bool) { +// AsConcurObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsConcurObjectDataset() (*ConcurObjectDataset, bool) { return nil, false } -// AsCopyActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsCopyActivity() (*CopyActivity, bool) { +// AsAzurePostgreSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzurePostgreSQLTableDataset() (*AzurePostgreSQLTableDataset, bool) { return nil, false } -// AsExecutionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecutionActivity() (*ExecutionActivity, bool) { +// AsAmazonMWSObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAmazonMWSObjectDataset() (*AmazonMWSObjectDataset, bool) { return nil, false } -// AsBasicExecutionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) { +// AsHTTPDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsHTTPDataset() (*HTTPDataset, bool) { return nil, false } -// AsUntilActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsUntilActivity() (*UntilActivity, bool) { - return &ua, true +// AsAzureSearchIndexDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSearchIndexDataset() (*AzureSearchIndexDataset, bool) { + return nil, false } -// AsWaitActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsWaitActivity() (*WaitActivity, bool) { +// AsWebTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsWebTableDataset() (*WebTableDataset, bool) { return nil, false } -// AsForEachActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsForEachActivity() (*ForEachActivity, bool) { +// AsSQLServerTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSQLServerTableDataset() (*SQLServerTableDataset, bool) { return nil, false } -// AsIfConditionActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsIfConditionActivity() (*IfConditionActivity, bool) { +// AsSapEccResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapEccResourceDataset() (*SapEccResourceDataset, bool) { return nil, false } -// AsExecutePipelineActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsExecutePipelineActivity() (*ExecutePipelineActivity, bool) { +// AsSapCloudForCustomerResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSapCloudForCustomerResourceDataset() (*SapCloudForCustomerResourceDataset, bool) { return nil, false } -// AsControlActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsControlActivity() (*ControlActivity, bool) { +// AsSalesforceObjectDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsSalesforceObjectDataset() (*SalesforceObjectDataset, bool) { return nil, false } -// AsBasicControlActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsBasicControlActivity() (BasicControlActivity, bool) { - return &ua, true +// AsRelationalTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsRelationalTableDataset() (*RelationalTableDataset, bool) { + return nil, false } -// AsActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsActivity() (*Activity, bool) { +// AsAzureMySQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureMySQLTableDataset() (*AzureMySQLTableDataset, bool) { return nil, false } -// AsBasicActivity is the BasicActivity implementation for UntilActivity. -func (ua UntilActivity) AsBasicActivity() (BasicActivity, bool) { - return &ua, true +// AsOracleTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsOracleTableDataset() (*OracleTableDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for UntilActivity struct. -func (ua *UntilActivity) UnmarshalJSON(body []byte) error { - 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 untilActivityTypeProperties UntilActivityTypeProperties - err = json.Unmarshal(*v, &untilActivityTypeProperties) - if err != nil { - return err - } - ua.UntilActivityTypeProperties = &untilActivityTypeProperties - } - default: - if v != nil { - var additionalProperties interface{} - err = json.Unmarshal(*v, &additionalProperties) - if err != nil { - return err - } - if ua.AdditionalProperties == nil { - ua.AdditionalProperties = make(map[string]interface{}) - } - ua.AdditionalProperties[k] = additionalProperties - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - ua.Name = &name - } - case "description": - if v != nil { - var description string - err = json.Unmarshal(*v, &description) - if err != nil { - return err - } - ua.Description = &description - } - case "dependsOn": - if v != nil { - var dependsOn []ActivityDependency - err = json.Unmarshal(*v, &dependsOn) - if err != nil { - return err - } - ua.DependsOn = &dependsOn - } - case "type": - if v != nil { - var typeVar TypeBasicActivity - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - ua.Type = typeVar - } - } - } +// AsODataResourceDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsODataResourceDataset() (*ODataResourceDataset, bool) { + return nil, false +} - return nil +// AsMongoDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsMongoDbCollectionDataset() (*MongoDbCollectionDataset, bool) { + return nil, false } -// UntilActivityTypeProperties until activity properties. -type UntilActivityTypeProperties struct { - // Expression - An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true - Expression *Expression `json:"expression,omitempty"` - // Timeout - Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - Timeout interface{} `json:"timeout,omitempty"` - // Activities - List of activities to execute. - Activities *[]BasicActivity `json:"activities,omitempty"` +// AsFileShareDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsFileShareDataset() (*FileShareDataset, bool) { + return nil, false } -// UnmarshalJSON is the custom unmarshaler for UntilActivityTypeProperties struct. -func (uatp *UntilActivityTypeProperties) UnmarshalJSON(body []byte) error { - 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 - } - uatp.Expression = &expression - } - case "timeout": - if v != nil { - var timeout interface{} - err = json.Unmarshal(*v, &timeout) - if err != nil { - return err - } - uatp.Timeout = timeout - } - case "activities": - if v != nil { - activities, err := unmarshalBasicActivityArray(*v) - if err != nil { - return err - } - uatp.Activities = &activities - } - } - } +// AsAzureDataLakeStoreDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureDataLakeStoreDataset() (*AzureDataLakeStoreDataset, bool) { + return nil, false +} - return nil +// AsDynamicsEntityDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDynamicsEntityDataset() (*DynamicsEntityDataset, bool) { + return nil, false } -// UpdateIntegrationRuntimeNodeRequest update integration runtime node request. -type UpdateIntegrationRuntimeNodeRequest struct { - // ConcurrentJobsLimit - The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed. - ConcurrentJobsLimit *int32 `json:"concurrentJobsLimit,omitempty"` +// AsDocumentDbCollectionDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDocumentDbCollectionDataset() (*DocumentDbCollectionDataset, bool) { + return nil, false } -// UpdateIntegrationRuntimeRequest update integration runtime request. -type UpdateIntegrationRuntimeRequest struct { - // AutoUpdate - Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: 'On', 'Off' - AutoUpdate IntegrationRuntimeAutoUpdate `json:"autoUpdate,omitempty"` - // UpdateDelayOffset - The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time. - UpdateDelayOffset *string `json:"updateDelayOffset,omitempty"` +// AsCustomDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCustomDataset() (*CustomDataset, bool) { + return nil, false +} + +// AsCassandraTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsCassandraTableDataset() (*CassandraTableDataset, bool) { + return nil, false +} + +// AsAzureSQLDWTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSQLDWTableDataset() (*AzureSQLDWTableDataset, bool) { + return nil, false +} + +// AsAzureSQLTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureSQLTableDataset() (*AzureSQLTableDataset, bool) { + return nil, false +} + +// AsAzureTableDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureTableDataset() (*AzureTableDataset, bool) { + return nil, false +} + +// AsAzureBlobDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAzureBlobDataset() (*AzureBlobDataset, bool) { + return nil, false +} + +// AsAmazonS3Dataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsAmazonS3Dataset() (*AmazonS3Dataset, bool) { + return nil, false +} + +// AsDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsDataset() (*Dataset, bool) { + return nil, false +} + +// AsBasicDataset is the BasicDataset implementation for VerticaTableDataset. +func (vtd VerticaTableDataset) AsBasicDataset() (BasicDataset, bool) { + return &vtd, true } // WaitActivity this activity suspends pipeline execution for the specified interval. @@ -76585,7 +84332,7 @@ type WaitActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -76612,6 +84359,11 @@ func (wa WaitActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WaitActivity. func (wa WaitActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -76697,6 +84449,11 @@ func (wa WaitActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) return nil, false } +// AsFilterActivity is the BasicActivity implementation for WaitActivity. +func (wa WaitActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for WaitActivity. func (wa WaitActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -76836,7 +84593,7 @@ type WebActivity struct { Description *string `json:"description,omitempty"` // DependsOn - Activity depends on condition. DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` - // Type - Possible values include: 'TypeActivity', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' + // Type - Possible values include: 'TypeActivity', 'TypeDatabricksNotebook', 'TypeDataLakeAnalyticsUSQL', 'TypeAzureMLUpdateResource', 'TypeAzureMLBatchExecution', 'TypeGetMetadata', 'TypeWebActivity', 'TypeLookup', 'TypeSQLServerStoredProcedure', 'TypeCustom', 'TypeExecuteSSISPackage', 'TypeHDInsightSpark', 'TypeHDInsightStreaming', 'TypeHDInsightMapReduce', 'TypeHDInsightPig', 'TypeHDInsightHive', 'TypeCopy', 'TypeExecution', 'TypeFilter', 'TypeUntil', 'TypeWait', 'TypeForEach', 'TypeIfCondition', 'TypeExecutePipeline', 'TypeContainer' Type TypeBasicActivity `json:"type,omitempty"` } @@ -76869,6 +84626,11 @@ func (wa WebActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsDatabricksNotebookActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsDatabricksNotebookActivity() (*DatabricksNotebookActivity, bool) { + return nil, false +} + // AsDataLakeAnalyticsUSQLActivity is the BasicActivity implementation for WebActivity. func (wa WebActivity) AsDataLakeAnalyticsUSQLActivity() (*DataLakeAnalyticsUSQLActivity, bool) { return nil, false @@ -76954,6 +84716,11 @@ func (wa WebActivity) AsBasicExecutionActivity() (BasicExecutionActivity, bool) return &wa, true } +// AsFilterActivity is the BasicActivity implementation for WebActivity. +func (wa WebActivity) AsFilterActivity() (*FilterActivity, bool) { + return nil, false +} + // AsUntilActivity is the BasicActivity implementation for WebActivity. func (wa WebActivity) AsUntilActivity() (*UntilActivity, bool) { return nil, false @@ -77091,7 +84858,7 @@ func (wa *WebActivity) UnmarshalJSON(body []byte) error { // WebActivityAuthentication web activity authentication properties. type WebActivityAuthentication struct { - // Type - Web activity authentication (Basic/ClientCertificate) + // Type - Web activity authentication (Basic/ClientCertificate/MSI) Type *string `json:"type,omitempty"` // Pfx - Base64-encoded contents of a PFX file. Pfx *SecureString `json:"pfx,omitempty"` @@ -77099,11 +84866,13 @@ type WebActivityAuthentication struct { Username *string `json:"username,omitempty"` // Password - Password for the PFX file or basic authentication. Password *SecureString `json:"password,omitempty"` + // Resource - Resource for which Azure Auth token will be requested when using MSI Authentication. + Resource *string `json:"resource,omitempty"` } // WebActivityTypeProperties web activity type properties. type WebActivityTypeProperties struct { - // Method - Rest API method for target endpoint. Possible values include: 'GET', 'POST', 'PUT' + // Method - Rest API method for target endpoint. Possible values include: 'GET', 'POST', 'PUT', 'DELETE' Method WebActivityMethod `json:"method,omitempty"` // URL - Web activity target endpoint and path. Type: string (or Expression with resultType string). URL interface{} `json:"url,omitempty"` @@ -77369,7 +85138,11 @@ type WebLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -77384,6 +85157,12 @@ func (wls WebLinkedService) MarshalJSON() ([]byte, error) { if wls.Description != nil { objectMap["description"] = wls.Description } + if wls.Parameters != nil { + objectMap["parameters"] = wls.Parameters + } + if wls.Annotations != nil { + objectMap["annotations"] = wls.Annotations + } objectMap["type"] = wls.Type for k, v := range wls.AdditionalProperties { objectMap[k] = v @@ -77391,6 +85170,11 @@ func (wls WebLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -77401,6 +85185,16 @@ func (wls WebLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDema return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for WebLinkedService. +func (wls WebLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for WebLinkedService. func (wls WebLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -77773,6 +85567,24 @@ func (wls *WebLinkedService) UnmarshalJSON(body []byte) error { } wls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + wls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + wls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -77893,7 +85705,7 @@ type WebSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -77915,6 +85727,16 @@ func (ws WebSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for WebSource. +func (ws WebSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for WebSource. func (ws WebSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -78164,7 +85986,9 @@ type WebTableDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -78185,6 +86009,9 @@ func (wtd WebTableDataset) MarshalJSON() ([]byte, error) { if wtd.Parameters != nil { objectMap["parameters"] = wtd.Parameters } + if wtd.Annotations != nil { + objectMap["annotations"] = wtd.Annotations + } objectMap["type"] = wtd.Type for k, v := range wtd.AdditionalProperties { objectMap[k] = v @@ -78192,6 +86019,16 @@ func (wtd WebTableDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for WebTableDataset. +func (wtd WebTableDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for WebTableDataset. func (wtd WebTableDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -78513,6 +86350,15 @@ func (wtd *WebTableDataset) UnmarshalJSON(body []byte) error { } wtd.Parameters = parameters } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + wtd.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicDataset @@ -78546,7 +86392,11 @@ type XeroLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -78563,6 +86413,12 @@ func (xls XeroLinkedService) MarshalJSON() ([]byte, error) { if xls.Description != nil { objectMap["description"] = xls.Description } + if xls.Parameters != nil { + objectMap["parameters"] = xls.Parameters + } + if xls.Annotations != nil { + objectMap["annotations"] = xls.Annotations + } objectMap["type"] = xls.Type for k, v := range xls.AdditionalProperties { objectMap[k] = v @@ -78570,6 +86426,11 @@ func (xls XeroLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -78580,6 +86441,16 @@ func (xls XeroLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for XeroLinkedService. +func (xls XeroLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for XeroLinkedService. func (xls XeroLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return nil, false @@ -78953,6 +86824,24 @@ func (xls *XeroLinkedService) UnmarshalJSON(body []byte) error { } xls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + xls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + xls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -79075,7 +86964,9 @@ type XeroObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -79093,6 +86984,9 @@ func (xod XeroObjectDataset) MarshalJSON() ([]byte, error) { if xod.Parameters != nil { objectMap["parameters"] = xod.Parameters } + if xod.Annotations != nil { + objectMap["annotations"] = xod.Annotations + } objectMap["type"] = xod.Type for k, v := range xod.AdditionalProperties { objectMap[k] = v @@ -79100,6 +86994,16 @@ func (xod XeroObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for XeroObjectDataset. +func (xod XeroObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for XeroObjectDataset. func (xod XeroObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return nil, false @@ -79365,7 +87269,7 @@ type XeroSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -79388,6 +87292,16 @@ func (xs XeroSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for XeroSource. +func (xs XeroSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for XeroSource. func (xs XeroSource) AsZohoSource() (*ZohoSource, bool) { return nil, false @@ -79633,7 +87547,11 @@ type ZohoLinkedService struct { ConnectVia *IntegrationRuntimeReference `json:"connectVia,omitempty"` // Description - Linked service description. Description *string `json:"description,omitempty"` - // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' + // Parameters - Parameters for linked service. + Parameters map[string]*ParameterSpecification `json:"parameters"` + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeLinkedService', 'TypeAzureDatabricks', 'TypeAzureDataLakeAnalytics', 'TypeHDInsightOnDemand', 'TypeNetezza', 'TypeVertica', 'TypeZoho', 'TypeXero', 'TypeSquare', 'TypeSpark', 'TypeShopify', 'TypeServiceNow', 'TypeQuickBooks', 'TypePresto', 'TypePhoenix', 'TypePaypal', 'TypeMarketo', 'TypeMariaDB', 'TypeMagento', 'TypeJira', 'TypeImpala', 'TypeHubspot', 'TypeHive', 'TypeHBase', 'TypeGreenplum', 'TypeGoogleBigQuery', 'TypeEloqua', 'TypeDrill', 'TypeCouchbase', 'TypeConcur', 'TypeAzurePostgreSQL', 'TypeAmazonMWS', 'TypeSapHana', 'TypeSapBW', 'TypeSftp', 'TypeFtpServer', 'TypeHTTPServer', 'TypeAzureSearch', 'TypeCustomDataSource', 'TypeAmazonRedshift', 'TypeAmazonS3', 'TypeSapEcc', 'TypeSapCloudForCustomer', 'TypeSalesforce', 'TypeAzureDataLakeStore', 'TypeMongoDb', 'TypeCassandra', 'TypeWeb', 'TypeOData', 'TypeHdfs', 'TypeOdbc', 'TypeAzureML', 'TypeTeradata', 'TypeDb2', 'TypeSybase', 'TypePostgreSQL', 'TypeMySQL', 'TypeAzureMySQL', 'TypeOracle', 'TypeFileServer', 'TypeHDInsight', 'TypeDynamics', 'TypeCosmosDb', 'TypeAzureKeyVault', 'TypeAzureBatch', 'TypeAzureSQLDatabase', 'TypeSQLServer', 'TypeAzureSQLDW', 'TypeAzureStorage' Type TypeBasicLinkedService `json:"type,omitempty"` } @@ -79650,6 +87568,12 @@ func (zls ZohoLinkedService) MarshalJSON() ([]byte, error) { if zls.Description != nil { objectMap["description"] = zls.Description } + if zls.Parameters != nil { + objectMap["parameters"] = zls.Parameters + } + if zls.Annotations != nil { + objectMap["annotations"] = zls.Annotations + } objectMap["type"] = zls.Type for k, v := range zls.AdditionalProperties { objectMap[k] = v @@ -79657,6 +87581,11 @@ func (zls ZohoLinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsAzureDatabricksLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsAzureDatabricksLinkedService() (*AzureDatabricksLinkedService, bool) { + return nil, false +} + // AsAzureDataLakeAnalyticsLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsAzureDataLakeAnalyticsLinkedService() (*AzureDataLakeAnalyticsLinkedService, bool) { return nil, false @@ -79667,6 +87596,16 @@ func (zls ZohoLinkedService) AsHDInsightOnDemandLinkedService() (*HDInsightOnDem return nil, false } +// AsNetezzaLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsNetezzaLinkedService() (*NetezzaLinkedService, bool) { + return nil, false +} + +// AsVerticaLinkedService is the BasicLinkedService implementation for ZohoLinkedService. +func (zls ZohoLinkedService) AsVerticaLinkedService() (*VerticaLinkedService, bool) { + return nil, false +} + // AsZohoLinkedService is the BasicLinkedService implementation for ZohoLinkedService. func (zls ZohoLinkedService) AsZohoLinkedService() (*ZohoLinkedService, bool) { return &zls, true @@ -80040,6 +87979,24 @@ func (zls *ZohoLinkedService) UnmarshalJSON(body []byte) error { } zls.Description = &description } + case "parameters": + if v != nil { + var parameters map[string]*ParameterSpecification + err = json.Unmarshal(*v, ¶meters) + if err != nil { + return err + } + zls.Parameters = parameters + } + case "annotations": + if v != nil { + var annotations []interface{} + err = json.Unmarshal(*v, &annotations) + if err != nil { + return err + } + zls.Annotations = &annotations + } case "type": if v != nil { var typeVar TypeBasicLinkedService @@ -80151,7 +88108,9 @@ type ZohoObjectDataset struct { LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` // Parameters - Parameters for dataset. Parameters map[string]*ParameterSpecification `json:"parameters"` - // Type - Possible values include: 'TypeDataset', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' + // Annotations - List of tags that can be used for describing the Dataset. + Annotations *[]interface{} `json:"annotations,omitempty"` + // Type - Possible values include: 'TypeDataset', 'TypeVerticaTable', 'TypeNetezzaTable', 'TypeZohoObject', 'TypeXeroObject', 'TypeSquareObject', 'TypeSparkObject', 'TypeShopifyObject', 'TypeServiceNowObject', 'TypeQuickBooksObject', 'TypePrestoObject', 'TypePhoenixObject', 'TypePaypalObject', 'TypeMarketoObject', 'TypeMariaDBTable', 'TypeMagentoObject', 'TypeJiraObject', 'TypeImpalaObject', 'TypeHubspotObject', 'TypeHiveObject', 'TypeHBaseObject', 'TypeGreenplumTable', 'TypeGoogleBigQueryObject', 'TypeEloquaObject', 'TypeDrillTable', 'TypeCouchbaseTable', 'TypeConcurObject', 'TypeAzurePostgreSQLTable', 'TypeAmazonMWSObject', 'TypeHTTPFile', 'TypeAzureSearchIndex', 'TypeWebTable', 'TypeSQLServerTable', 'TypeSapEccResource', 'TypeSapCloudForCustomerResource', 'TypeSalesforceObject', 'TypeRelationalTable', 'TypeAzureMySQLTable', 'TypeOracleTable', 'TypeODataResource', 'TypeMongoDbCollection', 'TypeFileShare', 'TypeAzureDataLakeStoreFile', 'TypeDynamicsEntity', 'TypeDocumentDbCollection', 'TypeCustomDataset', 'TypeCassandraTable', 'TypeAzureSQLDWTable', 'TypeAzureSQLTable', 'TypeAzureTable', 'TypeAzureBlob', 'TypeAmazonS3Object' Type TypeBasicDataset `json:"type,omitempty"` } @@ -80169,6 +88128,9 @@ func (zod ZohoObjectDataset) MarshalJSON() ([]byte, error) { if zod.Parameters != nil { objectMap["parameters"] = zod.Parameters } + if zod.Annotations != nil { + objectMap["annotations"] = zod.Annotations + } objectMap["type"] = zod.Type for k, v := range zod.AdditionalProperties { objectMap[k] = v @@ -80176,6 +88138,16 @@ func (zod ZohoObjectDataset) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// AsVerticaTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsVerticaTableDataset() (*VerticaTableDataset, bool) { + return nil, false +} + +// AsNetezzaTableDataset is the BasicDataset implementation for ZohoObjectDataset. +func (zod ZohoObjectDataset) AsNetezzaTableDataset() (*NetezzaTableDataset, bool) { + return nil, false +} + // AsZohoObjectDataset is the BasicDataset implementation for ZohoObjectDataset. func (zod ZohoObjectDataset) AsZohoObjectDataset() (*ZohoObjectDataset, bool) { return &zod, true @@ -80441,7 +88413,7 @@ type ZohoSource struct { 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"` - // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' + // Type - Possible values include: 'TypeCopySource', 'TypeAmazonRedshiftSource', 'TypeVerticaSource', 'TypeNetezzaSource', 'TypeZohoSource', 'TypeXeroSource', 'TypeSquareSource', 'TypeSparkSource', 'TypeShopifySource', 'TypeServiceNowSource', 'TypeQuickBooksSource', 'TypePrestoSource', 'TypePhoenixSource', 'TypePaypalSource', 'TypeMarketoSource', 'TypeMariaDBSource', 'TypeMagentoSource', 'TypeJiraSource', 'TypeImpalaSource', 'TypeHubspotSource', 'TypeHiveSource', 'TypeHBaseSource', 'TypeGreenplumSource', 'TypeGoogleBigQuerySource', 'TypeEloquaSource', 'TypeDrillSource', 'TypeCouchbaseSource', 'TypeConcurSource', 'TypeAzurePostgreSQLSource', 'TypeAmazonMWSSource', 'TypeHTTPSource', 'TypeAzureDataLakeStoreSource', 'TypeMongoDbSource', 'TypeCassandraSource', 'TypeWebSource', 'TypeOracleSource', 'TypeAzureMySQLSource', 'TypeHdfsSource', 'TypeFileSystemSource', 'TypeSQLDWSource', 'TypeSQLSource', 'TypeSapEccSource', 'TypeSapCloudForCustomerSource', 'TypeSalesforceSource', 'TypeRelationalSource', 'TypeDynamicsSource', 'TypeDocumentDbCollectionSource', 'TypeBlobSource', 'TypeAzureTableSource' Type TypeBasicCopySource `json:"type,omitempty"` } @@ -80464,6 +88436,16 @@ func (zs ZohoSource) AsAmazonRedshiftSource() (*AmazonRedshiftSource, bool) { return nil, false } +// AsVerticaSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsVerticaSource() (*VerticaSource, bool) { + return nil, false +} + +// AsNetezzaSource is the BasicCopySource implementation for ZohoSource. +func (zs ZohoSource) AsNetezzaSource() (*NetezzaSource, bool) { + return nil, false +} + // AsZohoSource is the BasicCopySource implementation for ZohoSource. func (zs ZohoSource) AsZohoSource() (*ZohoSource, bool) { return &zs, true diff --git a/services/datafactory/mgmt/2017-09-01-preview/datafactory/version.go b/services/datafactory/mgmt/2017-09-01-preview/datafactory/version.go index 13ce2e7bc0d7..829aa840d8bc 100644 --- a/services/datafactory/mgmt/2017-09-01-preview/datafactory/version.go +++ b/services/datafactory/mgmt/2017-09-01-preview/datafactory/version.go @@ -1,7 +1,5 @@ package datafactory -import "github.com/Azure/azure-sdk-for-go/version" - // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " datafactory/2017-09-01-preview" + return "Azure-SDK-For-Go/latest services" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return version.Number + return "latest" }